If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
I’ve created a custom archive-product.php and content-product.php for my /shop/ page. I currently get an error saying that $product isn’t defined (which, of course, it is – it’s global on this page).
I’ve tried the exact same files in other themes and it works fine, so I know it’s something to do with Enfold, but I have no idea what.
Any suggestions on where to look?
The topic ‘Undefined $product’ is closed to new replies.