Hello! I have a rather odd problem that I have an idea of how to fix but want to proceed with the advice of a professional. When I started the store, I created 2 product templates for 2 of my products. In the meantime, the product names have changed from “coat and fur” to “skin and coat”. I wanted to rename them, but it was said that it might affect my store if I did so. So I decided to delete the templates instead and create new ones with the proper names.
The problem is that now after I installed Translate and Adapt and translated the site from Romanian to English, the page product is different when I go in the view mode of the store than it is in the customize mode of the store.
I think that when I deleted the old templates, I didn’t do so properly and have some “left overs”. I only deleted the product.coats-and-fury.json templates but not the product.coats-and-fury.context.json ones, and I think that now it interferes with my new templates.
Per market of your store will have different product page templates
Ok, you’re on to something, but how do I make it so that when I change the language of the store to English, I see the translated version of the product page from Romanian to English (or even just the default version) and not some other template from another market?
Found myself the solution for future searches in case someone needs help with the same problem I had. As Dan-From-Ryviu said, once you have different markets for your store, there are created different templates per market (don’t get why that is happening automatically, I didn’t do a thing and all of a sudden, when I was doing changes to my “default” template of a product, nothing would have happened to the store when I was viewing it).
The solution is: When you are in customize mode of a product template, usually you are on the default mode of it. If you want the version of a template from a selected market to be set to the default, select the market as seen in the Dan’s post, then go the left panel where the customizable sections are and click the to circling arrows right next to Template title and it will say “switch to the default template” and the “market” template will be switched to the “default” template, and that’s it. At least that’s what I needed and this is how I worked it out.
Apparently the “market” templates override the “default” template, so as long as you make changes to the default one, nothing will change to the market template. Hope this will help someone in the future to better understand how contextual templates work with markets.
Best wishes and a good day!