close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Can you specify size options with a static cart?

Thread began 5/22/2010 12:36 am by chriscaldwell11357847 | Last modified 4/11/2013 8:37 am by Jason Byrnes | 2115 views | 9 replies |

chriscaldwell11357847

Can you specify size options with a static cart?

Forgive me, I'm new to this forum, and I really appreciate your help. This is the first time I've incorporated a cart with a site, and have questions about things as they come up.

I'm selling Tshirts and don't know how to specify the various size options. Prices are the same for all shirts. What is the most efficient way to do this?

My cart items are static (no database).

Thank you so much.
Chris

Sign in to reply to this post

Jason ByrnesWebAssist

To add options to a static, you first need to add a column to the cart object for the option.

In the eCart object editor, go to the Columns section and add a new size column. Set it to be unique.

Now in the eCart Add to Cart button wizard, select the new size column and select the option to be editable from a select list.

This will add a select list to your page. you can then populate the select list with the available sizes.

Sign in to reply to this post

chriscaldwell11357847

Thank you very much for the help!
Chris

Sign in to reply to this post

chriscaldwell11357847

wow

It's amazing how cool this extension is. I'm so thrilled with this and with the instant help. I have never created an ecommerce site before and it was overwhelming at first, but with help on this forum, it is all starting to click. Thank you your patience and for not making me feel stupid! This product is great!!!!!!!!!!!!!!!!!!!

chris

Sign in to reply to this post

Jason ByrnesWebAssist

Excellent, glad to hear you are getting it working.

Sign in to reply to this post

info185511

Color options in a static cart

I have several items in a product page, two are items with different colors. Created a similar scenario as above replacing sizes with colors one has six colors other has seven. When testing with localhost the color and quantity work well for both these items and there is a redirect to the cart page. However if another product is selected I have these errors appear at the top of the page and there is no redirect to the cart page.

Warning: Missing argument 10 for NBA_eCart_Definition::AddToCart(), called in /Applications/MAMP/htdocs/NBA/products.php on line 27 and defined in /Applications/MAMP/htdocs/NBA/WA_eCart/NBA_eCart_PHP.php on line 28

Notice: Undefined variable: itemColor in /Applications/MAMP/htdocs/NBA/WA_eCart/NBA_eCart_PHP.php on line 33

Warning: Cannot modify header information - headers already sent by (output started at /Applications/MAMP/htdocs/NBA/WA_eCart/NBA_eCart_PHP.php:28) in /Applications/MAMP/htdocs/NBA/products.php on line 1474

Sign in to reply to this post

Jason ByrnesWebAssist

You must have created this pages add to cart button before adding the color cart column.


When you add a column to the cart, you will need to edit any add to cart behaviors that have already been created.

open the server behaviors panel, double click the eCartAdd to cart server behavior, then click the ok button to have the code regenerated for the current columns.

Sign in to reply to this post

info185511

Thanks

You were right the color was added after. Once the code was updated every is working fine. Thanks for your help.

Sign in to reply to this post

Jason ByrnesWebAssist

you're welcome.

Sign in to reply to this post

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...