Hi everybody, Hi Nicolas!
Got this problem... from this code:
$cartClass = hikashop::get('class.cart');
if(!($cartClass->hasCart())){
$cartClass->initCart();
}
$currentCartId = $cartClass->cart->cart_id;
Well, if I have to instance a new cart, entering the IF clause, I get an ID (for example: 230)
while if a Cart already exist, for example the second time I add a product to the cart i created before, I get the ID + 1 (for example: 231).
From the third time on I get always the "right" ID that is the same as the second (for example: 231)
Any ideas??!
Cheers