Skip to main content

How do I get the cart's token?

More
14 years 7 months ago #38376 by Mat
Hi there,

Is there a way to get the user's cart token? A small php snippet that I can put in my index.php and refer to?

Mat

Please Log in or Create an account to join the conversation.

More
14 years 7 months ago #38492 by nicolas
Hi,

Like that:
Code:
$cartClass = hikashop_get('class.cart'); $cartClass->loadCart(); echo $cartClass->cart->cart_id;

Please Log in or Create an account to join the conversation.

Time to create page: 0.148 seconds
Powered by Kunena Forum