Instagram share button on the product page + Hide prices and total amount to pay
-
Hello,
How Can I add Instagram’s share button on the product page?
I could hide the price on the product page using this code on the fonctions.php:
add_filter(‘woocommerce_get_price_html’, ‘codepopular_hide_woo_price’);
function codepopular_hide_woo_price($price){
return $price = “”;
}
But how can I hide prices and the total amount to pay on the sidebar, on the cart page, and on the checkout page? please find attached screenshots for more details.
Please get back to me asap.
Best regards,
Attachments:
You must be
logged in to view attached files.
Hello,
1) Instagram does not have an option of sharing by its nature. You can only provide the link to Instagram.
2) Please try adding the following Custom CSS in the Global Custom CSS area under Theme Settings >> Custom CSS.
.widget_shopping_cart .mini_cart_item .woocommerce-Price-amount.amount {
display: none;
}
.cart-widget-side .widget_shopping_cart .total {
display: none;
}
.product-price, .product-subtotal {
display: none;
}
.cart-subtotal, .order-total {
display: none;
}
.woocommerce-checkout-review-order-table td.product-total {
display: none;
}
.woocommerce-checkout-review-order-table .cart-subtotal {
display: none;
}
tr.order-total td strong {
display: none;
}
Regards.
Xtemos Studios.