Why does this plugin not work for guest users?

Top WooCommerce & WordPress Plugins Forums URL Coupons for WooCommerce Why does this plugin not work for guest users?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #92538
    Elton Ferati
    Guest

    Hi, we use your plugin URL Coupons for Woocommerce and I see that it does just work, when a client is logged in? Why is it not possible for customers who are not logged in?

    This should also work for these clients. Can you please help me?

    Please check:

    https://shaveclick.ch/?coupon=test

    you can create then an account to see that it works just with logged users.

    Thanks

    Elton Ferati

    #92539
    Tom Anbinder
    Moderator
    Plugin Support

    Hi Elton,

    Sorry for the late reply. I believe the problem is that for a coupon to be applied for a guest user, there must be something added to the cart before that, i.e. coupons can not be applied to an empty cart for guests. I will have to find a solution to this – will get back to you asap. Meanwhile, it looks like you can “solve” this by adding some product via URL at the same time when applying the coupon. For example:

    http://example.com/cart/?add-to-cart=2495&coupon=test

    Also, in Pro version, there is “Add products to cart” (for “Fixed product discount” type coupons) option, which seems to be solving the problem for “fixed product discount” coupons at least.

    #92540
    Tom Anbinder
    Moderator
    Plugin Support

    Hi Elton,

    This is now fixed in the latest plugin v1.2.3. To make the coupons work for the guests with an empty cart, you need to enable the new “Force session start” checkbox in plugin’s settings (in “WooCommerce > Settings > URL Coupons”).

    Please give it a try and let me know if there are still any issues.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.