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 do I apply a discount at checkout for a certain group of individuals?

Thread began 10/19/2021 8:18 am by Supreme Geek | Last modified 12/15/2021 6:55 pm by Supreme Geek | 122 views | 18 replies

Supreme Geek

5% discount for Red Star life members

Hey Ray,
Since the "checkbox" looked kind of complicated and there's a "js" file associated with it (I was copying the shipping copy checkbox) I added a space to enter the person's life membership number by the "name" on the "checkout.php" page. I copied the "name" code and modified it:

<th><label for="Red_Star_LM" >Red Star Life Member Number</label></th>
<td><input type="text" name="Red_Star_LM" id="Red_Star_LM"" /></td>

Then I went to the eCart Object dialog box and tried to add a session variable on the "Discount" tab. I named it "Red_Star_LM". I selected the "Session Variable Exists" on the dropdown. The snapshot is attached....I saved the dialog box and uploaded it to the server. Well, it did not work at all. I got one of those HTTP errors that said that the store wasn't working. So, reverted everything to how it was before. The error kinda startled me a little bit, since a lot of people order from the site. But, now it works like it should. Obviously I'm doing something wrong here. Your help is greatly appreciated Ray! Have a nice day!

All the best,
Dale Iannello

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