Unable to import coupons
-
Hi,
I am facing issues with importing the coupons. I am able to import and upload it on your demo live site. It does not show the any rows(https://ibb.co/jjWofF) unlike your live demo site.
I am using the same CSV for both the demo live site and my site. I was able to get it working on the previous version (1.1.9).
Any help is much appreciated.
Thanks.
-
Hi @jjoldman,
Please check if any warnings/errors are logged into csv-import log file under WooCommerce -> System Status -> Logs -> csv-import
Hi @mujeebur,
Thank you for the fast response! This is the full log for the day. It seems that the coupons process did not even start ):
07-04-2017 @ 07:54:19 – —[ New Import ] PHP Memory: 512 MB, WP Memory: 40 MB
07-04-2017 @ 07:54:19 – Parsing products CSV.
07-04-2017 @ 07:54:19 – Finished parsing products CSV.
07-04-2017 @ 07:54:19 – —
07-04-2017 @ 07:54:19 – Processing orders.
07-04-2017 @ 07:54:20 – —
07-04-2017 @ 07:54:20 – Processing orders.
07-04-2017 @ 07:54:20 – > “Order – July 4, 2017 @ 07:54 AM”
07-04-2017 @ 07:54:20 – > Finished importing order 12781
07-04-2017 @ 07:54:20 – Finished processing orders.
07-04-2017 @ 07:54:20 – —
07-04-2017 @ 07:54:20 – Processing orders.
07-04-2017 @ 07:54:20 – > “Order – July 4, 2017 @ 07:54 AM”
07-04-2017 @ 07:54:20 – > Finished importing order 12782
07-04-2017 @ 07:54:20 – Finished processing orders.
07-04-2017 @ 07:54:20 – —
07-04-2017 @ 07:54:20 – Processing orders.
07-04-2017 @ 07:54:20 – > “Order – July 4, 2017 @ 07:54 AM”
07-04-2017 @ 07:54:20 – > Finished importing order 12783
07-04-2017 @ 07:54:20 – Finished processing orders.
07-04-2017 @ 07:54:20 – —
07-04-2017 @ 07:54:20 – Processing orders.
07-04-2017 @ 07:54:21 – > “Order – July 4, 2017 @ 07:54 AM”
07-04-2017 @ 07:54:21 – > Finished importing order 12784
07-04-2017 @ 07:54:21 – Finished processing orders.
07-04-2017 @ 07:54:21 – Finished processing Orders.This is the log for 28th June when I am still able to import the coupons in.
06-28-2017 @ 09:01:02 – Processing coupons.
06-28-2017 @ 09:01:02 – > Row 1 – preparing for import.
06-28-2017 @ 09:01:02 – > Inserting LKJH-AEGF-TISD-2KAP
06-28-2017 @ 09:01:02 – > Inserted – coupon ID is 12607.
06-28-2017 @ 09:01:02 – > Finished importing post ID 12607.
06-28-2017 @ 09:01:02 – > Row 2 – preparing for import.
06-28-2017 @ 09:01:02 – > Inserting LKJH-AEGF-TISD-3KAP
06-28-2017 @ 09:01:02 – > Inserted – coupon ID is 12608.
06-28-2017 @ 09:01:02 – > Finished importing post ID 12608.
06-28-2017 @ 09:01:02 – > Row 3 – preparing for import.
06-28-2017 @ 09:01:02 – > Inserting LKJH-AEGF-TISD-4KAP
06-28-2017 @ 09:01:02 – > Inserted – coupon ID is 12609.
06-28-2017 @ 09:01:02 – > Finished importing post ID 12609.
06-28-2017 @ 09:01:02 – > Row 4 – preparing for import.
06-28-2017 @ 09:01:02 – > Inserting LKJH-AEGF-TISD-5KAP
06-28-2017 @ 09:01:02 – > Inserted – coupon ID is 12610.
06-28-2017 @ 09:01:02 – > Finished importing post ID 12610.
06-28-2017 @ 09:01:02 – > Row 5 – preparing for import.
06-28-2017 @ 09:01:02 – > Inserting LKJH-AEGF-TISD-6KAP
06-28-2017 @ 09:01:02 – > Inserted – coupon ID is 12611.
06-28-2017 @ 09:01:02 – > Finished importing post ID 12611.
06-28-2017 @ 09:01:02 – > Row 6 – preparing for import.
06-28-2017 @ 09:01:02 – > Inserting LKJH-AEGF-TISD-7KAP
06-28-2017 @ 09:01:02 – > Inserted – coupon ID is 12612.
06-28-2017 @ 09:01:03 – > Finished importing post ID 12612.
06-28-2017 @ 09:01:03 – > Row 7 – preparing for import.
06-28-2017 @ 09:01:03 – > Inserting LKJH-AEGF-TISD-8KAP
06-28-2017 @ 09:01:03 – > Inserted – coupon ID is 12613.
06-28-2017 @ 09:01:03 – > Finished importing post ID 12613.
06-28-2017 @ 09:01:03 – > Row 8 – preparing for import.
06-28-2017 @ 09:01:03 – > Inserting LKJH-AEGF-TISD-9KAP
06-28-2017 @ 09:01:03 – > Inserted – coupon ID is 12614.
06-28-2017 @ 09:01:03 – > Finished importing post ID 12614.
06-28-2017 @ 09:01:03 – > Row 9 – preparing for import.
06-28-2017 @ 09:01:03 – > Inserting LKJH-AEGF-TISD-0KAP
06-28-2017 @ 09:01:03 – > Inserted – coupon ID is 12615.
06-28-2017 @ 09:01:03 – > Finished importing post ID 12615.
06-28-2017 @ 09:01:03 – Finished processing coupons.Hmm any idea why? Appreciate you taking your time to help.
Hi @jjoldman,
Can you please check anything is logged in server error log.?
Hi mujeebur,
I’ve checked the server log there isn’t any error there(not sure if it is my host server settings).
However one interesting fact I found is whenever I run the coupon import, it keeps showing “07-05-2017 @ 09:49:24 – Finished processing Orders.” instead of “06-28-2017 @ 09:01:03 – Finished processing coupons.” although I ran the coupon import and not the orders import.
Please advise where else I can look for to troubleshoot. Thanks!
Hi @jjoldman,
I have tested this with latest version 1.2.0 and it’s working fine. Also the message in the log are all about importing coupons. Please check if any JavaScript error is happening while importing by enabling developer console( Press F12 in browser).
Let me know the findings.Hi @mujeebur,
I finally managed to solved the issue. I did a fresh install of wordpress, woocommerce and Order / Coupon / Subscription Export Import Plugin for WooCommerce. Everything worked great!
So I tried to disable plugins one by one and it seems that there is conflict with this plugin – https://wordpress.org/plugins/download-manager. As long as the download manager plugin is active, the coupon import always fail.
Once the plugin is deactivated I am able to import coupons successfully.
Thank you for your patience and assistance! Glad the issue is finally resolved! (:
Hi @jjoldman,
Glad that your issues are resolved.
The topic ‘Unable to import coupons’ is closed to new replies.