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

discount coupons apply to certain items

Thread began 3/25/2010 7:42 pm by sandyrumsey378810 | Last modified 3/15/2011 1:00 pm by sandyrumsey378810 | 2098 views | 15 replies

Ray BorduinWebAssist

In powerstore you can browse and pick items for coupons to apply to.

If you are doing this manually in eCart and don't have a database driven coupon system like what powerstore uses, then you would probably have to do it manually.

You could add a column to your shopping cart for "coupon_applicable" and set it to "1" for items that are included in the coupon and "0" for items that aren't. Then you can create a calculation for:

discountedTotal = [Quantity] * [Total] * [coupon_applicable]

Then base your coupon on 0.2 times the total of that calculated discountedTotal column.

There are really a million ways you could do it depending on the complexity of what you are doing. Do you have multiple coupons like this each that apply to different groups of items? How often do the coupons change? At some point couponing can be very complex, but it all depends on the specific details of what you need.

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