Set up meta tag for the sub category in the sub category page

Created by Robin Hoang, Modified on Mon, 31 Jul 2017 at 09:37 AM by Robin Hoang


Question: 

I want to set meta tag for the sub category in the sub category page as per below format:


Title: {Sub Category Name} – Shop {Sub Category Name} Products Online
Description: Buy {Sub Category Name} products online at the best price. We offer a wide range of {Parent Category Name}


Is it possible?


 

Answer: 


I am sorry that our module doesn’t support providing {Parent Category Name} variable. However, please refer our solution below if there aren’t too many parent categories on your site:

Please directly add Parent Category Name into the description:

Buy {Sub Category Name} products online at the best price. We offer a wide range of [Parent Category Name]


For example: if the [Parent Category Name] is “Candy”, then the template will be:

Buy {Sub Category Name} products online at the best price. We offer a wide range of Candy.


Then, all Sub Categories should be assigned this template.

 

For more information about product, please refer Meta Tags Template for Magento 2 page.
If you need any further assistance, please feel free to contact us.

Please visit our site for more useful Magento 2 Extensions: https://bsscommerce.com/magento-2-extensions.html

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article