Cannot locate the .php file of the products
-
Hello,
I am trying to locate the product page of the template through Appearance->Theme File Editor in order to add a piece of code that I want to appear in each product page. I want it to appear just below the “add to cart” button. I would like help to locate the php file in which I should add that little piece of code.
thanks in advance
Hello,
You can find this file in woodmart/woocommerce/content-product-*.php
the end file name depends on the product hover style.
Kind Regards
Hello,
I am using “Icons & add to cart on hover” style. I go to Appearance->Theme file editor but I cannot locate such .php file.
I have a piece of code from the Handprint tool that I want to put just below the “add to cart” button inside the product page (see photo attached). Ι want it to appear just exactly the attached photo “handprint.png”.
thanks in advance
Attachments:
You must be
logged in to view attached files.
Try to edit this file which is responsible for this hover style content-product-alt.php
.
Kind Regards
I just did that, but it adds the extra piece of code at the “Featured Products” in the main front page. Nothing happens inside the singe product page.
I want it to appear like this url here: https://kualesa.co/products/solid-polo?variant=44693064646963
Hello,
If you are interested in adding extra content to the single product page we recommend you build a custom layout for the single product entirely with Elementor. You can read more about how to do this in our documentation here https://xtemos.com/docs-topic/single-product-page-builder/
As an alternative, you can use the “After “Add to cart button”” field in Theme Settings -> Single Product -> Add to cart.
Kind Regards
The “”after” add to cart button” field did the job actually! Thanks a lot.
Great, you are welcome! Feel free to contact us if you have any further questions.
The topic ‘Cannot locate the .php file of the products’ is closed to new replies.