• Resolved eurowhite

    (@eurowhite)


    I have currently de-activated the litespeed plugin to allow customers to make purchases through the site.

    when litespeed is activated a user is not able to add a variable product to the cart and the paypal checkout buttons on product pages do not load:

    Example product page: https://eurowhite.co.uk/product/crest-3d-white-luxe-professional-effects-teeth-whitening-strips/

    Interestingly when litespeed is activated the UK version of this page works, which is the defaultdomain forthis website however, we use polylang and the issue applies to all the other language versions for the product.

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter eurowhite

    (@eurowhite)

    I have tried toggling all options and can not find the solution, I also de-activated and re-activated all plugins and found “Litespeed” causes this issue and also “Yoast woocomerce” both of which are currently de-activated.

    Plugin Support qtwrk

    (@qtwrk)

    please provide the report number , you can get it in toolbox -> report -> click “send to LiteSpeed”

    Thread Starter eurowhite

    (@eurowhite)

    Report number:?LMGFGLKU

    Plugin Support qtwrk

    (@qtwrk)

    please try this

    edit file /plugin/litespeed-cache/litespeed-cache.php , around line 137, you will see $control = \LiteSpeed\ESI::cls()->is_nonce_action($action);

    add a block after this line

    if ($action == 'wp_rest'){
       $control = "";
    }

    then go to Cache -> ESI -> enable ESI

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘paypal pay now buttons not loading + unable to add to cart’ is closed to new replies.