• Resolved comalmacreativestudio

    (@comalmacreativestudio)


    Bom dia,
    Será que me conseguem ajudar, com a questão da atualização automática dos valores dos portes, quando adiciono mais do que um produto?
    Neste momento só é atualizado quando clico em “update cart”. Não existe forma de atualizar automaticamente? Porque depois o preço aparece errado, pois a pessoa não atualiza o número de produtos.

    Obrigada,
    Liliana Martins

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support shahzeen(woo-hc)

    (@shahzeenfarooq)

    Hi there!

    Thank you for reaching out. I understand the issue you’re facing with shipping costs not updating automatically when multiple products are added to the cart. By default, WooCommerce does not automatically refresh the cart totals without the customer clicking the “Update Cart” button.

    However, you can use the following plugin for this purpose:
    Auto Update Cart for WooCommerce

    Alternatively, you can use custom code. Unfortunately, we do not provide support for customizations. If you need more in-depth support or want to consider professional assistance for customization, I can recommend WooExperts and Codeable.io as options for getting professional help. Alternatively, you can also ask your development questions in the  WooCommerce Community Slack as custom code falls outside our usual scope of support.

    Thread Starter comalmacreativestudio

    (@comalmacreativestudio)

    Obrigada pela atenção,

    Boas Festas 🙂

    Thread Starter comalmacreativestudio

    (@comalmacreativestudio)

    Olá novamente,
    Agora utilizei este código:

    add_action( ‘wp_footer’, ‘atualizar_carrinho_automaticamente’ );
    function atualizar_carrinho_automaticamente() {
    if (is_cart()) {
    ?>

    <?php
    }
    }

    E atualiza, mas só de 2 em 2, exemplo se eu adicionar dois produtos atualiza automaticamente o valor, se eu só atualizar 1 produto a mais, não atualiza. Consegue ajudar-me?

    Obrigada,
    Liliana

    Hi @comalmacreativestudio,

    I understand you’re looking to update shipping costs automatically when multiple products are added to the cart, but it seems the code you’re using isn’t working as expected.

    I’d like to mention that we can only assist with general WooCommerce-related queries in this forum. Since this involves custom code that overrides default functionality, it falls outside the scope of support we can provide here.

    That said, you’re welcome to review our Support Policy, and we also offer various resources that might help point you in the right direction for customizations. For more complex or advanced changes, we recommend reaching out to Codeable or a Certified WooExpert.

    I hope this helps clarify things for you. Thanks for your understanding!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Atualização automática carrinho’ is closed to new replies.