close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

discount difficulty

Thread began 6/01/2011 1:27 pm by CraigR | Last modified 6/08/2011 1:12 pm by CraigR | 3065 views | 16 replies

Jason ByrnesWebAssist

when you need to apply a discount at the line item level, it is time to use the eCart calculations tab.


if the breaks will all be the same, i.e 1-9, 10-49 etc, you will just need a column for each discount amount (you can get really crazy though and set the quantity breaks on an item by item basis by adding a low high column for each quantity level).


For this example, lets say the discount breaks are 1-9, 10-49, 50-100. you would need to add 4 new columns to the cart discAmountA - this is the amount of discount for 1-9, discAmountB - this is the amount of discount for 10 - 49 etc...


you can then create a new calculation of:
name: itemDiscount

(abs([DiscountGroup] == 'A' && ([Quantity] >= '1' && [Quantity] <= '9'))*[discAmountA]) + (abs([DiscountGroup] == 'A' && ([Quantity] >= '10' && [Quantity] <= '49'))*[discAmountB]) + (abs([DiscountGroup] == 'A' && ([Quantity] >= '50' && [Quantity] <= '100'))*[discAmountC]) * [Quantity]



then on the discount tab, set the discount to be subtotal of column 'itemDiscount'

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