• Resolved CelieHair

    (@a3360765)


    Hello

    On my website, after enabling cache, I cannot use the one-click VIP coupon in my shopping cart interface. There is no response when I click it. When I turn off the cache plugin, everything returns to normal. How can I fix it?

    Thank you

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Alin (a11n)

    (@alinclamba)

    Hi @a3360765,

    I see that enabling WP Super Cache is preventing your one-click VIP coupon from working in the cart. This likely happens because caching interferes with dynamic updates like coupons. You can try these steps to fix it:

    First, you can exclude WooComerce pages from caching. For that, you can follow the steps:

    1. Go to Settings > WP Super Cache in your WordPress dashboard.
    2. Click on the Advanced tab.
    3. Scroll down to the Accepted Filenames & Rejected URIs section.
    4. In the box labeled “Add here strings (not a filename) that forces a page not to be cached”, enter:
    /cart/
    /checkout/
    /my-account/

    If your VIP coupon is linked to another specific page, you might need to add that one too.

    Additionaly, since WooCommerce Memberships often customizes the shopping experience for logged-in users, it’s important to disable caching for them. To do that:

    1. In Settings > WP Super Cache > Advanced, make sure “Disable caching for logged in visitors” is checked.
    2. Save the changes.

    Once you’ve done that, clear the cache by going to Settings > WP Super Cache > Contents and clicking Delete Cache.

    Give it a try, and let me know if the coupon starts working again! If it’s still not applying, we can dig a little deeper—there may be another conflict at play.

    Looking forward to your update!

    Thread Starter CelieHair

    (@a3360765)

    Hello

    I have added these two settings before, but they didn’t change anything. Now I still can’t use the VIP function with one click.

    Thank you

    Plugin Support Alin (a11n)

    (@alinclamba)

    Hi @a3360765,

    Thanks for your response. Since excluding the cart page from caching and disabling caching for logged-in users didn’t help, I’d like to understand a bit more about how the VIP coupon works to see what might be interfering.

    Is the coupon managed by WooCommerce Memberships or another plugin? If it’s part of a plugin, there may be specific caching rules or exclusions we can apply to help. Also, would it be possible to check this in action on your site, or does it only appear under certain conditions?

    Let me know, and we’ll figure out the best way to move forward.

    Looking forward to your update!

    Thread Starter CelieHair

    (@a3360765)

    Hello

    My VIP qualification is achieved after spending a certain amount of money. VIP is a coupon created by the plug-in. When a customer becomes a VIP user, a prompt to use the VIP coupon will automatically pop up on the shopping cart interface.

    Thank you

    Plugin Support Alin (a11n)

    (@alinclamba)

    Hi @a3360765,

    Thank you for the details. Since the VIP coupon is dynamically generated and displayed, caching might be interfering with its functionality. Here are a few steps you can try:

    1. Dynamic Content: Ensure that any dynamic content related to the VIP coupon is excluded from caching. This might involve custom caching rules specific to your plugin.
    2. Debugging: Enable debugging in WP Super Cache to see if there are any specific errors or logs that might indicate the issue. You can read more about debugging in WP Super Cache here.

    If these steps don’t resolve the issue, it might be helpful to contact the plugin authors for more specific guidance on caching compatibility.

    I hope this helps, but if you have any questios, please let me know.

    Plugin Support Stef (a11n)

    (@erania-pinnera)

    Hi there, @a3360765,

    It’s been more than one week after the last interaction on this thread, so I’m going to mark this thread as solved. If you have any further questions or need more help, you’re welcome to open another thread here. Cheers!

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