Please help.
]]>We have 2 problems with your plugin
1. When we select Quick View on any component it also shows “Add to cart” and this will confuse the users that they can also buy components separately and we don’t sell components separately. So the Add to cart option should be hidden on Components Quick View.
2. When we select the component, the total price below doesn’t get’s automatically updated, we have to add to the cart to check the total, and this will also confuse the customers because in total below it always shows the base price of the Main Composite Product and not the total of the all components that the user selects.
Can you please help me with these two issues ?
]]>2. add_action( ‘woocommerce_after_shop_loop_item_title’, ‘hide_loop_product_prices’, 1 );
function hide_loop_product_prices(){
global $product;
if( is_product_category(‘appliances’) || has_term( ‘appliances’, ‘product_cat’, $product->get_id() ) ){
// Hide add-to-cart button
remove_action(‘woocommerce_after_shop_loop_item’,’woocommerce_template_loop_add_to_cart’, 30 );
}
else
{
add_action( ‘woocommerce_after_shop_loop_item’, ‘woocommerce_template_loop_add_to_cart’, 30 );
add_action(‘woocommerce_after_shop_loop_item_title’, ‘woocommerce_template_loop_price’, 30 );
}
}
3. add_action( ‘woocommerce_after_shop_loop_item’, ‘remove_add_to_cart_buttons’, 1 );
function remove_add_to_cart_buttons() {
if( has_term( array(‘appliances’,’home-appliances’,’refrigerators’)) || is_shop()) {
remove_action( ‘woocommerce_after_shop_loop_item’, ‘woocommerce_template_loop_add_to_cart’);
}
}
but still showing add-to-cart buttons in shop/related page. I’ve placed the codes in function.php using my Astra child theme.. Any help really appreciated. Thank you in advance!
]]>Thanks for making such a wonderful plugin.
I am wondering that is it possible to remove “Add to cart” button from my Woocommerce site and want to add “Buy on WhatsApp button” in such a way that whenever the customer clicks on this button, all the details like {SITE} {URL} {TITLE} {PRODUCT} {SKU} {PRICE} etc goes on our Whatsapp no. So that we can know the customer requirement on our Whatsapp and take the order. Just like Plugin “WhatsButton – Leads and Order over Chat”
If you have any solution for it then please let me know it will help me a lot.
]]>Thanks for developing such a nice plugin.
While using I have noticed some issue:
1. while customer clicks on Order on Whatsapp button it uses only these tags:
{PRODUCT_NAME}, {PRODUCT_URL}, {PRODUCT_PRICE}, {PAGE_URL}.
If we want to share other variables like Qty, Size, Color, etc than how can we share by default.
If you can help on this matter than it will be great.
]]>Looking forward to your reply – and thanks.
Kind regards
Andre Herbst.
I would like to disable the cart functionalty completely. I have already removed the cart as a page and button but when the user comes back to the website, it says “This item is in your Cart..etc..”. However, as we have the cart page removed from the frontend website, they can not access it and therefore can not buy the item.
Is there a way to automatically empty the cart upon exit of the website?
]]>I guess I would need to add the changed file to my child theme?
Thanks
Links to pages.
https://eastbournefhs.org.uk/wp/?wpsc_product_category=membership-join-renew
https://eastbournefhs.org.uk/wp/?wpsc-product=overseas-membership