Chifoomi Posted March 10, 2021 Share Posted March 10, 2021 (edited) Hi there, I have a newbie question regarding canonical urls. I'm setting up a clothes store. I don't want to use combinations for colors, meaning one different product per color. So I need to set one product as "default". i.e the black t-shirt will be the canonical for the grey and white one. I can't find a simple way to to get {$product.canonical_url} calculated if id_type_redirected is not null. Any help will be greatly appreciated. Many Thanks. Edited March 10, 2021 by Chifoomi (see edit history) Link to comment Share on other sites More sharing options...
juanrojas Posted March 10, 2021 Share Posted March 10, 2021 hello, take a look at this module I think it can help for what you need because it does not show the combination in the url Link to comment Share on other sites More sharing options...
Chifoomi Posted March 10, 2021 Author Share Posted March 10, 2021 Hi, unfortunately, this does not solve my issue. I'd like to use product.id_type_redirected to dynamically calculate canonical_url for product pages. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now