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:
<tr>
<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>
</tr>
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