Skip to content

Conversation

@Kashyap1999
Copy link

Description

When adding a Custom URL menu item, internal paths like /contact or contact didn’t include the store’s base URL when “Add Store Code to URLs” was enabled.

This caused links to break on non-default store views — for example, /contact rendered as /contact instead of /storeB/contact.

Fix:

  • Added logic to resolve internal URLs with the correct store base URL (including store code).
  • Updated templates to use the resolved URL method.
  • External URLs (e.g., https://google.com) remain unaffected.

Fixes #376.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants