Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #24025

    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?

    #122054

    Hey!

    Please post the code of your templates. You can use: https://gist.github.com/

    Regards,

    Peter

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Undefined $product’ is closed to new replies.