Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 12404
Latest: azaratir
New This Month: 10
New This Week: 0
New Today: 0
Stats
Total Posts: 39925
Total Topics: 7028
Most Online Today: 30
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 31
Total: 31

Author Topic: customer to view cart?  (Read 2657 times)

0 Members and 1 Guest are viewing this topic.

Offline smccuen

  • Newbie
  • *
  • Posts: 6
    • View Profile
customer to view cart?
« 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 »

Offline smccuen

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: customer to view cart?
« 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().

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14969
    • View Profile
Re: customer to view cart?
« 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.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

 

Related Topics

  Subject / Started by Replies Last post
2 Replies
3405 Views
Last post January 13, 2007, 10:06:05 am
by SMFHacks
2 Replies
4741 Views
Last post August 13, 2007, 07:20:48 am
by SMFHacks
1 Replies
3893 Views
Last post November 16, 2008, 07:09:15 pm
by SMFHacks
10 Replies
1675 Views
Last post February 05, 2018, 05:48:10 am
by TKO-100
3 Replies
481 Views
Last post February 04, 2019, 04:47:38 pm
by SMFHacks

+- Recent Topics

Update detect mobile mode PHP5 to PHP7 by Rock Lee
November 16, 2019, 07:18:13 pm

PHP error by davejo
November 12, 2019, 12:09:47 pm

Message Editor Pro Issues by SMFHacks
November 06, 2019, 09:58:33 pm

most popular categories doesnt work by fussilet
November 02, 2019, 02:51:42 pm

Change colors of Halloween theme by SMFHacks
October 24, 2019, 11:44:59 am

prettyurls - TroubleShooting.wiki by Rock Lee
October 10, 2019, 11:37:09 am

Some issues with adding and editing a listing by ajac63
October 07, 2019, 04:16:40 am

Problem update 1.1.21 to 2.0.15 by Rock Lee
October 06, 2019, 06:09:16 pm

[Mod]SMF 2.0.x PHP 7.2 Support by sah62
October 04, 2019, 01:46:00 pm

Ideas by shuban
October 03, 2019, 10:19:06 pm

Powered by EzPortal