I
I
imaniman2020-09-01 10:46:57
WooCommerce
imaniman, 2020-09-01 10:46:57

How to find layout of woocommerce functions?

Hello everyone, help me figure it out, I didn’t work in the VP before, I got a site that was made by another person before me, in the content-single-product.php file, 3 woocommerce_template_single_price ()
functions are responsible for displaying the main content ;
//Price
woocommerce_template_single_add_to_cart();//Button
do_action( 'woocommerce_before_single_product_summary' ); // Display of the left side (YouTube)
?>
I can’t get to the bottom of their html display, and the html that I write in this file does not work, it turns out like this,

5f4dfb1abd231835219730.jpeg

but I need to do it like this, I

5f4dfc2540016391873808.jpeg
attach the theme files for everyone, because I don’t even know which parts of the code to attach
Theme files

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton R., 2020-09-01
@anton_reut

themes\astra-child\content-single-product.php
But there is a mess of working and commented code, pzdts...
In general, learn to search by the contents of the files.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question