Jump to content

 

Triplets

Member Since 23 Sep 2008
Online Last Active Today, 10:28 PM
-----

Topics I've Started

Developers Still Using Old Version Internally

22 March 2018 - 03:45 PM

I find it odd that the cs-cart and developers are constantly encouraging people to use the latest version; mainly because it keeps generating new revenue and work, but when you look at the official cs-cart site and many developers web sites they are still on old, and sometimes very old, versions of cs-cart.

 

I visited many of the developers sites, yes I was bored today, I realized cs-cart's official site is using version 2.21. Many developers are still using 2.21, 4.3, 4.4, .etc.

 

Kind of hypocritical.

 

David


Help Needed. Service Unavailable - Uncaught Exception

12 February 2018 - 04:50 PM

We are randomly and intermittently getting the following error on our home page using cs-cart 4.5.2SP2.

 

Any suggestions?  I have no idea what Pimple is or what it is used for.  Refreshing the page [F5] always gets rid of the error.

 

<!--
 
PHP Fatal Error
 
Message
Uncaught exception 'InvalidArgumentException' with message 'Identifier "view" is not defined.' in /home/homescho/public_html/app/lib/vendor/pimple/pimple/src/Pimple/Container.php:95
Stack trace:
#0 /home/homescho/public_html/app/Tygh/Registry.php(104): Pimple\Container->offsetGet('view')
#1 /home/homescho/public_html/app/functions/fn.cart.php(3340): Tygh\Registry::get('view')
#2 /home/homescho/public_html/app/functions/fn.cart.php(1661): fn_calculate_cart_content(Array, Array, 'S', false, 'I', false)
#3 /home/homescho/public_html/app/functions/fn.users.php(1354): fn_extract_cart_content(Array, '2', 'C')
#4 /home/homescho/public_html/app/functions/fn.users.php(2523): fn_init_user_session_data(Object(Tygh\Web\Session), '2')
#5 /home/homescho/public_html/app/functions/fn.init.php(590): fn_login_user('2')
#6 [internal function]: fn_init_user()
#7 /home/homescho/public_html/app/functions/fn.init.php(996): call_user_func_array('fn_init_user', Array)
#8 /home/homescho/public_html/init.php(150): fn_init(Array)
#9 /ho
 
Error at
app/lib/vendor/pimple/pimple/src/Pimple/Container.php, line: 95
 
Backtrace
 

--> 


Google E-Commerce Analytics?

15 January 2018 - 11:33 PM

We have analytics set up but the e-commerce part is apparently showing stats on what is SHIPPED and not on the orders as they are placed. We definitely want this set up so that it records the SALE, not the shipment. Any hints on what to modify to make this happen?
 
Thanks,
David

Inventory And Abandoned Carts?

03 November 2017 - 12:40 AM

Can someone please explain what happens to inventory items if the cart is abandoned.  I assume it is held for a certain period?

 

Also, how does  Allow negative amount in inventory setting  affect this?


Shipment Api Working Intermittently?

27 October 2017 - 05:06 PM

I'm using the following PHP code:

 

$params = array(
'carrier' => $carrier,
'order_id' => $order_id,
'shipping_id' => $row_order['shipping_ids'],
'products' => $product_array,
'tracking_number' => $tracking_number,
'comments' => $comments
);  
 
$shipment = $cscartapi->create("shipments/", $params);
 
Example $params is:
 
(
    [carrier] => usps
    [order_id] => 133678
    [shipping_id] => 8
    [products] => Array
        (
            [2115529782] => 1
        )
 
    [tracking_number] => XXXXXX361037XXX
    [comments] => 
)
 
The problem is most of the time when the shipment is created the product is not added to the shipment in cs-cart. Interestingly, if I delete the shipment and run the same script again, the product is added to the new shipment. Why intermittent the first time? Same script.
 
 
 
David