close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Discounts Custom Expression

Thread began 5/02/2009 6:32 am by jdoane282989 | Last modified 5/06/2009 7:44 pm by jdoane282989 | 1580 views | 2 replies |

jdoane282989

Discounts Custom Expression

I'm trying to add a discount on the shopping cart page for customers who are members of a certain association. If they belong to the group, I want to give them $5 off their first purchase.

I have put a radio group with "yes" and "No" for choices. I want a custom expression that will give the discount if the customer says "Yes." (proof might be a memberID)

Can anyone help me design a custom expression in eCart discounts that will work.

Here is the code for my radio buttons:

<label>
<input name="green_alliance" type="radio" id="green_alliance_0" value="yes" />
Yes</label>
<label>
<input name="green_alliance" type="radio" id="green_alliance_1" value="no" checked="checked" />
No</label>

Thanks

Sign in to reply to this post

Ray BorduinWebAssist

You would probably want to use something like SecurityAssist or the user registration solution pack, since you would need user login for something like this to work to keep track of things like member ID and whether this is someone's first purchase or not.

At the end of the day you would store the value as a session variable and create a discount rule from the discounts tab to check that session variable value and offer the appropriate discount.

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

jdoane282989

Hi Ray,

Thanks for helping me find a solution to this.

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