close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Trouble with sizePriceInc and productPriceInc in Product Options

Thread began 7/11/2012 6:42 am by Rune Brynestad | Last modified 7/11/2012 11:40 am by Rune Brynestad | 751 views | 4 replies

Rune Brynestad

Trouble with sizePriceInc and productPriceInc in Product Options

I have followed the Product option tutorial for eCart. As you can see in the attached Picture 1 there are two problems. The color (Farge) shows in the cart with ProductOptionID not the OptionName. The price column (Pris) shows the standard price, not the incremented price (210 should be 214). However the Total column shows the correct price, 214.

I believe the display color problem could be solved with both the Label and the Value setting to use the Option name column. The results shows in the attached Picture 2. The color displays with the Option Name as it should, But both Price and Total shows the standard price, not the incremented price (210 should be 214 in both cases).

To solve the incemented problem I have tryed to add the increment to the select list like this:

<option value="<?php echo $row_rsColor['OptionName']?>"><?php echo $row_rsColor['OptionName']?><?php if($row_rsColor['OptionPriceIncrement'] > 0) echo(" + ".$row_rsColor['OptionPriceIncrement']); ?></option>

But nothing is changed in the cart.

You can test it on live URL here: products_detail.php?ProductID=22

The color (farge) menu is the last one. Try either Red (Rød) or Brown (Brun)


I'm attaching the cart and the product detail pages. I'm also attaching the WA_eCart/TcaCarcare_PHP.php page and the WA_eCart/WA_eCart_Definition_PHP.php page so you can see how the cart is configured.

Thanks in advice

Regards
Rune

Attached Files
eCart.zip

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