Forum Replies Created

Viewing 30 posts - 1 through 30 (of 40 total)
  • Avatar: Apolloneos
    Apolloneos
    Participant

    Hello,

    it would be better to have an option to change the text of “Up to” in customizer, like the option of “Sales” badge.

    Thanks

    Avatar: Apolloneos
    Apolloneos
    Participant

    Hello,

    I had added the cookie “xstore_wishlist_ids_0” to exclusions and users with products added to wishlist see all pages uncached. This is ok.

    However, as I wrote before, if the user removes all the products from wishlist (one by one) the cookie xstore_wishlist_ids_0 remains with empty value, so all pages are still shown as uncached. The cookie must be deleted, in order to see the pages as cached again.

    We have found a temporary solution for this, by adding this code:

    if (isset($_COOKIE['xstore_wishlist_ids_0']) && $_COOKIE['xstore_wishlist_ids_0'] === '') { setcookie('xstore_wishlist_ids_0', '', time() - 3600, '/'); }

    I think it is easy to add something like this, in a next version of the theme.

    Regards

    Avatar: Apolloneos
    Apolloneos
    Participant

    Hi,

    yes I tried this before, but all pages are shown as uncached then.

    This is ok when there are products in wishlist.
    However, if we remove the products from wishlist (one by one) the cookie xstore_wishlist_ids_0 remains (with empty value), so pages are still shown as uncached.

    I see that in wishlist page the “remove all” action deletes this cookie completely. If the cookie is deleted when it has an empty value, this maybe a solution.

    Of course, the best option would be to make wishlist button to work with ajax, like the add to cart button.

    Regards

    Avatar: Apolloneos
    Apolloneos
    Participant

    Hi,

    yes when disabling the cache there is no problem.
    As logged in user you can see the pages uncached.

    Regards

    Please contact administrator
    for this information.
    Avatar: Apolloneos
    Apolloneos
    Participant

    Hello,

    it is re-connected now.

    Thanks!

    Avatar: Apolloneos
    Apolloneos
    Participant

    Here are the credentials:

    Please contact administrator
    for this information.
    Avatar: Apolloneos
    Apolloneos
    Participant

    Hello Olga,

    yes it is ok now.

    Thank you!

    Avatar: Apolloneos
    Apolloneos
    Participant

    Hi,

    have you found a solution about the 3rd issue?

    Thanks

    Avatar: Apolloneos
    Apolloneos
    Participant

    Hello,

    with the last changes it seems to work ok.

    The problem now comes only when we add something to cart and after a while we remove it from cart. When adding products to cart, the Litespeed private cache is enabled. If we empty the cart, the public cache comes back. But, I think something is getting confused. I will inform Litespeed’s support about this too.

    Avatar: Apolloneos
    Apolloneos
    Participant

    Hello Olga,

    with the last change it seems to work. But, it purges all cache on every login.

    I’m thinking if it could help to treat the following as ESI:

    woocommerce-login-nonce
    woocommerce-register-nonce

    Something like this:
    do_action( ‘litespeed_nonce’, ‘woocommerce-login-nonce’ );
    or
    woocommerce-login-nonce no-cache

    Avatar: Apolloneos
    Apolloneos
    Participant

    Hello,

    now in the most pages it works, but they remain uncached.
    I see this headers: x-litespeed-cache-control: no-cache

    In some pages with x-litespeed-cache: hit
    it doesn’t work.

    What have you changed?

    Avatar: Apolloneos
    Apolloneos
    Participant

    Hello,

    the problem started again. We haven’t changed anything since your last edit.

    I think that a solution may be to make off-canvas block compatible with LS ESI and I try to find which file to edit.

    Here is an example: https://docs.litespeedtech.com/lscache/lscwp/api/#generate-esi-block-url

    Regards

    Avatar: Apolloneos
    Apolloneos
    Participant

    Hello,

    today the login has problem again. We didn’t changed anything in the meanwhile.
    You can try to login from homepage which is fully cached.
    On any uncached page it works with no problem.

    Regards

    Avatar: Apolloneos
    Apolloneos
    Participant

    1) Thank you! Are all changed files in child?
    2) There was an update of Woocommerce and Litespeed plugins yesterday. I will observe it to see if this fixed it on both sites.
    3) I enabled the Popup notification, so you can add a product in cart and try to remove it from the popup. As logged in, I don’t show any error in the console. As visitor, I see an error, but it may not be related.

    Please contact administrator
    for this information.
    Avatar: Apolloneos
    Apolloneos
    Participant

    Hello Olga,

    ok I send you the credentials.
    This site has also many times the problem with off-canvas login too.

    In addition I have seen, that if we use the Popup as “Product added notification type”, the Remove product button on popup gets stuck.

    Thanks

    Please contact administrator
    for this information.
    Avatar: Apolloneos
    Apolloneos
    Participant

    Ok I understand.
    I would prefer to edit PHP files, so that I could stop displaying the button on product card, without loading requests for every product in loop. If possible, I could add a function for this in child theme.

    Thanks

    Avatar: Apolloneos
    Apolloneos
    Participant

    Yes Olga, I cleared cache and after re-creating cache the issue appeared again.
    Before a page is cached, the login is ok. After cache is created and then I visit the same page via another browser, the login has problem again.

    Avatar: Apolloneos
    Apolloneos
    Participant

    Ok, I disabled Protect WP-Admin plugin.
    We still have the off-canvas login issue with the cache enabled.

    Avatar: Apolloneos
    Apolloneos
    Participant

    Hi,

    so, it would be better the theme to have an option for this setting, in order to choose where to display the wishlist button.

    Can we add a function to stop loading wishlist button on product card on loop?

    Thanks

    Avatar: Apolloneos
    Apolloneos
    Participant

    Hello,

    after many tests on 2 websites, I am sure that the problem is caused by cache.
    When a page is already cached by a different browser, the off-canvas login/register has problem. When a page is cached for the first time on the same browser, then it works.

    If I disable cache completely, the off-canvas login/register has no problem and it works. It does not conflict with any other plugin.

    Litespeed cache plugin uses ESI for the Woocommerce cart, so it works correct. I think, that if we make the off-canvas to use ESI cache, then it will work with no problems either for login/register, or for wishlist (icon and off-canvas).
    How can we make the theme’s off-canvas compatible with this Litespeed ESI function?

    Thanks

    Avatar: Apolloneos
    Apolloneos
    Participant

    Hello,

    I have disabled this plugin and cleared cache. But, the issue appears, after pages are cached again.

    Avatar: Apolloneos
    Apolloneos
    Participant

    Ok, I have added admin permissions to the user of my previous message.

    Avatar: Apolloneos
    Apolloneos
    Participant

    Hello,

    I have just tried to manually enter the credentials, but it has the same issue.
    It is strange as sometimes works ok either with autosaved or manually entered credentials.
    However, if I disable the cache, it has no problem.

    I tested also the registration tab and it has the same issue.

    Please contact administrator
    for this information.
    Avatar: Apolloneos
    Apolloneos
    Participant

    Hello,

    I send you the video of the issue.

    Please contact administrator
    for this information.
    Avatar: Apolloneos
    Apolloneos
    Participant

    Hello,

    yes it is fixed. Thank you!

    Avatar: Apolloneos
    Apolloneos
    Participant

    Hello,

    no it is not solved. You see it in English, if you change the language from profile, then the text is different on ajax loaded products. However, you can still see that the sale’s box is different on ajax loaded products from the above products and there is a ” ! ” too.

    Avatar: Apolloneos
    Apolloneos
    Participant

    Hello, the correct label is “Sale”, as I have already set it in customizer.

    Please contact administrator
    for this information.
    Avatar: Apolloneos
    Apolloneos
    Participant

    Hello Olga,

    yes now it is ok!
    In addition, it will be useful if next-previous icons are shown too, when a product image is open on popup (like its close button). I don’t remember if they existed before these changes.

    Thanks

    Avatar: Apolloneos
    Apolloneos
    Participant

    Yes, Lazy Loading for Products addon works now!

    Only the issue with next-previous image on product page remains.

    Thanks

    Avatar: Apolloneos
    Apolloneos
    Participant

    Hello Olga,

    Slider seems to load without problems now!

    Also, product gallery images are shown correctly under the main product image now.
    However, the next-previous icons over the main image on product page are not shown on hover (actually they are shown for 1 second during loading).

    In addition, Lazy Loading for Navigation on elementor addon “Products” with Grid Display is still not working.

    Thanks

    Please contact administrator
    for this information.
  • 1 2
    1–30 of 40 posts
Viewing 30 posts - 1 through 30 (of 40 total)