D
D
danil_linkins2016-12-19 12:10:41
HTML
danil_linkins, 2016-12-19 12:10:41

How to make a buy button in the list of products with text and a link to the entire button?

7b0e999d929644fab4cf6d13b8182e2f.jpg
dymovceramic.ru/product-category/fayans/seriya-kraft
How can I replace this icon with text? in the woocommerce templates there is a hook for the add product button, but where the link with the icon itself is formed, I have no idea, I tried to find it in the theme and plugin settings, it’s useless, I couldn’t find the hook in the template either, maybe I already did something like that?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dima, 2016-12-19
@CRYPTOMUSK

If I understood correctly, then font aweasome is used there, the class is class = "fa fa-shopping-cart".
Try to search and replace / delete in the theme code.

P
Pavel, 2016-12-19
@PavelFokeev

Look for code with a class in templates

woocommerce-price-currencySymbol
For example.
The whole html code of the button:
<span class="price"><span class="woocommerce-Price-amount amount"><span class="woocommerce-Price-currencySymbol"><span class=rur >&#x440;<span>&#x443;&#x431;.</span></span></span>&nbsp;920</span></span>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question