Add to cart button layout not the same for Bundle and regular items

This topic has 9 replies, 4 voices, and was last updated 2 hours, 37 minutes ago ago by Jack Richardson

  • Avatar: Peter
    Peter
    Participant
    March 18, 2025 at 12:00

    We have regular items and we have bundle items.

    We want the Add-to-cart layout of the regular items becomes the same with the Bundle items.
    How can we make it the same?

    Please see attached screenshots

    Files is visible for topic creator and
    support staff only.
    8 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 18, 2025 at 13:22

    Hello,

    Thank you for reaching out to us.

    We understand that you would like the Add-to-Cart layout of regular items to match that of the bundle items. Theme Options > Woocomerce > Shop > Products design > Add to cart with quantity > Off.

    Best regards,
    8Theme’s Team

    Avatar: Peter
    Peter
    Participant
    March 20, 2025 at 10:46

    Hi Rose,

    What we want is the opposite. We want the bundle items to have add-to-cart option/icon like the regular items.

    How can we do that?

    Avatar: Justin
    Luca Rossi
    Support staff
    March 20, 2025 at 12:15

    Dear Peter,

    We hope you are doing well.

    Could you kindly provide us with the WordPress admin account credentials? This will allow us to review the backend settings more thoroughly.

    Looking forward to your response.

    Best regards,
    8Theme Team

    Avatar: Peter
    Peter
    Participant
    March 20, 2025 at 12:38

    Hi Luca,

    Please see attached info:

    Please contact administrator
    for this information.
    Avatar: Justin
    Luca Rossi
    Support staff
    March 21, 2025 at 06:30

    Hi @Peter,

    Please copy this file from the xstore parent theme to xstore child theme in the same directory:

    
    /wp-content/themes/xstore/woocommerce/content-product.php
    

    On the line 895, 899, 915, 916 – comment out the codes like this:

    
    						//if ( in_array('product_page_addtocart', $product_settings) && ! $just_catalog) {
    							if ( ! in_array( $view, array( 'mask', 'mask3', 'light', 'overlay' ) ) ) {
    								do_action( 'woocommerce_after_shop_loop_item' );
    							}
    							//if ( $with_quantity && ! ($product_type == 'variable' && etheme_get_option( 'swatch_layout_shop', 'default' ) == 'popup') ) {
                                    $q_args = array(
                                        'min_value'   => apply_filters( 'woocommerce_quantity_input_min', $product->get_min_purchase_quantity(), $product ),
                                    );
    
                                    if (
                                        $product->managing_stock()
                                        // $product->get_stock_quantity()
                                    ) {
                                        $q_args['max_value'] = $product->get_stock_quantity();
                                    }
    
                                    echo '<div class="quantity-wrapper">';
                                    woocommerce_quantity_input( $q_args, $product, true );
                                    woocommerce_template_loop_add_to_cart();
                                    echo '</div>';
    							//}
    						//}
    

    https://prnt.sc/_cbYA2cgAYfw

    Hope it helps!

    Avatar: Peter
    Peter
    Participant
    May 15, 2026 at 21:18

    Hi again – revisiting this after a long time. The proposed fix above did not work, and would also be overridden when updating theme. Would you be able to look at this again to see if full support for adding bundles with + # – setting. Please see out website for how it looks now on product categories.

    Avatar: Peter
    Peter
    Participant
    May 15, 2026 at 21:23

    See private content

    Content is visible for topic creator and
    support staff only.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    May 16, 2026 at 08:13

    Hello @Peter,

    The file will not be overwritten if you follow our recommendation to make the modifications in your child theme, as only the parent theme is updated during theme updates.

    Please copy this file from the xstore parent theme to xstore child theme in the same directory:
    /wp-content/themes/xstore/woocommerce/content-product.php

    If you have any specific questions, even after applying the modifications, please clarify them with screenshots so that we can better understand your request.
    Additionally, please provide us with temporary wp-admin access in the private content section.

    Best regards,
    Jack Richardson
    The 8Theme’s Team

  • Viewing 9 results - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.