I’m struggling to add a content box with some videos in my product page template. It shows correctly in the editor, but when I preview it, it simply does not appear. The same box is in the home page: no issues over there. What could be the cause?
I’m having a similar issue. Sections and also blocks can’t be properly added to the product page. Some correctly appear in the theme editor, but aren’t rendered at all in the preview. Another oddity: Hiding blocks is properly represented in the shop, but I also cannot move blocks around. The changes don’t affect the product page at all.
Also after deleting a block, I can’t re-add it. It then suffers from the same issue. Is there a problem with syncing the underlying template JSONs?
The reason for my issue was that I wasn’t aware somebody in our team created a different product page template for our main market.
So while editing the product page, I was actually editing all other markets, but when I hit preview it would obviously show the standard market and hence a different template. When changing the market the changes appeared correctly.
It’s a weird issue and Shopify’s theme editor unfortunately does not do a good job hinting at changes to a template in a different market. But what you can do is go to the code editor, search for files named “context”, and see whether this might be the issue for you as well.