# flat discount for each item if before a certain date

Thread began 2/25/2014 3:28 pm by Rick | Last modified 5/12/2014 6:36 pm by Jason Byrnes | 1701 views | 18 replies |

## 2/25/2014 3:28 pm  |  #1 Rick

### flat discount for each item if before a certain date

greetings...

I applied a flat discount "if before a certain date" which works well on the entire order. How do I get the "if before a certain date" discount to apply to each item in the cart?

## 2/26/2014 8:41 am  |  #2 Jason ByrnesWebAssist

On the Calculations Tab, create a calculation to find the items discountTotal.

say the discount should be 20%:

discountTotal:
([Price] * 0.2) * [Quantity]

Then in the discount, use the "Based on Column Subtotal" calculation
Subtotal For Column "discountTotal" "plus" "0"

## 2/26/2014 9:02 am  |  #3 Rick

is there a way to get a flat \$10 off each item.

## 2/26/2014 9:21 am  |  #4 Jason ByrnesWebAssist

Use the multiple of column subtotal calculation

Subtotal of column "Quantity" "times" "10" "plus" "0"

awesome! thanks.

you're welcome.

## 5/02/2014 9:02 am  |  #7 Rick

so now the client wants certain items excluded from the flat rate, time based discount which works great. from my research, it seems in order to exclude certain items, I will have to create a column in the ecart object with the 0 or 1 options on products?

## 5/02/2014 9:55 am  |  #8 Jason ByrnesWebAssist

yes, that is correct.

## 5/12/2014 11:58 am  |  #9 Rick

ok. because I'm not doing this daily, things are slipping from the memory banks.

1. I created a column for a discount. i assume it should be currency.
2. all items are static entries.
3. discount "If before a certain date"
4. items with discount have a " 1 ' value and items without discount have the " 0 ' value

however, it is not working. what am I missing?

## 5/12/2014 12:20 pm  |  #10 Rick

think i found the problem... almost. discount is working except when more than 1 of the same item is added to cart

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

## Everything else!

Close Window

Account or customer service questions?

Need technical support?

Content

Layout

Ease of use

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 Window

## We were unable to retrieve the attached file

Close Window

### Attach and remove files

• Text Formatting
• Insert Element
• Block Formatting
• Cancel
Close Window

Close Window

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