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


How to add a coupon code for a specific category in the database

Thread began 8/07/2015 12:22 pm by Svetlana | Last modified 8/10/2015 11:10 am by Ray Borduin | 444 views | 2 replies |


How to add a coupon code for a specific category in the database

Hello, I have been successfully using all the coupon tutorials but right now i need one a bit different. We have a promotion at the store for a specific category of items and in the database they are all in the same category. How can I do that? is there an option?

Sign in to reply to this post

Ray BorduinWebAssist

I'd suggest doing this in a premier support ticket.

You would have to set session variables to keep track of the coupon and the category it applies to and the coupon rate. Then you could probably create a calculation in the cart for DiscountedItems which is a sum of the TotalPrice of any cart rows that are in the coupon category.

Then add a discount rule that calculates the correct discount based on the DiscountedItems calculated column total.

It is a bit complex, that is why I'd suggest a premier ticket if you have it in the budget.

Sign in to reply to this post
Did this help? Tips are appreciated...


Thank you for your reply! I will try :)

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