SMFHacks.com
** Home Forum Index Hacks Products Login Register Search
Welcome, Guest. Please login or register.
May 24, 2012, 07:00:56 am

Login with username, password and session length
Members
Total Members: 10071
Latest: cdavidson012
Stats
Total Posts: 28686
Total Topics: 4977
Online Today: 55
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 2
Guests: 53
Total: 55
+ 
|-+ 
| |-+ 
| | |-+ 
| | | |-+ 
0 Members and 2 Guests are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: customer to view cart?  (Read 1241 times)
smccuen
Newbie
*
Offline Offline

Posts: 6


View Profile
« 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
« Last Edit: February 26, 2009, 11:20:51 am by smccuen » Logged
smccuen
Newbie
*
Offline Offline

Posts: 6


View Profile
« Reply #1 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().
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9678


View Profile
« Reply #2 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.
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Recent
[Today at 04:11:41 am]

[Today at 12:16:16 am]

[May 21, 2012, 08:54:11 am]

[May 20, 2012, 11:06:52 am]

[May 20, 2012, 05:58:11 am]

[May 19, 2012, 06:16:58 pm]

[May 19, 2012, 05:42:37 pm]

[May 18, 2012, 03:08:38 pm]

[May 17, 2012, 06:07:46 pm]

[May 17, 2012, 02:22:07 pm]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Powered by SMF 1.1.16 | SMF © 2006-2011, Simple Machines LLC
TinyPortal v0.9.7 © Bloc
SMF and SimpleMachines are registered trademarks of Simple Machines. SMFHacks.com is not affiliated with nor endorsed by Simple Machines.
Page created in 0.203 seconds with 18 queries.