need to know what the code should be for this

  • Posts: 217
  • Thank you received: 1
10 years 6 months ago #154048

Hi,

I am using the latest version of hikashop.

In the version I was using, this code worked.

$cartClass = hikashop_get('class.cart');
$cart = $cartClass->loadFullCart();

What should I do in the latest version?

Thanks,

Mat

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

  • Posts: 12953
  • Thank you received: 1778
10 years 6 months ago #154069

Hello Mat,
I just tested that code through the last version of Hikashop and it worked fine, so can you tell me where/how/why do you want to use that code ?
Thanks.

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

  • Posts: 217
  • Thank you received: 1
10 years 6 months ago #154626

This is the error I am getting. What am I missing?
Fatal error: Call to undefined function hikashop_get()

Last edit: 10 years 6 months ago by Mat.

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

  • Posts: 13201
  • Thank you received: 2322
10 years 6 months ago #154642

Hi,

Thanks to answer to the question previously asked:

so can you tell me where/how/why do you want to use that code ?

Else it will be very difficult for us to help you.

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

Time to create page: 0.078 seconds
Powered by Kunena Forum