When a category is loaded, it uses links that lead to the category. How to add a field for the link in the category and if the field is filled in, as a result, the link by clicking on the category will go to the link that is indicated in the custom field?

1 Answer 1


No need to do that. Just create url rewrite from category to some custom link when you need to do that. If do not need it anymore, just delete url rewrite. Url rewrites can be found in admin Marketing > Seo & Search > Url rewrites. This way you won't need any coding, no workarounds.

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.