Menu Selection Not Forcing User to Select Option

Questions and answers about ShopSite Custom Templates

Menu Selection Not Forcing User to Select Option

Postby accrete » Mon Dec 03, 2012 8:45 pm

According to this page: http://shopsite.com/help/current/en-US/sc/pro/index.htm?page=/help/current/en-US/sc/pro/advanced.ordering.options.html if you put ;n at the end of the item (Select Product;n) it is supposed to force the user to make a selection. It is not working on the site I am developing with Manager. Why?

Code: Select all
Select Product;n
No dartboard - GDGS-007
With dartboard $58.00 extra - GDGS-008;+58


It added the extra $ to the cart fine but it's not forcing a selection.

2nd problem:
This item is also personalized. It's not forcing the user to enter text in the textbox provided. How do you do that?
accrete
 
Posts: 11
Joined: Sat Nov 10, 2012 11:05 pm

Re: Menu Selection Not Forcing User to Select Option

Postby Jim » Mon Dec 03, 2012 10:39 pm

The ;n only prevents people from checking out without making an menu choice. They can still add the item to the cart but will be unable to completely checkout.

There is no built in way to force the text field to be filled in. You might be able to craft some javascript that would check the selected option and if it is one that requires text to be entered not let the shopper check out. There is sample code in forum post for checking some shopping cart parameters but I don't remember anything specific to the text field. Do a search in the forum and see if you can see something that might work for you. Or you could contact some of the 3rd party developers to see if they have anything or could create something for you. See http://www.shopsite.com/developer.html or possibly a certified designer could help http://www.shopsite.com/csd.html.
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Re: Menu Selection Not Forcing User to Select Option

Postby accrete » Mon Dec 03, 2012 11:37 pm

Since posting this I have been playing.

The "You didn't make a selection" type message is only showing up if one updates the checkout page. I can see that can be a problem if they placed a number of such items in the cart. It's not clear which one. I was looking for a check before proceeding type of thing.
accrete
 
Posts: 11
Joined: Sat Nov 10, 2012 11:05 pm

Re: Menu Selection Not Forcing User to Select Option

Postby Jim » Tue Dec 04, 2012 5:35 am

What version of ShopSite are you using? In my ShopSite Pro 11sp2r4 any options that are not selected are highlighted in red when I try to checkout without making a selection.
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Re: Menu Selection Not Forcing User to Select Option

Postby accrete » Tue Dec 04, 2012 9:26 am

The site is using Manager version.
accrete
 
Posts: 11
Joined: Sat Nov 10, 2012 11:05 pm

Re: Menu Selection Not Forcing User to Select Option

Postby Jim » Tue Dec 04, 2012 1:04 pm

Even in a Manager store if it is running ShopSite 11sp2r4 it will have the required fields shaded with a light red if the shopper tries to checkout without making a selection.

You can find the version of ShopSite that your store is using by clicking on the ShopSite above the nav bar in the backoffice and then looking in the footer of the page for something like "ShopSite® Manager 11 sp2 r4.3, StoreID: sp2man". If it doesn't say 11 sp2 r4.x you should have your store upgraded to that version.
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Re: Menu Selection Not Forcing User to Select Option

Postby accrete » Tue Dec 04, 2012 1:49 pm

ShopSite® Manager 11 sp2 r4

I will send you a sample url via PM as the site is not ready for public viewing yet.
accrete
 
Posts: 11
Joined: Sat Nov 10, 2012 11:05 pm


Return to Custom Template Questions

Who is online

Users browsing this forum: Google [Bot] and 12 guests

cron