Gomlers Posted October 25, 2017 Share Posted October 25, 2017 (edited) I want to add the name for the product's main category to the products meta title. So if I have category: Garden Equipment and Product Waterhose I want to have this result for the product meta title: Waterhose | Garden Equipment Can I use only smarty, by adding something like this to the header.tpl: {if $page_name == 'product'} get the product's main category and add this to the product meta title {/if} ? Edited October 25, 2017 by Gomlers (see edit history) Link to comment Share on other sites More sharing options...
Gomlers Posted October 26, 2017 Author Share Posted October 26, 2017 I hate this, and sorry - but I really want to fix this, so bump Link to comment Share on other sites More sharing options...
Gomlers Posted October 30, 2017 Author Share Posted October 30, 2017 No one can tell me how I can change the product meta-titles to show like "Product name | Parent category" ? 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