I am trying to edit the Product and checkout Page on Woocommerce. WE have a Divi theme installed, but it doesn’t allow me to customize the product page. Does anyone know where I can find the files that generate the product page so I can edit them? For example, I want to remove the product image, and make it a 2 column layout instead of 1. I know PHP/HTML/JS/CSS so I can edit it once I find out where to edit.
3
Answers
In order to override the woocommerce templates you look for:
woocomerce folder
in your theme root folder then, add one and name itwoocommerce
likeYourTheme->woocommerce
woocommerce
folder add a folder and name itcheckout
wp-content->plugins->woocommerce->templates->checkout
and copy thefiles that you want to override in you
theme->woocommerce->checkout
folder
wp-content->plugins->woocommerce->templates
you will also find thecontent-product.php
&content-single-product.php
. Copy both and add them to yourtheme->woocommerce folder
.You can then start editing the files you want to change
Divi has the Theme Builder which can definitely let you custom design a Product page: https://www.elegantthemes.com/blog/theme-releases/divi-4
Here are some examples:
First, you need to create the Child Theme.
Then, go to the WooCommerce folder of the Child Theme, here is the template hierarchy for the checkout page: https://woocommerce.com/document/template-structure/
http://www.YourWebsiteURL.com/woocommerce.5.9.0/woocommerce/templates/checkout/ Here you can access the checkout templates.
Let me know if that helps!