[Contribution] Discount Coupon Codes
#3201
Posted 22 April 2012 - 10:07 PM
Thanks
#3202
Posted 04 May 2012 - 10:25 PM
Quote
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.
#3203
Posted 10 May 2012 - 01:18 PM
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.
#3204
Posted 14 May 2012 - 05:55 PM
Link to screen shot http://cl.ly/1e1l2Z1a0j2o2z361t0U
#3205
Posted 14 May 2012 - 06:21 PM
It looks like a simple problem but I'm new to the game and can't work out what's happened... or not happened
#3206
Posted 30 May 2012 - 09:04 AM
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?
#3207
Posted 01 June 2012 - 05:56 PM
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
#3208
Posted 06 June 2012 - 01:07 AM
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
#3209 ONLINE
Posted 09 June 2012 - 06:14 AM
jamessk, on 14 May 2012 - 05:55 PM, said:
Link to screen shot http://cl.ly/1e1l2Z1a0j2o2z361t0U
jamessk, on 14 May 2012 - 06:21 PM, said:
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
I am not a coder, so dont bother sending PMs asking for help as you wont get any.
OSC has a steep learning curve, but in general the program does work. If it doesnt work, the chances are it is something you have done.
#3210
Posted 09 July 2012 - 10:51 AM
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!
#3212
Posted 21 July 2012 - 02:16 PM
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.
admin page discount.jpg 163.53K
14 downloads
Edited by Duroniel, 21 July 2012 - 02:17 PM.
#3213
Posted 31 July 2012 - 10:40 AM
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!
Attached Files
#3214
Posted 06 August 2012 - 06:56 AM
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.
#3217
Posted 09 August 2012 - 11:35 AM
#3218
Posted 10 August 2012 - 06:04 AM
Thanks!
#3219
Posted 11 August 2012 - 06:54 PM
#3220
Posted 13 August 2012 - 11:47 AM
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???









