• Resolved Ashly Sunny

    (@ashlysunny)


    Hi,

    I have a woocommerce site, in which bundle products are used. For this i have activated “Smart Product Bundle For WooCommerce” plugin. and theme is “Mipro”.
    The initial issue was the minicart is not updated while add/remove products in cart. So I used following code in my functions.php

    function enqueue_wc_cart_fragments() {

        wp_enqueue_script( ‘wc-cart-fragments’ );

    }

    add_action( ‘wp_enqueue_scripts’, ‘enqueue_wc_cart_fragments’ );

    But after this fix, the bundle product name is not shown in minicart.
    How can I show bundle product name with variation in minicart?
    Kindly share a solution for both issues.

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Zubair Zahid (woo-hc)

    (@doublezed2)

    Hello Ashly Sunny,

    Thank you for contacting WooCommerce support.

    I can understand your concern about the mini cart not updating and the bundled product names not displaying correctly.

    To assist you better, could you please confirm if the problem with the bundle product name not being shown also occurs on the main Cart page? If it is displaying correctly on the Cart page but not in the minicart, the issue might be related to how the Mipro theme interacts with the minicart functionality.

    If this is indeed the case, reaching out to the Mipro theme support could be beneficial, as the theme developers might already have a solution or could provide an update to resolve this discrepancy.

    For better understanding, could you please send me a copy of your site’s System Status Report? You can find it via WooCommerce > Status.
    Select Get system report and then Copy for support.

    Once you’ve done that, you can paste the text in https://gist.github.com
    After that, you can paste the Gist link here in your reply.

    Looking forward to your response ??

    Thread Starter Ashly Sunny

    (@ashlysunny)

    Hi,
    The issue occured after wordpress and plugin updates. Now the versions are:
    WordPress 6.3.2
    Woocommerce 8.2.1
    Mipro 1.1.8

    Am facing two issues related to mini cart:

    1. minicart not updated while add new items to cart and edit/delete items in cart.
    2. Bundle product name is not showing in minicart

    I have tried following and get below results:

    1. For fixing cart updating issue; am used

      function enqueue_wc_cart_fragments() {
      ? ? wp_enqueue_script( ‘wc-cart-fragments’ );
      }
      add_action( ‘wp_enqueue_scripts’, ‘enqueue_wc_cart_fragments’ );

      After this bundle product name is visible in cart but not in minicart if we are in product page or cart page
    2. If we remove the above code, then the bundle product name is visible in cart and in minicart if we are in cart page but not showing in minicart if we are in other pages.
    3. I have tried default files of cart and minicart of current woocommerce: but no difference in issues.
    4. I have tried latest Mipro theme: but no difference in issues.
    5. Switched to default theme – Storefront : Now minicart is updated while add or edit items in cart. But bundle product name is not shown in minicart if we are in product pages, and minicart is not shown if we are in cart page.

      Kindly share your suggestion.
      Thank you!

    Hi there @ashlysunny ??
    Thank you for reaching back, with further details on this.

    The issue occured after wordpress and plugin updates. Now the versions are:
    WordPress 6.3.2
    Woocommerce 8.2.1

    Please note, the latest available version of WordPress is 6.4.2 (link here), and that of WooCommerce is 8.5.1 (link here).

    minicart not updated while add new items to cart and edit/delete items in cart.

    Since minicart works as expected with the Storefront theme (linked here) activated, feel free to reach out to the support channel of “Mipro” theme about this, as they would be in a better position to assist you.

    Bundle product name is not showing in minicart

    Likewise, I’d recommend reaching out to the activated “Smart Product Bundle For WooCommerce” plugin’s support about this, as they would be in a better position to assist you.

    I trust that points you in the right direction, but if you have more questions, let us know.

    We’re happy to help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Minicart in Bundle products’ is closed to new replies.