Please submit a private ticket if you need to share sensitive information, such as license details and admin credentials.

Okay
  Public Ticket #2895139
4.1.5 Added: Reload cart/checkout Infinite Looooooooop
Closed

Comments

  • Chase started the conversation

    Hello!

    I love your plugins, they're truly amazing! They've been solid for months, however I've been stumped with finding a solution to the issue that arose after updating to v4.1.5. 

    (ok, i realized the solution to my problem already & posted @ bottom of this ticket- figured this out - keep reading for fun?)

    It seems the 'added : Reload cart/checkout' has created a script loop for me on both my woocommerce checkout pages & quote request pages (built with ninja forms, woocommerce & neah rfq (request for quote toolkit).  When navigating to one of these pages, browser zooms/scrolls to the bottom of the page, and then jumps to the top, and repeats this process infinitely.

    If necessary, I can provide a screenshot/recording or just send you login access.

    Also, I've been using the free versions of your plugins b/c my client really didn't need the extra functionality in the paid plugin for his site.

    Please do let me know if the issue has arisen already for others.  if you've already gotten this email hundreds of times, or are aware of the issue already, i apologize for being a squeaky wheel!  (if you've got the same issue, hope this ticket helps!)

    I thought it could be a conflict with the javascript i'm using for my scroll to top button, but still have the issue after deactivating that scroll to top shortcode snippet. perfect scrollbar? nope, not the problem.

    Again, I cannot speak more highly of the work you all put into the plugins you've built.  WPC Product Quantity was a game changer for me!

    On another note, is there a way to make flycart scripts work/compatible while using AMP?  short of dequeueing it for mobile with snippet you've provided in the forums for woofc_disable_for_mobile? just create/use a cart page for mobile? (we literally do not use a cart page on desktop b/c flycart makes it so much more streamlined). ideas?

    i have also been stumped with that issue - client really doesn't want to loose the flycart on mobile, but I really urge them to migrate to AMP for better mobile performance.  any thoughts?

    p.s. I will be happy to post a kind review soon to give my shout out & props!

    Thank You & Much Respect,

    Chase



    Ok, so it turns out I just figured out what the problem was halfway through writing this ticket.  i literally had to stop myself mid ticket to check out the code using the plugin editor - here i realized this 'Reload cart/checkout' was definitely an option that would cause issues if the flycart is also hidden on cart/checkout pages - as I am doing.

    <?php esc_html_e( 'The cart will be reloaded when opening the page? If you use the cache for your site, please turn on this option.', 'woo-fly-cart' ); ?>

    After I saw that bit of code, i was like, o=Ohhh, checked the settings for the flycart and, sure enough, found the new option to reload that cart on checkout/cart pgs in b/t 'undo remove' and 'Hide on Cart & Checkout'

    'Reload the Cart -  yes/no - The cart will be reloaded when opening the page? If you use the cache for your site, please turn on this option.'

    If there is a way for that option to install off by default it will save a number of customers the headache if they've already hidden the flycart on checkout/cart pgs.  

    which brings me to the thought of why I had to hide them on checkout - this is more a woocommerce question now - i've got the woocommerce cart shortcode on checkout page, but couldn't figure out how to get that cart shortcode to sync up with the flycart.  so if user changes the proudct qty for a product in the cart shortcode you have to click the 'update cart' button (which is not ajax) and the flycart doesn't recognize that change.  so rather than create confusion, I just disabled flycart on those checkout pgs.  Ideally, i'd like to have the woocommerce cart shortcode update with ajax and use the flycart.

    ANYHOW, it's 2:30AM and i'm rambling at this point & my apologies for not breaking this up into a few threads. 

    Again,

    Thank You & Much Respect!

    Chase

  •  767
    Janilyn replied

    Hi Chase,

    Thanks for the updatebigsmile.png 

    We have made the option Reload cart turn off by default since there are many users who don't want to have that upon reloading the page or navigate to any other page. 

    There are many features that we have to choose based on the majority of requests made by users, so it's better to customize on individual sites for users rather than making universal changes. 

    Feel free to contact us again if you encounter any issues and need help from our developers. I'll close your ticket now.

    Best regards and have a nice weekend ahead. 

    Janilyn T. - WPClever Support Agent