This topic has 4 replies, 2 voices, and was last updated 6 years, 6 months ago ago by Rose Tyler
Can I clone Single product page template, customise it and use on certain product pages?
If so how can I do it?
Which file should be cloned etc
Thanks
Hello,
Our theme has a few layouts for single product pages and some of them have own files for that, such as http://prntscr.com/jzekqi option requires xstore/woocommerce/single-product-content-booking.php file,
http://prntscr.com/jzel30 for ->
xstore/woocommerce/single-product-content-center.php
http://prntscr.com/jzelio requires ->
xstore/woocommerce/single-product-content-fixed.php
if you want to customize any of these templates go ahead via copying the files and make changes in them from child-theme
if you are using any other layout and want to make some changes in it then copy
xstore/woocommerce/single-product-content.php (the common content here) and xstore/woocommerce/content-single-product.php (other elements here)
Also, you have to apply some template for some products and not for all then make such condition
http://prntscr.com/jzerao (default content-single-product.php)
there are these types of layout:
small
default
xsmall
large
fixed
center
wide
right
booking
here (http://prntscr.com/jzenl6) takes the layout for single product
Regards
Appreciate your help
Hello,
You’re welcome!
Regards
You must be logged in to reply to this topic.Log in/Sign up