0

I have created a mega menu via one module in which i am facing a weird problem of url change. When i am on the homepage, category page or on product page the menu product URLs are working fine but on the cart page the menu product URLs are being changed to http://www.mysite.com/checkout/cart/product.html rather than http://www.mysite.com/product.html.

This issue get corrected when I flush the cache.

1
  • How do you generate the URLs in the menu? Commented Aug 12, 2013 at 14:22

1 Answer 1

1

Looks like you are using relative links.

Do you links look like

link.html /link.html ../link.html ../../link.html

or something like that?

Try using just /link.html or put the store url like {{store url=""}}

You can use it like {{store url=""}}link.html or {{store url="link.html"}} either works for me though Im not sure which is technically correct.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.