close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Can I use ecart for this sort of selection page?

Thread began 11/02/2009 2:24 pm by jspencer190495 | Last modified 11/04/2009 4:14 pm by jspencer190495 | 1130 views | 3 replies

Eric Mittman

I can think of a way that you could do this but it is fairly custom and not a supported feature of the cart. The idea is that you would have static add to cart buttons for each available item sizes on this page, each item with a different size would be considered unique.

Once you have got all of the add to cart server behaviors on the page the next thing to do is to combine all of the forms so that there is only a single add to cart form. This part could be tricky if you are not comfortable with editing the html directly. You need a single form with a single submit button.

After you modified the forms so there is only one you would need to modify the add to cart server behavior code. It would need to have the triggers for each updated to be based on the posted quantity for that size. This way the sizes for the items will only be added based if they have entered a quantity.

After all of this you would need to check the redirects that are on the page and make sure that the eCart redirect code only occurs after all of the add to cart code.

The trickiest part of this is combining the forms and editing the code for the add to cart server behaviors. If you are interested in going this route you should first get a single add to cart on the page working, then once it is working you can add another and combine them. If you can combine two on the page combining more should not be a problem. This is a custom feature and will not be supported itself but if you need any advice or pointers on how to get things going please post back and we will be glad to help you with whatever we can.

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...