Get access to cart contents in the step view

  • Posts: 44
  • Thank you received: 0
12 years 3 months ago #59692

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.

  • Posts: 82819
  • Thank you received: 13366
  • MODERATOR
12 years 3 months ago #59746

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.050 seconds
Powered by Kunena Forum