• Resolved jbennettlb

    (@jbennettlb)


    Hi,

    I have set up a coupon to offer a percentage discount on our products. When a customer tries to go to the url with the coupon code, it does not autofill when they add products to their empty basket.

    If the customer has something in their basket and then goes to the url, it works.

    I have tried enabling the “Force session start” checkbox, setting the Hook priority to 1 and also enabling the Delay coupon option but none appear to be working.

    Is there anything else to try to fix this?

    Thank you.

    All the best,
    Jay

    • This topic was modified 2 years, 7 months ago by jbennettlb.
Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Algoritmika

    (@algoritmika)

    Hi @jbennettlb,

    Are you using the WP Rocket plugin? If so, could you please try enabling the “WP Rocket: Disable empty cart caching” checkbox in “WooCommerce > Settings > URL Coupons > Advanced”?

    Please let me know if that helps.

    Thread Starter jbennettlb

    (@jbennettlb)

    Hi @algoritmika,

    Thank you for getting back to me.

    Unfortunately, we are not using the WP Rocket plugin. I enabled it anyway to give it a try but it made no difference.

    Is there any other details you need to be able to help?

    Thank you.

    All the best,
    Jay

    Plugin Contributor Pablo Pacheco

    (@karzin)

    Hi @jbennettlb ,

    Have you tried to enable the option “Advanced > Save on empty cart” ?

    Thread Starter jbennettlb

    (@jbennettlb)

    Hi @karzin

    I have tried enabling that but it is still not working sorry.

    Thank you.

    All the best,
    Jay

    Plugin Contributor Pablo Pacheco

    (@karzin)

    Hi @jbennettlb ,

    Please update the plugin to the version (1.6.4) I just released and try to change one option below at a time and test again:

    – Change Advanced > Main hook > Hook option.
    – Set Advanced > Data storage type as Cookie.
    – Enable Advanced > Javascript reload option.

    Let me know if it helps

    • This reply was modified 2 years, 7 months ago by Pablo Pacheco.
    Thread Starter jbennettlb

    (@jbennettlb)

    Hi @karzin

    Thank you for your help.

    I updated the plugin and followed like you said. It is getting more consistent but still not working as expected.

    I noticed something that might help: If the user visits the site without the coupon parameter, but then visits the site with the coupon parameter, the coupon will load once items are added to the basket.
    If the user just visits the site with the coupon as the parameter, it will not load the coupon automatically when items are added to the basket.

    Thank you again.

    All the best,
    Jay

    Plugin Contributor Pablo Pacheco

    (@karzin)

    If you have these options set up:

    General > Delay coupon enabled.
    Advanced > Data storage type set as Cookie.
    Advanced > Javascript reload option enabled.
    General > Session > Force session start when a URL with the coupon key is accessed enabled.

    It should be working.

    As wp.org forums are very restrictive, can you please contact us on our forums?
    https://wpfactory.com/item/url-coupons-woocommerce/#tab-discussions

    Once you do that, I’ll ask you if it’s possible to provide access to your site so I can try to understand what is going on.

    Thread Starter jbennettlb

    (@jbennettlb)

    Hi @karzin

    Thank you for going over those options. I retried it and its working now!

    Thank you so much for all your help.

    Kind regards,
    Jay

    Plugin Contributor Pablo Pacheco

    (@karzin)

    Anytime, glad to hear it’s working ??

    In that case, please consider leaving a review if you are enjoying the plugin/support. It would be much appreciated ??

    See you

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Coupon Not Working’ is closed to new replies.