close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


Omitting a specific item in a discount calculation

Thread began 8/08/2012 1:09 pm by mora398588 | Last modified 8/09/2012 5:48 pm by mora398588 | 371 views | 2 replies |


Omitting a specific item in a discount calculation

At the moment, I have setup several discounts for our users. The discounts apply a percentage off based on items with a specific value.

Some of our workshops include a separate fee which we refer to as a materials fee - which is in addition to the base price of the workshop. I recently worked with Jason to setup my eCart object to combine the materials fee and the base price of the workshop so the combined price would reflect in the cart.

As its currently setup, my discounts apply a discount to the total price (material fee + price). However, I would like the discount to only be applied to the base price and not the materials fee.

Is it possible using eCart to modify the discounts to disregard a specific item when factoring the discount?

I have attached my eCart object for your review.

Attached Files
Sign in to reply to this post

Jason ByrnesWebAssist

on the calculations tab, create a new calculation that uses the original calculation for total price:

[Price] * [Quantity]

Then in the discounts, instead using the TotalPrice column, use the OriginalTotal column.

your calculations are set to use Items with a specific column value:
Discountable2 = 1

any items where the Discountable2 column is not equal to 1 will be ignored from the discount

Sign in to reply to this post



Thank you for your reply and assistance. The calculation you provided worked great.

Sign in to reply to this post

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





Ease of use


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