Hey there!
You are correct, this does come from your theme. From your description, it sounds like this change may require some changes to the JavaScript of the theme – I would recommend contacting the developer as they may have a snippet for this. I’m also going to leave it open for a bit to see if anyone is able to chime in to help you out.
I can also recommend the following places for more development-oriented questions if you don’t receive an answer here or from the theme developer:
- WooCommerce Slack Community: https://woocommerce.com/community-slack/
- Advanced WooCommerce group on Facebook: https://www.facebook.com/groups/advanced.woocommerce/
Thread Starter
Fujyn
(@arwah12)
Hi @fevered
can you help me to change my position via css
how to call him
Hi there!
If you provide the URL for your site I may be able to take a look to see if this can be done via CSS.
Regarding contacting the theme developer, I am not sure if they have some contact details in the theme details but that may be a place to try – or by filing an issue on the GitHub repo for the theme, that could work
Thread Starter
Fujyn
(@arwah12)
Hey there,
Try this code, it may work but I am not sure if it may change the site otherwise:
.woocommerce ul.products li.product .item-button a.added_to_cart {
display: none !important;
}
Thread Starter
Fujyn
(@arwah12)
hi @fevered this was successfully hidden,
thanks.
@crslz I have hidden it via css
but, when we click “add to cart” 2x out the notification that the product cannot be added to the basket again,
example You cannot add another “product name” to your basket.
how to change the text, for example “product name” is already in the basket
via function.php or in other ways.
thank
screenshot https://i.paste.pics/a10ae4d25b80695fb145d61abae73122.png
-
This reply was modified 6 years ago by
Fujyn.
The easiest way to change that text would be to use a translation plugin. I like using Say What? for small changes like this. It could also be changed in the code, but that is a bit more complex.
Hey there, since I haven’t heard back from you I’ll mark this thread as resolved now. If you have any further questions, I recommend creating a new thread.