If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
If you make a normal page in wordpress and you want to change things you can edit the page.php file. But where can I found the php file of the product page?
hey! the product page is located in the woocommerce plugin folder at templates single-product.php
however woocommerce uses a very sophisticated “hook” system so themes can apply there own structure to template. depending on what you want to accomplish you either can add the code directly to the single-product.php file or you need to hook into those advanced functions that woocommerce provides…
Well, I want to add a custom div under the page. I don´t know if this is possible?
Yes, just create a div below <?php do_action(‘woocommerce_after_shop_loop’); ?> on the loop-shop.php file inside woocommerce templates folder.
It works not entirely as it shoot. In the main collection it shows the div (not in the right position) but when I go to a single product page it is gone. Well I have a second tab and if I click on it it appears. So it is not on every page.
The topic ‘Product page’ is closed to new replies.