This topic has 19 replies, 3 voices, and was last updated 2 months, 2 weeks ago ago by Luca Rossi
Hello, a long time ago you helped us to make a text instead of the basket icon on the Add to cart buttons, is it possible to return it? To show you more precisely how to return it, we will do it ourselves a little later
I understand correctly that you need to remove the code from the css style and something from the documents /wp-content/themes/xstore-child/woocommerce/content-product-slider.php and /wp-content/themes/xstore-child/woocommerce/content-product.php But I don’t know what exactly
Dear @Goostaf,
We hope this message finds you well. If you have implemented customizations in the specified files, we recommend renaming the WooCommerce folder or the individual files by appending the prefix ‘-old’ to their names. Also, you should temporary remove the CSS that was implemented for such case too. Please proceed with this modification and verify if the issue persists.
Should you require further assistance, do not hesitate to contact us.
Best Regards,
Jack Richardson
The 8Theme Team
I removed the style and added it to the files, but nothing changes, the inscription remains
Maybe I’m not asking the question correctly, we want to return the standard icon to the Add to Cart buttons, instead of the text, as it is now 🙂
If you can, just write us how to do it ourselves, we will update the theme and do it
Hi @Goostaf,
We’re not sure which custom codes you updated but you can take a look at this file from your child theme: xstore-child/woocommerce/content-product.php.
Please note that the issues are coming from the custom codes are out of scope our support standard service we provides.
Thanks for understanding!
Best Regards,
The 8Theme Team
You just did it for us, now we want to return the standard method, but we don’t know how, because you did something else in files in this topic: https://www.8theme.com/topic/is-it-possible-to-replace-the-trash-icon-with-the-word-add-to-trash/#post-310548 besides the style
I don’t understand how to return the icon instead of the text6 what you wrote in the topic, I edit, but nothing comes back, the icon only works when I click Add to cart with quantity, this icon is needed everywhere instead of the word “To cart”, can I do it?
I hope I described it clearly, in general, we just want to return the trash icon instead of the text, if possible
that’s how we did it, if you can remove the quantity selection and raise the button as we had on the screenshot, we will be very happy
and for some reason, the products are not available, the icon is also not displayed
I will write again to summarize
1. now we have set the Add to cart with quantity setting and this partially solves our problem, the only thing is if you can remove the quantity selection, leave only the button and raise it, it will be great.
2. There is no text on the buttons in the products, instead of an icon, can this be corrected?
Hi @Goostaf,
Please try adding this custom CSS:
.content-product .quantity-wrapper {position: absolute;top: 25px;}
.content-product .quantity-wrapper .quantity {
opacity: 0;
}
2. There is no text on the buttons in the products, instead of an icon, can this be corrected?
Can you please provide some screenshots? We’re still not clear.
Thank you!
1. Thank you very much!
2. I wrote it wrong, the items that have the status “Out of stock” have text instead of the icon for some reason.
Hi @Goostaf,
In this case, we suggest you to hide the add to cart button when products are out-of-stock:
.product.outofstock a.button.product_type_simple {
display: none;
}
Best Regards,
The 8Theme Team
Thank you, we will do so 🙂
If you need anything else, feel free to let us know.
Best Regards,
The 8Theme Team
You must be logged in to reply to this topic.Log in/Sign up