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
This topic has 9 replies, 4 voices, and was last updated 3 days, 11 hours ago ago by Jack Richardson
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
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
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?
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
Hi Luca,
Please see attached info:
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>';
//}
//}
Hope it helps!
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.
See private content
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
You must be logged in to reply to this topic.Log in/Sign up