# Shipping and Discounts

Thread began 8/14/2010 2:33 pm by koerbcm | Last modified 8/16/2010 1:02 pm by Jason Byrnes | 845 views | 4 replies |

## 8/14/2010 2:33 pm  |  #1 koerbcm

### Shipping and Discounts

I am having a hard time figuring out how to add shipping and discounts with ecart. My goal is, if someone buys 50 or more of any products, then the price drops from 4.95 to 1.25 but there will be a \$.14 shipping added on. I would like to keep them separate as shipping and discounts. I think i found a way to get the discounts to work by saying:

Number of items with "Price" of 4.95 >=50

Based of the cart subtotal
Cart subtotal times .74747474

This works but seems kind of like a work around and i can not get shipping to work. I am not sure how to read most of the calculations of triggers. Can anyone help me?

## 8/14/2010 3:13 pm  |  #2 koerbcm

### Got it to work

Figured it out the shipping.

Shipping
Subtotal of Qty >=50
Based on multiple of column subtotal
Subtotal of column Qty times 1 times .14

I am still having trouble with discounts. I can't use the percent as it will not always adjust the price to 1.25 but fractions around that. Any ideas as to how to make the price 1.25 and not use percentages?

## 8/16/2010 10:54 am  |  #3 Jason ByrnesWebAssist

the discount amount will 3.7 for each item.
do you want the discount to only apply to items that cost 4.95?

if so, set the calculation of the discount to:
Based on items With A Specific Value:
total of 'Quantity' where 'Price' has a value of '4.95' 'times' '3.7'

## 8/16/2010 12:39 pm  |  #4 koerbcm

I did something like this and it worked rather well.

Based on items With A Specific Value:
total of 'TotalPrice' where 'Price' has a value of '4.95' 'times' '.7474747474'

I know the decimal might be affected but added up to 5000 items in the cart and the price remained at 1.25. It took me about an hour to figure it out thou. Thanks for your response Jason.

## 8/16/2010 1:02 pm  |  #5 Jason ByrnesWebAssist

ok, glad to hear you have it working.

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