Shopify themes, liquid, logos, and UX
I set up localization using Translate & Adapt (EN and FR). I have a couple of pages that have been created by 3rd party apps (still within my site), and I've added links to them in the menu by adding customzied URLs instead of selecting pages within the Shopify system (i.e. instead of selecting a page from Products, Collections, or Pages, I added "https://www.myshop.com/apps/xxxxxxxxx" manually.) When I switch the language to FR on the home page and try to navigate to these app-created pages, it takes me to the EN page (because the linked page URLs in the menu don't have "fr/" in the URL.) Once I get to that page (by this time, it has changed back to EN) and I click FR in the language dropdown, the page does load "fr/" page correctly. It just seems that the URLs in the menu don't seem to add "fr/" when "FR" is chosen from the language menu.
Solved! Go to the solution
This is an accepted solution.
Figured out why it wasn't working. I had to use a relative path instead of a fully qualified URL. Changing the above link to /apps/xxxxxxxxxxxxx worked.
This is an accepted solution.
Figured out why it wasn't working. I had to use a relative path instead of a fully qualified URL. Changing the above link to /apps/xxxxxxxxxxxxx worked.
I have the EXACT same problem with custom links in my menu. I did try to put relative links in the menu instead and it still goes back to french when I am in english. What am I doing wrong?
OK SOLVED! For anyone who face the same issue, specifically with translated filters being the target.
Relative links is the first step but you also have to add both languages for the filter in the url : /collection/nameofthecollection?filter.p.product_type=NAMEINFRENCH&filter.p.product_type=NAMEINENGLISH
For example if the filter is "Shirt"
/collection/nameofthecollection?filter.p.product_type=Chemises&filter.p.product_type=Shirts
A bit tedious but it does work!
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024