title showing on all pages - how can i remove so it only shows on certain pages

Topic summary

Issue: A page footer title “recommended product for ‘Title’” appears on all pages. The merchant wants it to show only on pages that actually have recommended products (set via metafields), not on pages like Corporate Social Responsibility.

Context: In Shopify, multiple pages currently share the same template (layout). Recommended products are added as a block within that shared template. Metafields are custom fields used to attach product/page-specific data.

Proposed solution: Duplicate the template, remove the recommended products block from the original, and assign the duplicate to the specific “office” page that needs the section. Screenshots were provided to illustrate the steps.

Complication: After duplicating, the merchant reports lost formatting (small icons, half-width images) and prefers avoiding template duplication. They ask if a conditional (“if” statement) could show the title/section only when metafields are present.

Latest update / Next steps: The helper asked for collaborator access via DM to fix it directly.

Status: Unresolved/ongoing. Key open item is implementing a conditional render based on metafields or resolving formatting discrepancies in the duplicated template. Screenshots are central to understanding the examples.

Summarized with AI on December 22. AI used: gpt-5.

Hi

i have some pages - under browse by area on the menu

my website is www.infraredheatingsupplies.com

at the bottom of these pages there is a title which says ’ recommended product for ‘Title’

title being the title of the page

see example below:

however all my other pages should not have this title which dont have the recommended products - see below my other page example which is my page for corporate social responsibility. as you can see the recommended products title also shows here

please can someone advise how i can remove this from all other pages so that it only shows on the pages where there are recommended products. the recommended products are set as metafields

Hey @ihs1 ,

Currently all of the collection pages share the same template. You’ll need to duplicate the template and apply it to the office page.

  1. Duplicate the template according to the photo. Make sure to base it on the original template so all your settings are carried over.
  2. Remove the recommended products block from the original one.
  3. Assign the new page to office.

HI

i have tried this but i lose all my formatting on the new page, so all the icons are really small, the pictures are only half the page etc etc

is there not way of doing this without creating a new template - becuase this was all done by a expert, where as i dont really want to create a new template and have to do all the formatting and ccs again

i heard there is a thing called if condition in coding. maybe there is a way to do it this way

Hey @ihs1

Could you DM me the collaborator code? I’ll try and get this sorted.

https://help.shopify.com/en/manual/your-account/staff-accounts/collaborator-accounts

1 Like