techhouse Posted May 4, 2012 Share Posted May 4, 2012 Was this problem ever resolved? 1) Hello, when i try to add an shipping zone exclusion, i have this message : 1136 - Column count doesn't match value count at row 1 INSERT INTO discount_coupons_to_zones VALUES I used this function for the first time today, and got the same output. Zones are configured (I have 5 setup, one none of them work, when selected as an exclusion option). I get the same error as above. Quote Link to comment Share on other sites More sharing options...
[email protected] Posted May 10, 2012 Share Posted May 10, 2012 This is a wonderful contribution. The only pity: it does not allow entering multiple discount codes in case a customer has more than one. I need to give discounts for various reasons and need this possibility. So I copied the entire module and changed all instances of coupon to coupon2 and coupons to coupons2. It is installed nicely with no errors UNTIL I try to modify the coupon I created in section 2 (the new second module) Maybe i missed something on my changes. A lot of double checking- anyone have any idea where the problem might be. The code I create is in my sql table but does not get saved in admin. And..........nothing gets calculated at checkout so maybe the code needs to be modified at checkout process to process the two together rather than separately. (or maybe this has to do with the first error) I am not a php programmer so obviously copying the mod rather than rewriting is my only option. I'm hoping there is an easy fix for this somehow. Would be nice for a lot of people who need to give special pricing to someone who may already have a discount to use. Quote Link to comment Share on other sites More sharing options...
jamessk Posted May 14, 2012 Share Posted May 14, 2012 Hi, I have recently tried installing ot_discount_coupon_codes_3_34_osc2.3_1_2_3 I followed all the installation instructions within the download file. I have managed to install the module but when I click on Discount Coupons, I cannot see anything but header tags, I've attached a screenshot... has anyone has this problem? Thanks, James Link to screen shot http://cl.ly/1e1l2Z1a0j2o2z361t0U Quote Link to comment Share on other sites More sharing options...
jamessk Posted May 14, 2012 Share Posted May 14, 2012 I tried clicking on the button and now this is showing http://cl.ly/37312V2b3k0Q2q3E3i1l It looks like a simple problem but I'm new to the game and can't work out what's happened... or not happened Quote Link to comment Share on other sites More sharing options...
lexarks Posted May 30, 2012 Share Posted May 30, 2012 Hi! I am newbie and I am trying to find a way, to solve my problem. I got shop and I add coupons. Problem is with: discount_coupons_to_products. If I add too many coupons, there is problem with buying. A lot of products, a lot of coupons and it makes a lot of "discount_coupons_to_products" (for example: 10 000 000). When someone is trying to buy product with coupon, there is problem. People can't finish orders. Is there something I can do with it? Quote Link to comment Share on other sites More sharing options...
matc Posted June 1, 2012 Share Posted June 1, 2012 Hi all, Looked through all pages and can't seem to see anything regarding the problem I've got. I'm running 2.2RC2. Had discount coupons 3.34 (file from 19th Feb on contrib page). This has been working perfectly for over 2 years now, then all of a sudden, I send out a discount code to existing customers and have been inundated with messages saying the discount doesn't work. I have tried all existing codes and created new ones to test but nothing, it just goes to the next page on checkout and shows no discount and doesn't give any error message etc. Nothing has been changed with my site for around 2 months and I know it has been working within the last month as I had a promotion on then. Please can anyone offer any help? Could it be anything to do with changes on the server that the host may have made? Thanks in advance all Quote Link to comment Share on other sites More sharing options...
mojocos Posted June 6, 2012 Share Posted June 6, 2012 Tearing my hair out with this one :)... Discount Coupon Code is functioning properly and discount is applied on the invoice BUT Moneris/eSELECT still charges the customer the full amount Any insight would be much, much appreciated Quote Link to comment Share on other sites More sharing options...
♥14steve14 Posted June 9, 2012 Share Posted June 9, 2012 Hi, I have recently tried installing ot_discount_coupon_codes_3_34_osc2.3_1_2_3 I followed all the installation instructions within the download file. I have managed to install the module but when I click on Discount Coupons, I cannot see anything but header tags, I've attached a screenshot... has anyone has this problem? Thanks, James Link to screen shot http://cl.ly/1e1l2Z1a0j2o2z361t0U I tried clicking on the button and now this is showing http://cl.ly/37312V2b3k0Q2q3E3i1l It looks like a simple problem but I'm new to the game and can't work out what's happened... or not happened It looks like you both may have missed adding the language definitions somewhere Quote REMEMBER BACKUP, BACKUP AND BACKUP Link to comment Share on other sites More sharing options...
tmlj14 Posted July 9, 2012 Share Posted July 9, 2012 Hi, I am very new to the game here and am having difficulty. I am able to add coupon codes in the admin section but when I go to checkout I don't see an option to enter the discount code? Any insight on where I should be looking? My site is plain vanilla with no other mods. Thanks! Quote Link to comment Share on other sites More sharing options...
al3ks Posted July 9, 2012 Share Posted July 9, 2012 @@tmlj14 If the contribution was installed correctly it should be in checkout payment section. Quote Find this post helpful? Click the 'Like this' button. :) Link to comment Share on other sites More sharing options...
Duroniel Posted July 21, 2012 Share Posted July 21, 2012 (edited) Hi! I have just started with osc and the whole php thing, so I guess I have made some small mistake somewhere. The thing is that I can add coupons that work and all that, but my admin page looks... well, not that good. The dot in the radio button does not move when I click something else, and there is no "check" mark when I push "Include discount code in the order info" or "Exclude specials". Also, as the picture shows, the message boxes are quite small and only shows one option per box. You don't have to fix my upper right, those "buttons" work although it looks ugly, but those are only included if they can give a hint to what is causing this to look odd. And yes, I know that english is mixed with swedish there ;) Oh, and I use the 3,2 verson of discount codes, and the new 2,3,2 of osc. Edited July 21, 2012 by Duroniel Quote Link to comment Share on other sites More sharing options...
gabrieli Posted July 31, 2012 Share Posted July 31, 2012 Hi, I accidentally entered a big amount (1000%...) of discount on the coupon and now I cannot delete it or edit it. Every time I try I get the attached error. Any one has an idea how can I delete it? Thnak you! Quote Link to comment Share on other sites More sharing options...
gabrieli Posted August 6, 2012 Share Posted August 6, 2012 Hi! I wrote a note last week on the forum but haven't received an answer yet. Could someone please help me with my issue? I accidentally entered a big amount (1000%...) of discount on the coupon and now I cannot delete it or edit it. Every time I try I get the error: Warning: array_keys() [function.array-keys]: The first argument should be an array in /home/gtalit8/public_html/gabrieli/coupons_exclusions.php on line 76 Warning: Cannot modify header information - headers already sent by (output started at /home/gtalit8/public_html/gabrieli/coupons_exclusions.php:76) in /home/gtalit8/public_html/gabrieli/includes/functions/general.php on line 34 Do you have an idea how can I delete the coupon? Thank you! I attached a copy of the error in the previous message. Quote Link to comment Share on other sites More sharing options...
al3ks Posted August 6, 2012 Share Posted August 6, 2012 @@gabrieli This might help you. You could also delete the discount code in database before fixing the error. Quote Find this post helpful? Click the 'Like this' button. :) Link to comment Share on other sites More sharing options...
gabrieli Posted August 9, 2012 Share Posted August 9, 2012 @@al3ks Hi thanks, Could you please explain to me how do I delete it from the database? Thanks a lot Quote Link to comment Share on other sites More sharing options...
al3ks Posted August 9, 2012 Share Posted August 9, 2012 Use phpMyAdmin and in your database you should find a table called "discount_codes" that will open a list of all discount codes you made, delete the row with the discount code you want to get rid of. gabrieli 1 Quote Find this post helpful? Click the 'Like this' button. :) Link to comment Share on other sites More sharing options...
gabrieli Posted August 10, 2012 Share Posted August 10, 2012 Will try that Thanks! Quote Link to comment Share on other sites More sharing options...
gabrieli Posted August 11, 2012 Share Posted August 11, 2012 It worked! thanks for your help! :) Quote Link to comment Share on other sites More sharing options...
mightyx Posted August 13, 2012 Share Posted August 13, 2012 I have a tax calculation problem with different tax rates (Germany). It occurs if a customer applies a fixed discount (prices alaways incl. taxes im Germany) e.g. of 5 Euro. If all ordered products are at 19% VAT everything works fine, but if there's one or more products with reduced VAT (7%) the coupon is nor more at 5 Euro but at e.g. 4.20 Euro. Has anyone a solution for that problem??? Quote Link to comment Share on other sites More sharing options...
hunter22375 Posted August 15, 2012 Share Posted August 15, 2012 I can easily upload all the files to the server however, I noticed the instructions say " If you have made any changes to code or installed any other contributions, you should manually edit the existing files." The only module I have installed is the authorize.net AIM module. Everything else came with OSC v2.3.1 by default. Will all the existing file edits be made automatically by installing the Discount Coupons module? I just don't want to mess with making all those edits if I don't have to. Thanks for any help. Quote Link to comment Share on other sites More sharing options...
acedave Posted August 15, 2012 Share Posted August 15, 2012 Hello, I am trying to get Discount Code to work on my site. I have been able to get the sales procedure to see the new files and it even can see and test to see if it is a good code (see image "discout_code01.jpg). Unfortunately, I get the following error message when the Continue button is pressed. Parse error: syntax error, unexpected ';', expecting T_FUNCTION in /hermes/waloraweb096/b499/as.cccm/store_02/includes/modules/order_total/ot_tax.php on line 65 I also get this message in the Admin panel when I try to edit this module (see "discout_code02.jpg). I can't get in to the module and change the sort order. Any suggestions? Quote Link to comment Share on other sites More sharing options...
doon1947 Posted August 17, 2012 Share Posted August 17, 2012 Hi, I have a store running 2.2-MS2. Is ot_discount_coupon_codes_3_34 compatible. Quote Link to comment Share on other sites More sharing options...
yansfung Posted August 25, 2012 Share Posted August 25, 2012 Try those released date before Oct-2008 since osc2.2rc1 was launched after that time. :'( Hi, I have a store running 2.2-MS2. Is ot_discount_coupon_codes_3_34 compatible. Quote YaNotCook !! Link to comment Share on other sites More sharing options...
trogette Posted September 4, 2012 Share Posted September 4, 2012 (edited) Just an FYI to anyone struggling with paypal IPN, remember to make changes to ext/modules/payment/ipn.php! :) Or not! Ah phooey. I changed it on my test server and it was fine, changed it on a live shop, nothing. It just doesn't pass the discount to PayPal, which is fine when I don't want people using the code to be able to pay by PayPal, lol, but otherwise, not clever :( Edited September 4, 2012 by trogette Quote Link to comment Share on other sites More sharing options...
davidedp Posted September 9, 2012 Share Posted September 9, 2012 (edited) Hello Everybody, this must be easy (for you)... I installed on OSC 2.3.1 this great contribution, following the instruction. Now I go to Admin, Order Total and I see there are 2 modules ready to be installed, when I click on the button the following message appear: Fatal error: Cannot redeclare class ot_discount_coupon in /..../includes/modules/order_total/ot_discount_coupon.php on line 13 It has probably something to do with languages, since I duplicated the english part in a german directory.... Any Hint? Edited September 9, 2012 by davidedp Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.