I have a new Umbraco installation and have too many cart objects created. I have the site running for 2 days and the cart id is "CART-17266". Any ideas? Shouldn't those be cleared if empty after couple of hours?
I have Umbraco v6.2.4 and Tea Commerce v2.3.2 installed.
You can change the number in the DB at the store. BUT some payment gateways only want to see the same cart number ones else it will cancel the payment.
Too many cart objects created
I have a new Umbraco installation and have too many cart objects created. I have the site running for 2 days and the cart id is "CART-17266". Any ideas? Shouldn't those be cleared if empty after couple of hours?
I have Umbraco v6.2.4 and Tea Commerce v2.3.2 installed.
Thank you in advance, Spyros.
If you dont use the autoCreate = false then an order will be created all the time. So if you have a mini cart and you just use GetCurrentOrder - then everyone that looks at the page will get a cart.
http://documentation.teacommerce.net/razor-api/order/getcurrentorder/
Kind regards
Anders
Excellent! That was exactly the problem... I simply changed the code at the mini cart to:
and everything seems to be working fine now!
Do you know if there is any way to reset the order and cart auto increment number?
You can change the number in the DB at the store. BUT some payment gateways only want to see the same cart number ones else it will cancel the payment.
Thanks... I don't have any orders yet! :)
is working on a reply...