Hi,
I’m working on some changes to a product page and I’ve got the code below that renders out some technical specs from Bonify custom fields and some collection level info but there’s something clearly a little off and I can’t figure out what!
Basically, I’m using Shopify CLI for local development and my changes are displaying exactly as expected on the local environment (see screenshot with 1 & 2 on it for what I expect to see) but when I put the exact same code on my live site (I’m literally pasting it into the relevant template in the Edit Code part of my theme on live site) it’s not rendering.
The product data and fields are all there, they’ve got the same names etc.
This is the first time something like this has happened where a change has worked locally but the exact same code won’t run on my live site - I assume something is wrong somewhere in the loop but I can’t see it. Any ideas gratefully received
My template code for this section is currently:
Here’s what it should look like (local and live with the above code running on both)
Local version using Shopify CLI for dev:
Live site with code above pasted into the theme editor renders this: