Remove Footer from Product page only - Using theme Dawn V-5.0.5

Looking for assistance in removing footer featuring About us, open hours etc.. - completely from Specific (Product) pages only?

Any assistance is appreciated,
Thanks Sarah.

Hi @Sarahdcj ,

That is way challenging. We have to know what specific product it is?

But to remove the footer when the user goes to the product page, you simply have to do the following.

  1. Go to your Admin store > Online store > Themes > Click Actions > Edit code

  2. Open the theme.liquid file under your Layout folder.

  3. Find the code {% section ‘footer’ %} and replace it with the code below.

{% unless template == "product" %}
  {% section 'footer' %}
{% endunless %}

Hey thanks for the reply!
I’m looking to remover it from all products - if that makes sense?>

Thanks Sarah

Great! Then the code above should work

Yes sorted, Amazing work! Thanks so much for your help!

Please accept as a solution if that helps so this will be tag solved. Thank you