D
D
dicem2017-02-19 14:20:48
PHP
dicem, 2017-02-19 14:20:48

How to override get_price_html() function?

Greetings! I use Wordpress + Woocommece. There was a need to customize single-product.php, that is, displaying the product page. Now you need to change the price display:

<p class="price"><?php echo $product->get_price_html(); ?></p>

Conclusion:
e8dadc14f6314a7ba13d438935cd6311.PNG
So the question is, where is this function get_price_html(); ? How can I override it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Axian Ltd., 2017-02-19
@dicem

Yes.... woocommerce.wp-a2z.org/oik_api/wc_productget_price_html
wpcommerce.ru/threads/pereopredelit-vyvod-get_pric...
If you only ask your question to Google - https://www.google.ru/search?client =ubuntu&channel...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question