Radio Button - Add item to Cart

General ShopSite user discussion

Radio Button - Add item to Cart

Postby Kennedy » Tue Jun 14, 2011 1:32 pm

Greetings,

Here is what I'm trying to do.

We require that the customer choose whether they want a signature required for their delivery or not. Those that do are charged for this service (by adding an item to the shopping cart). I'm trying to have a radio button option on my shopping cart page that will, when either is clicked, add the item# from products for 'signature required on delivery', and (if present) remove the item 'no signature required on delivery' from the cart. Then vise versa for the other radio button. I'd also like to have this be a required choice before proceeding to checkout. I currently have it configured through custom field03 and field04 but it does not affect the shopping cart and thus the total the customer sees at checkout. I'm looking into javascript radio button onclick form actions, but if anyone else has had a similar experience, I'd prefer to not have to recreate the wheel.
Thanks!
Kennedy
 
Posts: 33
Joined: Fri Jun 10, 2011 6:18 am

Re: Radio Button - Add item to Cart

Postby ShopSite Lauren » Tue Jun 14, 2011 1:37 pm

I would try using the surcharge feature rather than adding/removing a product. The surcharge feature is a pull down menu by default, but you can modify the cart template to NOT add the surcharge pull down menu, then you can hard code radio buttons with the same input information as what the surcharge pull down menu typically has.
http://www.shopsite.com/help/11.0/en-US/sc/pro/surcharge.html
- ShopSite Lauren
Contact me for help with any of your
custom ShopSite template questions.
ShopSite Lauren
 
Posts: 889
Joined: Fri Aug 11, 2006 1:35 pm
Location: Orem, UT

Re: Radio Button - Add item to Cart

Postby Kennedy » Wed Jun 15, 2011 7:38 am

Thank you for the response. I have set that up and it works as it should. I guess I'm just wanting something a little different to interface with our current process / software more like the way it does now, without having to retrain the entire warehouse staff on order processing.

I will look into the xml data transfer and see if I can map the surcharge on shopsite to the appropriate item number in our system. Seems like that might be where I can do more than on the site with javascript.
Kennedy
 
Posts: 33
Joined: Fri Jun 10, 2011 6:18 am


Return to User Forum

Who is online

Users browsing this forum: No registered users and 73 guests