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>

 



Written by: Jake Lett
Jake Lett is a results-driven B2B marketing consultant with 15+ years of experience helping businesses boost online visibility, generate qualified leads, and increase sales. Specializing in SEO, HubSpot, and PPC campaign management, Jake leverages proven strategies to deliver measurable growth. As a Certified Google Ads Specialist and HubSpot Developer, he is committed to driving impactful results for his clients.

Topic:

Related posts

Tags:

Want to Get Email Updates of New Articles?

Join My Email Newsletter