close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

WA_eCart : TotalPrice - TruePrice

Thread began 10/01/2015 10:15 am by Fritz Stickers | Last modified 10/04/2015 6:16 pm by Fritz Stickers | 3104 views | 6 replies

Fritz Stickers

Now there's no error, but the calculations for categorie 1-30 are still not correct when ordering more than one of the same product.
In the TotalPrice, only the discount price for one product is shown. The calculation doesn't multiply the price. See previously attached image.

Maybe there's another calculation rule for :

(Abs(itmObj.ProductCatID = 31) * (itmObj.Price+(abs(itmObj.Size < 110) * ( ((itmObj.Size-15)/5)) + (abs(itmObj.Size = 110) * (+18)) + (abs(itmObj.Size = 120) * (+19)) + (abs(itmObj.Size = 130) * (+20)) + (abs(itmObj.Size = 140) * (+21)) + (abs(itmObj.Size = 150) * (+22))) )+

The price for products > 110 (size cm) must be increased by 1 (euro) each 10 (size cm).



This calculation worked fine :
(Abs(itmObj.ProductCatID = 31) * (itmObj.Price+(abs(itmObj.Size <= 65) * ((itmObj.Size-15)/5)) + (abs(itmObj.Size > 65) * (((itmObj.Size-65)/10) + 10))))+

The price for products > 65 (size cm) are increased by 0,5 (euro) each 5 (size cm).
But here the max size was 100. Now the max size is 150, so the calculation should be edited.

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