Skip to main content

Get access to cart contents in the step view

More
14 years 2 months ago #59692 by mohamed
I am editing the step.php file and I need access to the content of the cart for checking a few things. Is there a way I can do that?

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

More
14 years 2 months ago #59746 by nicolas
You can do like that:
$cartClass = hikashop_get('class.cart');
$cart = $cartClass->loadFullCart();
var_dump($cart);

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

Time to create page: 0.169 seconds
Powered by Kunena Forum