SMFHacks.com

SMF Store => Support => Topic started by: smccuen on February 26, 2009, 09:49:33 am

Title: customer to view cart?
Post by: smccuen on February 26, 2009, 09:49:33 am
In testing the store, one of my test customers asked they are supposed to get to the shopping cart to view the contents without having to add an item, and then delete that item.

Maybe missed it , but how have others added a "view cart" link within the store?

I'm using v1.3
Title: Re: customer to view cart?
Post by: smccuen on February 26, 2009, 10:10:25 pm
Even though I had the "Use Shopping Cart" selected, and it showed up as selected on the configuration page, it didn't work.

Fragment from rendered html that was showing it came from the correct place.
input type="checkbox" name="store_set_shoppingcart"  checked="checked"  />Use Shopping Cart<br />

I ended up getting around it by commenting out line 5971 in Store.php.
//   if ($modSettings['store_set_shoppingcart'] == 1)

"View Shopping Cart" always shows up now on my StoreUserTabs().
Title: Re: customer to view cart?
Post by: SMFHacks on February 26, 2009, 11:21:21 pm
Found the issue fixed for the next update this weekend.
Missing a global variable $modSettings in the list.