By default Plug in SEO generates unique page titles and meta descriptions for all of your products, including all variants, improving your ranking and increasing your click-through rate.
If the titles and descriptions being generated by default are not best for your shop you have the option to create a custom template using liquid code.
New to using liquid code? Read our guide here: Plug in SEO Liquid
Option 1: Edit Our Recommended Templates
To make small customizations to your page title or description you can copy the template that we recommend by default and make adjustments.
To edit your title or description template:
- Review the 'Default Title Template' and 'Default Description Template' below
- Copy and paste one into either the relevant collection template field in the Plug in SEO app
- Update the text and liquid code as desired
- Press 'Save and preview'
- Scroll down and view the new title or description in the 'Live Search Engine Preview'
Default Title Template:
%% product.title %%%% product.selected_variant.title || prepend_not_empty: ' ' %% | Stock photo t-shirts for designersDescription template
Default Description Template:
%% product.description || strip_newlines || replace: '.,', ',' || strip_html || escape %%
Example Sample Result Output:
Laughing Woman t-shirt black | stock photo t-shirts for designers
I'll have whatever dressing she has on her salad, thank you. Cheesy stock photo tee of a woman eating salad.
Option 2: Use or Modify a Different Example Templates
What your unique selling points are and how your shop is set up will influence your titles and descriptions. Do you want to highlight your great sale prices? Use product.compare_at_price_max below. Have you tagged your products with keywords like 'formal', 'casual', 'dinner party'? Use product.tags.
Take a look at our most popular options below and then craft the perfect title and description templates for your shop.
New to using liquid code? Read our guide here: Plug in SEO Liquid
product.collections
All of the collections the product belongs to.
Input
Urban %% product.collections || map: 'title' || take: '3' || join: ', ' || remove: 'All, ' || remove: 'All' %% from Stock Photo Tees
Output
Urban T-shirts, Hoodies, Socks from Stock Photo Tees
product.compare_at_price_max
Input
Save on %% product.title %%! Reduced from %% product.compare_at_price_max || money_with_currency %% to %% product.price_min || money_with_currency %%
Output
Save on Laughing Woman t-shirt! Reduced from $49.99 to $32.78
product.price
Input
%% product.title %% from only %% product.price || money_with_currency %%
Output
Laughing Woman t-shirt from only $32.78
product.selected_variant
Input
%% product.selected_variant.title %% %% product.title %%
Output
No selected variant
Laughing Woman t-shirt
Selected variant
Black / Medium Laughing Woman t-shirt
product.selected_or_first_available_variant
Input
%% product.selected_or_first_available_variant.title %% %% product.title %%
Output
No selected variant
White / Small Laughing Woman t-shirt
Selected variant
Black / Medium Laughing Woman t-shirt
product.tags
Input
%% product.tags || join: ', ' %% %% product.title %%
Output
Urban, Trendy Laughing Woman t-shirt
product.template_suffix
Input
%% product.title %% %% product.template_suffix || replace: 'wholesale', '(exclusive wholesale pricing)' %%
Output
product.wholesale.liquid template
Laughing Woman t-shirt (exclusive wholesale pricing)
product.liquid template
Laughing Woman t-shirt
product.title
Input
%% product.title %%
Output
Laughing Woman t-shirt
product.type
Input
%% product.title %% - quality %% product.type %% from Stock Photo Tees
Output
Laughing Woman t-shirt - quality tshirts from Stock Photo Tees
product.variants
Input
%% product.title %% available in %% product.variants || map: 'title' || join: ', ' %%
Output
Laughing Woman t-shirt available in black, white, red
product.vendor
Input
%% product.vendor %% %% product.title %%
Output
Chanel Laughing Woman t-shirt
Option 3: Create a Unique Custom Template
If none of the examples above suit the type of template you would like for your shop you can use any available liquid objects to create a unique template for your shop.
You can view all available liquid objects here:
- All of the Product object attributes
- product_option
- shop
Comments
0 comments
Please sign in to leave a comment.