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

URGENT HELP! coupon code screws up shipping

Thread began 6/03/2011 5:18 pm by sam308940 | Last modified 6/06/2011 11:13 am by sam308940 | 818 views | 6 replies


URGENT HELP! coupon code screws up shipping


on may 19 i added a coupon code. here is the code added:
//eCart Rule
function WAEC_JULES_LUCKY6() {
$totalDiscount = 0;
if (true && ((sizeof($this->Items) > 0) && ($this->InCart("SS2411") == true) && (((isset($_SESSION['discount_code'])?$_SESSION['discount_code']:"") == "lucky6")) OR ((isset($_SESSION['discount_code'])?$_SESSION['discount_code']:"") == "LUCKY6"))) {
$totalDiscount += ($this->ConditionalTotal("TotalPrice", "ID", "SS2411") * .3);//Result
return WA_eCart_FormatNumber($totalDiscount, $this->ForceDecimalsC, $this->DecimalPlacesC);
//eCart Rule

on the view cart page it will show the shipping costs, and the subtotal including the shipping costs. However when you get to the confirm order page, NO SHIPPING is shown and its not included in the total either. This changed in the orders on the EXACT date the coupon code above was added.

The confirm order page & the checkout page, have not changed since March. So im fairly certain its nothing there that is causing this. It has to be something on the view cart page. HOWEVER the view cart page is the one page that shows the total correct.

?????? Any ideas on what is causing this? SInce may 19 its happened to every order and that shipping has added up! SIGH!!!!!! BIG MONEY LOST. Im freaking out.

Im attaching my files.
and you can test the live url at
add any item to the cart
see the shipping in the cart
then checkout
on the confirm page - no shipping shows


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