Custom product input fields that need to be passed to cart

General ShopSite user discussion

Custom product input fields that need to be passed to cart

Postby brehg » Thu Jul 17, 2008 2:46 pm

I have created a custom template that uses my own drop down boxes with javascript to create a variable price. This works great so far. But the information that is selected in the dropdown boxes is not passed to the shopping cart for the merchant to see. I cant use the simple optional dropdown boxes that shopsite creates for this. Is there any way to pass custom input values to the shopping cart? I just need to to display the values for the merchant to view. Or is thier a way to store the info in the database?

The user needs to select the lenght, width and height of the product and those values are used to figure the price. I need to pass this information somehow to the merchant in the shopping cart or order form so they know which product to ship. The material can be from 1" to 100 os of feet so I can't
create a product for every possible length, width and height.
brehg
 
Posts: 14
Joined: Sun Jul 06, 2008 7:12 pm

Anybody know how to do this!

Postby brehg » Fri Jul 18, 2008 8:04 am

Please
brehg
 
Posts: 14
Joined: Sun Jul 06, 2008 7:12 pm

Postby Jim » Fri Jul 18, 2008 10:16 am

The things that can be added to the cart for a product are name, price, sku, order options, quantity. No additional product information can be added to the cart.

I am not sure that you can pass different values for order options than what you enter for the product in the backoffice. You could try having your javascript set the value of one of the order options and see if that will work or not. Note that when passing quantity or order options to the cart the add to cart must be a form submit and not just an a href link.
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah


Return to User Forum

Who is online

Users browsing this forum: No registered users and 11 guests

cron