ADD TO CART BUTTON AS ICON
-
Hello there.
Is it possible to show only an icon as and “add to cart button” on category archives?
I have used this code to hide add to cart text
// To change add to cart text on product archives(Collection) page
add_filter( ‘woocommerce_product_add_to_cart_text’, ‘woocommerce_custom_product_add_to_cart_text’ );
function woocommerce_custom_product_add_to_cart_text() {
return __( ”, ‘woocommerce’ );
But the result is this.
https://youtu.be/my0AkMt9K5k
I want the icon to be displayed before hover and after hover. All the time.
Also, it would be great if, after clicked, there was a “tick”, a check box.
See this example please from another theme I tested…
https://youtu.be/EUvE9sTAlp0
Hello,
I watched the video you attached.
Sorry but it is not possible to add the tick as you required to be added with the add to cart icon. It requires customizations and this is beyond our limitations and support policy.
Therefore to remove the animation from the icon try adding the following Custom CSS in the Global Custom CSS area under Theme Settings >> Custom CSS.
.wd-add-btn-replace .add-to-cart-loop:before {
transform: none !important;
}
Best Regards
That’s enough for me. Thank you!
Most Welcome!!!
I’m so happy to hear you are pleased with the Theme and Support. XTEMOS strives to deliver the best customer experience, and it makes our day to hear we have accomplished that.
We count ourselves lucky to have you as a customer. You can always reach us at any time. We are always here to help you.
Thanks for contacting us.
Have a great day.
Topic Closed.
Best Regards.
The topic ‘ADD TO CART BUTTON AS ICON’ is closed to new replies.