New Landing How can we help? Themeforest Theme Support Dante BUG // HALP / Add to cart disabled on browser back button from cart in Safari

Viewing 11 posts - 1 through 11 (of 11 total)
  • Posted in: Dante
  • #128579
    adamf
    Member
    Post count: 39

    Hello – The add to cart button becomes disabled when a user hits the back button in Safari when they have already added an item to cart, which is not good in this case because it is a variable product. Please help! Thanks in advance.

    #128580
    adamf
    Member
    Post count: 39
    This reply has been marked as private.
    #128658
    adamf
    Member
    Post count: 39

    bump

    #128661
    adamf
    Member
    Post count: 39

    even just disabling the add to cart button disable function would be fine, I’m desperate! Thank you.

    #128736
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Do you have it set to forward you to the cart page when you have added a product? If so you can change this in the WooCommerce settings

    And FYI, we work on the oldest topic first, so adding a new comment will take you to the back of the queue. Therefore ‘bump’ is not a good idea if you want your question answering

    – Kyle

    #129076
    adamf
    Member
    Post count: 39

    Thank you for the response, sorry for bumping. So when a user clicks on the add to cart button, the value of the submit button is set to disabled. Problem is, when you hit the back button it is still set to disabled. How can I remove the script that sets the button to disabled completely? I’ve tried to set the attribute of disabled to nothing but it does not register on the “back button”… I would rather just disable the functionality completely and be done with it.

    #129077
    adamf
    Member
    Post count: 39

    I also need to redirect to cart, so I’m pulling my hair out trying to get this working on Safari. Your support is greatly appreciated.

    #129079
    adamf
    Member
    Post count: 39

    this is what I tried, to no avail…

    <script>
    function load() {
    document.getElementsByTagName(‘input’).disabled = false;
    }
    window.onload = load;
    </script>

    #129387
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Doing a back in the browser is not the same as refreshing the page.
    That it’s part of the Woocommerce functionality and it’s outside of our support scope.

    Hope you understand.

    -Rui

    #129412
    adamf
    Member
    Post count: 39

    Completely understood, I mistakenly thought that it was a SWIFT bug, and not a Woo bug… sorry.

    #129413
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    No problem.
    -Rui

Viewing 11 posts - 1 through 11 (of 11 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register