Hi, wanted to know if this plugin is still safe to use as there haven’t been any updates for a long time.
Thanks in advance
]]>Hi! thank you for the plugin.
is it possible to set a costumed name for each coupon? and not the generate names such as “7zbj-yfaz-9rzr”
]]>Hello.
I have created a bulk upload of coupons.
I checked Hiding public coupons when creating.
However, when I check the created coupon, hiding public coupons is disabled.
-reference img link :
Why are the options I selected when creating a coupon not reflected?
Please check. Thank you.
]]>It would be nice when I can changes the discountcodes at ones.
Now I made 2500 codes but have to changes the validity periods.
I am generating coupon codes and stating that it should apply 1% points when using a coupon code but when this plugin creates the coupons this part is ignored meaning I am now deleting 3000 coupons.
Please can this be fixed asap as I need to generate these coupons for a new affiliate
]]>Could you provide an example of a full snippet that would allow one to customize the coupon code? A few examples would be helpful. For example, how to add a prefix a hyphen and 6 letters.
]]>Hey there,
thanks for that great plugin!
I use the plugin in combination with the plugin “Store Credit”. It works fine so far, I can also bulk create Store credit vouchers.
Unfortunately the tax settings are beeing ignored. I can check the box ” Check this box if the coupon amount includes taxes.” during the bulk cration process. After the vouchers are beeing created the box is unchecked in every voucher.
Is there any solution?
regards
J?rg
Hi all,
we use Woocommerce and I am looking for help to tackle the issue of variable discounts based on exisitng purchases. Thanks in advance.
We currently have a system that offers the following discounts:
1 Session: £75
2 Sessions: £140 (£70 each, save £10)
3 Sessions: £195 (£65 each, save up to £30)
4 Sessions: £240 (£60 each, save up to £60)
5 Sessions: £275 (£55 each, save up to £100)
6 Sessions: £300 (£50 each, save up to £150)
More than 6 Sessions: £50 each
We achieve this by offering a refund for the difference after the subsequent purchases, which is a lot of work and inconvenient for customers.
I think we can generate different single-use coupon lists with this tool and add a form to the site to say “request coupon code for discount based on your exisitng purchases”. We could nominate someone at the company to reply with appropriate coupon from lists.
I am wondering if anyone has an idea how this process could be automated and not require someone at the company of getting the task of replying with the code each time? Maybe with anther tool together..
Greayly appreciated.
Bw,
Ben
First – thank you to Jerome for continuing to answer the questions on this support forum…
Anyway to get this plugin updated so it does not show as “not tested for the last 3 version”
Thanks!
]]>Great plugin. Please add Prefix and code length.
]]>Thanks for the great plugin.
Are the coupon codes generated unique, including those already generated?
]]>Hello all,
has anyone tried this plug-in with wordpress version 5.8.4 or above?
TIA
tony
Hi Jeroen,
Prefixes: From what I understand from the discussions on Github (dkvadratu, robert777, …) there has been code available to create coupons with specific prefixes since 2017. As you don’t include this option in the code creation process of the plugin by default, could you please give a short guidance of where to put the code you gave and how to use it? I’m referring to $random_code = apply_filters(‘woocommerce_coupon_generator_random_coupon_code’, $coupon_code );
Last used settings: Would it be possible in the next update that if a user generates a batch of coupons with some settings, the next batch will have the last used settings?
Context: I need to create 10 coupons of 5€, then 10€, 15€ etc up til 250€, with the same characteristics.
(Alternatively to giving this option in the next update, if you think of a code to do this right away, that would be super useful)
Cheers,
M
]]>Hi, I’m having the following issue [18-Feb-2022 21:19:56 UTC] The WC_Order_Item_Coupon::offsetGet function is deprecated since version 4.4.0.
I’ve spoken to Woocommerce support and they believe it is this plugin that is causing the issue. Are you able to offer a fix for this?
Thanks,
Conor
Can this plugin generate random coupon codes?(not sequential)
I want to print coupons to hand out to customers in my shop offering them discount in the webshop.
(promoting the website because i will close the physical shop in 3 months and continue only online)
I can give my printshop a csv file with codes and he prints them. Each with 1 code from the csv
]]>Hi there,
I’m new to wordpress so i played around with the coupon settings. Unfortunately i created too many of useless coupons – and potentially broken.
So How do I delete all of them at once? I can’t find the solution on google, and wp is allowing me to only delete a few (50-60) at once.
Please help. Thanks!
-Stan
Hi,
For upcoming promotions we generate “future” coupon codes using the default “create coupon” screen. We then change the publish immediately setting so it can not be used before the promotions become active.
The problem is that when generating coupons using this plugin, the export.txt file will contain these future coupon codes. This is because the export query sorts on the post_date
field to select the last X created coupon codes.
I’ve patched this by changing the export query to:
$wpdb->prepare( "SELECT post_title FROM $wpdb->posts WHERE post_type='shop_coupon' AND post_status='publish' ORDER BY post_date DESC LIMIT 0, %d", $quantity )
The AND post_status='publish'
part makes sure that it ignores future coupon codes in the export.
Hi!
I’m trying to create a coupon code with a discount in DKK and one in EUR.
EUR is managed in the ‘Multi-currency’ tab.
But when i generate the coupons the value is set to ‘Auto’, which we would like to avoid.
Fx we would like a discount of 300 DKK, and a discount of 40 EUR, but when created the 40 EUR discount is set to ‘Auto’.
Do you know how to resolve this issue?
Thank you for your time.
]]>Hi, great plugin! Quick and efficient!
I’m wondering is it possible that during a larger batch of coupon code generation my client will get a couple of duplicate coupon codes as it seems like there is no validation at this point?
Thanks.
]]>Hi,
We applied this coupon plugin on our eCommerce website.
The coupon code is working on desktop and orders are coming through,
however, there are some issues with other devices such as tablets and phones (android).
Our customer service person is using a Samsung Galaxy S9 and having the same issue.The coupon code successfully applied but amount not deducted underneath for total order.
Could you please take a look? Thank you so much!
hii
How to show all generated coupone code front end using custome code
]]>Hello,
I’m trying that “Coupon Generator for WooCommerce” but after having filled all informations about coupons I would like to create, the plugins stops at the last step (when it should actually create the coupons) with a 400 error.
Wordpress is up to date, WooCommerce too, and I don’t understand that problem.
I wrote to the developer, Jeroen, who tells me that he can’t give email support for their free plugins but advise me to open a thread here. So… Could you help me please ?
Screenshots of the problem are here :
https://www.swisstransfer.com/d/7b4157d7-5eaf-4231-9a58-6798b2c4e103
Many thanks for your help !
Best regards,
T.
]]>Hello,
i have a question: is this possible with your plugin:
i want to give 15% off (a specific category – for example “machines”) and 25% off the second product of a specific category (“machines”). Is this possible with your plugin?
thank you
rafael
It seems this plugin does not work correctly in certain WordPress languages.
For some reason, the plugin stuck at 0% for me. The required CSS and JS did not load at all. I tried searching for help here and found this: https://www.ads-software.com/support/topic/plugin-files-breake/
It seems this issue was left on hold. I tried your suggestion to identify the current screen ID and it was indeed different for me. It was “markkinointi_page_woocommerce_coupon_generator”. The reason for this is that “marketing” is “markkinointi” in Finnish. So, I added that ID to the code in file class-wccg-admin.php in line 66, and the plugin started to work!
But I wanted to post about this bug since it would be very appreciated if you could fix this in the next version or if you need any additional help from someone with this issue. For example, try to search only for phrase “_page_woocommerce_coupon_generator”? Otherwise, I have to fix this myself after every update. It seems the screen ID may change depending on the user language.
Thank you very much!
]]>Hi and Thanks for your great Plugin!
I love it!
But nevertheless I’d like to leave a feature request. I’m in a situation, where the coupon codes must follow a specific text pattern (in my case: not more than 9 digits or letters, no special characters allowed).
It would be great to have a customizable Pattern.
]]>Hi there
Is your Plugin compatible with Woocommerce 5.3.0? & WordPress 5.7.2?
Thanks.
]]>Hello,
I am testing your plugin. It’s pretty forward and easy.
I tried to translate your plugin with Loco Translate. Loco Translate recognize 35 strings. I translate all from English in German.
In the Plugin list, your plugin is translated, but when I open the plugin, nothing is translated.
Do you have a hint?
Thank you in advanced.
Marco
Hi, I’m the author of WooCommerce Free Gift Coupons and a customer came to me asking about compatibility with your plugin. My plugin saves some custom meta, but I believe there are 2 barriers to generating a Free Gift style coupon.
1. My admin coupon data is an array of arrays. My $_POST
data looks like:
array (
10 => array (
'quantity' => '1'
)
);
This throws a notice in step 2:
[19-Apr-2021 17:10:52 UTC] PHP Notice: Array to string conversion in public\wp-includes\formatting.php on line 1098
[19-Apr-2021 17:10:52 UTC] PHP Stack trace:
[19-Apr-2021 17:10:52 UTC] PHP 1. {main}() public\wp-admin\admin.php:0
[19-Apr-2021 17:10:52 UTC] PHP 2. do_action() public\wp-admin\admin.php:259
[19-Apr-2021 17:10:52 UTC] PHP 3. WP_Hook->do_action() public\wp-includes\plugin.php:484
[19-Apr-2021 17:10:52 UTC] PHP 4. WP_Hook->apply_filters() public\wp-includes\class-wp-hook.php:316
[19-Apr-2021 17:10:52 UTC] PHP 5. WCCG_Admin->coupon_generator_callback() public\wp-includes\class-wp-hook.php:292
[19-Apr-2021 17:10:52 UTC] PHP 6. WCCG_Generator->output_step() public\wp-content\plugins\coupon-generator-for-woocommerce\includes\admin\class-wccg-admin.php:114
[19-Apr-2021 17:10:52 UTC] PHP 7. WCCG_Generator->generator_options_handler() public\wp-content\plugins\coupon-generator-for-woocommerce\includes\admin\class-wccg-generator.php:105
[19-Apr-2021 17:10:52 UTC] PHP 8. require_once() public\wp-content\plugins\coupon-generator-for-woocommerce\includes\admin\class-wccg-generator.php:148
[19-Apr-2021 17:10:52 UTC] PHP 9. esc_attr() public\wp-content\plugins\coupon-generator-for-woocommerce\includes\admin\views\html-coupon-generator-step-2.php:68
[19-Apr-2021 17:10:52 UTC] PHP 10. wp_check_invalid_utf8() public\wp-includes\formatting.php:4504
which I believe is coming from attempting to escape the arrays:
if ( is_array( $val ) ) :
foreach ( $val as $inner_val ) :
?><input type="hidden" name="<?php echo esc_attr( $key ); ?>[]" value="<?php echo esc_attr( $inner_val ); ?>" /><?php
endforeach;
else :
Barrier 2
Though the meta undergoes some more processing when saved. It appears you’re using $wpdb
to insert new coupons instead of using WooCommerce’s CRUD. Even when I dabble in using the Woo CRUD I’m running into some issues with the data not being in $_POST
like my plugin currently expects. That may require a tweak on my end… but that’s to be determined if we’re interested in pursuing any compatibility.
cheers!
]]>Hello is there a filter I can use to define my own characters and limit the string length?
I would like to generate only 5-character coupon using these characters:
ABCDEFGHJKMNPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz123456789
And then no – separator.
I tried these but did not work:
// Coupon Generator for WooCommerce – Update Characters
add_filter( ‘woocommerce_coupon_code_generator_characters’, ‘woocommerce_coupon_code_generator_characters’, 10 );
function woocommerce_coupon_code_generator_characters( $characters ) {
return ‘ABCDEFGHJKMNPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz123456789’;
}
// Coupon Generator for WooCommerce – Update Length
add_filter( ‘woocommerce_coupon_code_generator_character_length’, ‘woocommerce_coupon_code_generator_character_length’, 10 );
function woocommerce_coupon_code_generator_character_length( $length ) {
return 5;
}
Hello, I run an Arabic website The plugin was working fine but suddenly the plugin files disappear in the admin area, I tried to figure out the problem I found that when I use Arabic as the default language the files(script and stylesheet) disappear, but when I use English as the default language everything works fine again.
]]>