View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

using the weight in discount codes

Thread began 10/13/2009 10:41 am by sam308940 | Last modified 10/14/2009 10:13 am by sam308940 | 848 views | 5 replies

sam308940

using the weight in discount codes

My client has decided that she wants to have a sale on an entire category of products. she wants to have a coupon based on the categegory code of the product.

we are not using the weight field at all. so i thought that it would be easy if we just hijack that field for the category code - which is a number anyways.

so i have set the weight in the cart to not be calculated by the quantity.
and i set the weight in the add to product code, to house the category code that i want.
this is all working fine, as i set these values to display in the cart area, and they do display exactly as they should. IE if category on add to cart is 500, 500 shows in the view cart (just confirms its passing over as it should).

so...
now my issue is why my discount code WONT WORK.

discount name: october2009

triggers:
total number of items > 0
if session variable txtPromoCode = october2009
if today is before 11/01/2009
number of items with Weight of 504 > 0

calculation:
based on cart subtotal times .25

Any ideas on where I went wrong?

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