Home New Guten Forums WoodMart support forum SIDE CART ISSUE

SIDE CART ISSUE

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #666208

    goncalogamaap
    Participant

    Hi, when I update the product quantity on my side cart the google pay button just goes away and I am not understanding what, can you help?

    Kind regards.

    #666330

    Artem Temos
    Keymaster

    Hello,

    Thank you for reaching out to us about the issue with the Google Pay button disappearing when updating the product quantity in the side cart. To troubleshoot this, we recommend that you first disable all third-party plugins to see if there is a conflict causing this behavior.

    If the issue persists, please provide us with temporary admin access to your WordPress dashboard. You can securely share the credentials by using the Private content field in your reply. This will allow us to investigate the issue more effectively.

    Looking forward to your response.

    Regards

    #666855

    goncalogamaap
    Participant

    There you go, also, aside from that please check why the google button is still clickable when the product is out of stock.
    Product “Calm Mind ” is out of stock.

    #666945

    Artem Temos
    Keymaster

    Try to add the following PHP code snippet to the child theme functions.php file to fix this

    add_action('init', function() {
    	if ( class_exists('WC_Stripe_Field_Manager') && isset($_REQUEST['action']) && 'woodmart_update_cart_item' === $_REQUEST['action'] ) {
    		WC_Stripe_Field_Manager::init();
    	}
    });
    #666985

    goncalogamaap
    Participant

    Hello, thanks for your answer, it isnt working as expected, with that code, the button only appears when u refresh now, that part works but now it doesnt appear when you add the first item to cart, it only shows if you add to cart and refresh the page

    #666993

    Artem Temos
    Keymaster

    Try to remove the previous code and use this one instead

    add_action('init', function() {
    	if ( class_exists('WC_Stripe_Field_Manager') && isset($_REQUEST['action']) && in_array( $_REQUEST['action'], array( 'woodmart_update_cart_item', 'woodmart_ajax_add_to_cart' ) ) ) {
    		WC_Stripe_Field_Manager::init();
    	}
    });
    #667017

    goncalogamaap
    Participant

    solved. thanks.

    #667020

    goncalogamaap
    Participant

    Also on the product page, if the product is out of stock the google pay button stays clickable, can you please take a look at that?

    Thanks

    #667034

    Artem Temos
    Keymaster

    Can you please check it works with default theme to see if it is somehow related to WoodMart?

    #667044

    goncalogamaap
    Participant

    It still shows with the hello theme yea, I guess it’s not related to woodmart.

    Something that I realised happened is that the sticky bottom add to cart button stopped working.

    #667188

    Artem Temos
    Keymaster

    You are using Elementor PRO to create a custom layout and some of our features may not work. You need to use our custom layouts instead https://xtemos.com/docs-topic/single-product-page-builder/

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