How to Dynamically Set BigCommerce Title Tags


How to Dynamically Set BigCommerce Title Tags

BigCommerce does not provide an easy way to make bulk title tag changes in their admin. However you can update your theme files to dynamically set the title tag based on the template being used. Below is what I have used with custom stores I have built.

<title>{{#if template '==' 'pages/product'}}{{product.brand.name}} {{ head.title }}{{else if template '==' 'pages/category'}}Buy {{category.name}} Online - {{settings.store_name}}{{else if template '==' 'pages/brand'}}Buy {{brand.name}} Online - {{settings.store_name}}{{else if template '==' 'pages/home'}}{{ head.title }}{{else}}{{ head.title }} - {{settings.store_name}}{{/if}}</title>

 


About the Author

Jacob Lett is the founder of Bootstrap Creative, a digital marketing consultancy that helps Michigan manufacturers generate qualified leads through HubSpot, technical SEO, and Google Ads. With over a decade of hands-on experience, he acts as a direct partner for B2B companies seeking measurable ROI from their marketing investment.



Topic:

Related posts

Tags:

| Read My Editorial Policy

Want to Get Email Updates of New Articles?

Join My Email Newsletter