close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

discount not working in eCart

Thread began 8/17/2016 3:58 pm by jspoerer286380 | Last modified 8/19/2016 4:44 pm by Ray Borduin | 1560 views | 4 replies |

jspoerer286380

discount not working in eCart

Hello, ... I have a working eCommerce site using your last eCart extension. I was implementing the coupon code tutorial I found on your site and I don´t know why but eCart doesn´t apply the defined discount. It applies other discounts without problems but not the one defined if a session variable is present...
Can you help me to figure what´s going on please ?

My site is www.greenpeel.cl

the normal cart is cart.php and the modified cart is cart2.php im this one you will see the coupon code field that should trigger the corresponding discount...
I did everything as explained in the tutorial and the session variable is set correctly.... Just the discount does not trigger...

Thank You,
Jorge Spoerer

Sign in to reply to this post

Ray BorduinWebAssist

I'd need FTP access to look at the code to determine where the issue is occurring.

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

jspoerer286380

Ok Ray... In private I´m sending you the requested FTP access....

You will see 2 carts files....

carro.php is the normal cart actually in production use
carro2.php is the cart with the modifications for the coupon code project...

Thank You

Sign in to reply to this post

Ray BorduinWebAssist

It is a case sensitivity issue... you are saving the session variable "PromoCode" but your discount rule is checking the variable "Promocode".

You just have to update one or the other to match and it should start working.

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

jspoerer286380

Did it and is working fine now.... Thanks for your help...

Problem solved...

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