Is there a way to have hierarchical order options?

General ShopSite user discussion

Is there a way to have hierarchical order options?

Postby Boo Radley » Mon Jul 28, 2008 9:50 am

The best way to ask this is probably by giving an example. I'm building a web store to sell art reproductions. In the ordering options I want people to choose paper or canvas, then print size, etc. But the sizes available might differ between paper and canvas. I also want to offer an option for professional stretching, which only applies to the canvas and should not appear if they selected paper.

From the documentation I've read, you can have multiple pull-downs for ordering options, but they are not connected in any way. Is there a way to make the options available in menu#2 vary depending on what was selected in menu#1?

If not, does anyone have an idea for a good work around? I'd appreciate any advice you guys might have.

Thanks!
Brian
Boo Radley
 
Posts: 1
Joined: Mon Jul 28, 2008 9:41 am
Location: Chicago

Postby tfoy » Mon Jul 28, 2008 12:18 pm

Brian,

I know this can be done with javascripting in regular html forms, but not so sure it can be used in shopsite with the templates.

You can get some info on available Javascipt Variables from

http://www.shopsite.com/help/9.0/en-US/sc/pro/index.htm?page=/help/9.0/en-US/sc/pro/cart.variables.html

I see a variable: ss_finite_options - Array of selected order options. Selected options for products with multiple pull-downs are separated by "|". The selected order options for the first product are at ss_finite_options[0]

but not sure as to how you would use the variable to accomplish what you want. Maybe someone more versed in javascript can help answer that.


One thing that might work and be fairly simple is to just create a seperate product for paper and one for canvas.


Paper Product More Info Page

Size <---- Drop Down Menu

Also available on canvas <-- link to Canvas Product More Info Page



Canvas Product More Info Page

Size <---- Drop Down Menu

Processional Stretching <-- Drop Down Menu Two

Also available on paper <-- link to Paper Product More Info Page


Not really what you wanted, but figured I would suggest it.


Tom
tfoy
 
Posts: 32
Joined: Wed Apr 16, 2008 10:34 am


Return to User Forum

Who is online

Users browsing this forum: No registered users and 136 guests