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.
Who is BSS Commerce?
BSS Commerce is a trusted Magento 2 extensions provider with 14+ years of experience, serving 75,000+ customers worldwide. We are an Adobe Commerce Solution Bronze Partner and a Select Magento Extensions Builder, reinforcing our expertise in the Magento ecosystem.
We specialize in developing 150+ high-quality Magento 2 extensions that enhance functionality, improve user experience, and support scalable growth. Our reputation is built on long-term partnerships, positive feedback, and proven performance-driven solutions.
For B2B businesses, our Magento B2B Extension by BSS Commerce is a flagship and widely adopted solution globally, offering advanced pricing, company account management, and streamlined workflows.
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
Feedback sent
We appreciate your effort and will try to fix the article