Search:  

 
 
   All ForumsHot TopicsGallery






how-to block ads


 
Forums » Tech and Talk » OS and Software » Webmasters and Developers » Promo Codes not working correctly
Search Topic:
Uniqs:
208
Share Topic:
RSS topic:
toggle:
flat / full
normal / watch
Posting:
Post a:
Post a:
CSS Help »
« In need of a website that has Google maps embedded  
AuthorAll Replies

JoelC707

join:2002-07-09
Tucson, AZ
clubs:

Promo Codes not working correctly

I'm setting up an AgoraCart store and want to put promo codes on some of the products. Unfortunately it's not working correctly and the sample file included with the cart hasn't worked correctly from the start. Yeah I know talk to the people who made it and I have but there hasn't been a new post there since Dec 22nd so I was hoping someone here could help me a bit faster.

Here is what happens. I've got it setup with 4 promo codes. If I put nothing in the promo code box it doesn't apply anything (like it should). If I put anything (and I mean anything) in the box, it applies the first promo code no matter what. The store is based off of Perl I believe but the options file is basic html. Can someone help me please?

Current options file as it exists now:

And the original options file. It was originally setup to do % discounts but I managed ot modify it to a $ discount like I want.

Like I said, even the original file with the % based promo codes didn't work correctly. It always applied the 50% off code no matter what you put in the code box. I have tried several different things in lines 46-50 based on my (lack of) understanding. So far nothing I've done has made it work right (though it also hasn't broken it thankfully). I changed all the eslif statements to "else", "elseif", and "if" and the only one that made a difference was having them all set to "if". In that case it always applied the last discount code not the first like it has been doing.
-
Forums » Tech and Talk » OS and Software » Webmasters and DevelopersCSS Help »
« In need of a website that has Google maps embedded  


Saturday, 05-Dec 22:03:08 Terms of Use | Privacy Policy | Hosting by www.nac.net - DSL,Hosting & Co-lo | feedback | contact
over 10 years online! © 1999-2009 dslreports.com.republican-creole
page compression OFF
Most commented news this week
· [163] Comcast Releasing Promised Usage Meter
· [147] Avast Antivirus Has Gone Mad
· [128] Comcast Makes NBC Universal Acquisition Official
· [121] The Bandwidth Hog Does Not Exist
· [105] Graduate Student Unveils Sprint's GPS Sharing With Feds
· [101] Google Invades ISP, OpenDNS Turf With Google Public DNS
· [85] FCC Ponders Moving From PSTN To IP Voice
· [82] Latest Consumer Reports Survey Not Kind To AT&T
· [80] New Bill Aims To Limit ETFs
· [74] Sprint Defuses GPS Privacy Media Bomb
Most people now reading
· Wife might have to work in.... Iowa for a few months!!! [General Questions]
· False positive in Avast! or is it real? [Security]
· First commercial tool to crack BitLocker arrives (Updated) [Security]
· UPS - What do you people think happened? [General Questions]
· Can I put insulation behind wires from panel? [Home Repair & Improvement]
· 3.x Feral Druid - Bear Tanking Guide [World of Warcraft]
· Many Sites Unreachable [Rogers]
· What is the spell hit cap for a lvl 80 full arcane spec mage [World of Warcraft]
· [How to] Install Asterisk on an Asus WL-520GU router [VOIP Tech Chat]
· Windows 7 boot manager editing questions [Microsoft Help]