close ad
Help us test the new Databridge BETA with MySQLi support
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Coupon Question

Thread began 1/29/2018 5:34 pm by Dave Buchholz | Last modified 1/30/2018 11:37 am by Ray Borduin | 97 views | 4 replies |

Dave BuchholzBeta Tester

Coupon Question

I would like to create a coupon/discount that checks for the presence of 2 defined products in the cart and give a discount off one of them, so for example I add a BMW 325 to the cart that entitles me to a discount off a VW Polo if I buy one at the same time but if I remove the BMW from the cart then there is no discount for the VW, both must be present in the cart and be the exact models specified. Does this make sense and is it possible ?

Sign in to reply to this post

Ray BorduinWebAssist

You can add coupon conditions to require another item in the cart to trigger the discount. If you want it database driven then it would require some coding, but of course it is possible.

Sign in to reply to this post

Dave BuchholzBeta Tester

Thanks Ray, it would need to be database driven so the customer could choose the relevant products from their.inventory.

Sign in to reply to this post

Ray BorduinWebAssist

In that case you would probably have to code something manually. ECart has functions to check if an item is in the cart. You could loop through the coupons returned from a recordset and then set a session variable to store the discount and use the session variable in the cart discount rule.

Sign in to reply to this post

Dave BuchholzBeta Tester

Thanks Ray, I will have a play and see what I can come up with, if I get stuck I will book a premier support ticket

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

Content

rating

Layout

rating

Ease of use

rating

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