1
votes

I have experience with Wordpress & Woocommerce but this is the first time I have used Divi + Woocommerce and it's been a while since I worked with WP so I may be a little rusty. I am a full stack developer so any technical answers are fine.

I have created a child theme without any issues but when I try to copy the Woocommerce folder into the child theme to make changes to the .php file (e.g. /child-theme/woocommerce/templates/content-product.php) as I have done before (non-divi) it doesn't override.

I have added the child theme comment to the child theme styles.css as follows

/*
Theme Name: Theme Child
Version: 1.0
Description: Child theme for Main theme.
Author: Me
Template: theme 
*/
1
Is the new .php file in your Appearance > Editor (right sidebar). I'm also using Divi + WC (lovin' Divi).Sal B
No it's not there. It's not a custom template file BTW. It's a copy of the woocommerce file /woocommerce/templates/content-product.phpOliver Millington

1 Answers

2
votes

I needed to remove the subdirectory "templates" from the child theme woocommerce folder.