Remove image / logo from Product Page template

Solved
Highlighted
Tourist
5 1 0

Hi, I am trying to remove a Veteran Owned logo and a 100% Guarantee logo from the template of my product pages. I had these logo's inserted last year by a specialist who kindly customised my template for me. I'm sure it is a really quick fix, but my knowledge of liquid code is very limited. I've looked at the code but cannot seem to locate where these two images might be hiding! Was hoping it was a case of just deleting a couple of lines of code so they are removed from current product listings, and automatically do not appear for new product uploads.  Unfortunately I'm not in position financially to go back to the developer who helped me in the first place, so am really hoping I can work this out with a little bit of help!Veteran and 100% guarantee removingVeteran and 100% guarantee removing

0 Likes
Highlighted
Shopify Partner
3237 710 860

@Bentls 

Please share your website URL. I will check and provide a solution here.

Thanks!

If helpful then please Like and Accept Solution.
Do you need custom changes on store ? Hire me.
Feel free to Contact me on dmw.webartisan@gmail.com
Follow us on Instagram @dmw.webartisan
0 Likes
Highlighted
Tourist
5 1 0

Hi my website is:

https://www.lovehopeandglory.com/ 

My Shopify back end URL is different, (I changed the website name after I created the Shopify account) although they are linked and are one and the same thing. I only have one Shopify store and one website. 

0 Likes
Highlighted
Shopify Partner
3237 710 860

@Bentls 

Please provide a liquid code of sections/product-template.liquid file.

Thanks!

If helpful then please Like and Accept Solution.
Do you need custom changes on store ? Hire me.
Feel free to Contact me on dmw.webartisan@gmail.com
Follow us on Instagram @dmw.webartisan
0 Likes
Highlighted
Tourist
5 1 0

<div class="sixteen columns">
<div class="clearfix breadcrumb">
<div class="right">
{% if collection.previous_product %}
<a href="{{ collection.previous_product }}"><span class="prev icon-arrow-left"></span></a>
{% endif %}
{% if collection.next_product %}
<a href="{{ collection.next_product }}"><span class="next icon-arrow-right"></span></a>
{% endif %}
</div>
</div>
</div>

{% comment %}Check to see if sidebar should be enabled{% endcomment %}
{% if section.blocks.size > 0 %}
{% assign sidebar = true %}
{% else %}
{% assign sidebar = false %}
{% endif %}

{% if sidebar %}
{% include 'sidebar' %}
<div class="twelve columns">
<div class="product-{{ product.id }}">
{% else %}
<div class="sixteen columns">
<div class="product-{{ product.id }}">
{% endif %}

<div class="section product_section clearfix {% if product.images.size > 1 %}thumbnail_position--{{settings.thumbnail_position}} {% endif %} product_slideshow_animation--{{settings.product_slideshow_animation}}"
data-thumbnail="{{settings.thumbnail_position}}"
data-slideshow-animation="{{settings.product_slideshow_animation}}"
data-slideshow-speed="{{settings.slideshow_speed}}"
itemscope itemtype="http://schema.org/Product">

<div class="{% if sidebar %}six{% else %}eight{% endif %} columns product-image--align-{{ section.settings.product_images_position }} {% if section.settings.product_images_position == 'left' %}alpha{% else %}omega{% endif %}">
{% include 'product-images' %}
</div>

<div class="{% if sidebar %}six{% else %}eight{% endif %} columns {% if section.settings.product_images_position == 'left' %}omega{% else %}alpha{% endif %}">

{% assign collection_handles = product.collections | map: 'handle' %}
{% assign variant = product.selected_or_first_available_variant %}

{% if collection and section.settings.product_breadcrumb %}
<a class="product_collection" title="{{ collection.title | escape }}" href="{{ collection.url }}">
{{ collection.title }}
</a>
{% endif %}

<h1 class="product_name" itemprop="name">{{ product.title }}</h1>

{% include 'judgeme_widgets', widget_type: 'judgeme_preview_badge', jm_style: '', concierge_install: true %}

{% if settings.enable_shopify_product_badges %}
{% comment %}<span class="shopify-product-reviews-badge" data-id="{{ product.id }}"></span>{% endcomment %}
{% endif %}

{% if section.settings.display_vendor %}
<p class="vendor">
<span itemprop="brand">{{ product.vendor | link_to_vendor }}</span>
</p>
{% endif %}

{% if variant.sku != blank and section.settings.display_sku %}
<p class="sku">
<span itemprop="sku">{{ variant.sku }}</span>
</p>
{% endif %}

{% unless collection_handles contains 'coming-soon' %}
<div style="height: 70px;">
<p style="float: left;" class="modal_price" itemprop="offers" itemscope itemtype="http://schema.org/Offer">
<meta itemprop="priceCurrency" content="{{ shop.currency }}" />
<meta itemprop="seller" content="{{ shop.name | escape }}" />
<link itemprop="availability" href="http://schema.org/{% if variant.available %}InStock{% else %}OutOfStock{% endif %}">
<meta itemprop="itemCondition" content="New" />
<span class="sold_out">{% if variant.available == false %}{{ 'products.product.sold_out' | t }}{% endif %}</span>
<span itemprop="price" content="{{ variant.price | money_without_currency | remove: "," }}" class="{% if variant.compare_at_price > variant.price %}sale{% endif %}">
<span class="current_price {% if product.available == false %}hidden{% endif %}">
{% if variant.price > 0 %}
<span class="money">{{ variant.price | money }}</span>
{% else %}
{{ settings.free_price_text }}
{% endif %}
</span>
</span>
<span class="was_price">
{% if variant.price < variant.compare_at_price and variant.available %}
<span class="money">{{ variant.compare_at_price | money }}</span>
{% endif %}
</span>
</p>
<a style="margin-left: 50px;" href="https://www.shopify.com/pci-compliant?utm_source=secure&amp;utm_medium=shop" title="This online store is secured by Shopify" target="_blank" rel="nofollow"><img style="margin-top: 10px;" src="https://cdn.shopify.com/s/images/badges/shopify-secure-badge-white.svg" alt="Shopify secure badge" /></a>
</div>
{% include 'product-notify-me' %}
{% endunless %}

{% if section.settings.product_description_position == "top" %}
{% if product.description != blank %}
<div class="description" itemprop="description">
{% if product.description contains '<!-- split -->' %}{{ product.description | split: '<!-- split -->' | first }}{% else %}{% include 'product-description-tabs' %}{% endif %}
</div>
{% endif %}
{% if product.available %}<hr />{% endif %}
{% endif %}

{% unless collection_handles contains 'coming-soon' %}
{% include 'product-form' with 'product' %}
{% endunless %}
<img style="height: 150px; float: left; margin-right: 15px;" src="https://cdn.shopify.com/s/files/1/2216/3727/files/190822_guarantee_logo.png?1826" />

<a style="display: inline;" href="https://veteran-owned.uk/">
<img style="height: 150px;" src="https://cdn.shopify.com/s/files/1/2216/3727/files/Proud_Member_Hi-def.jpg?1832" />
</a>
{% if settings.enable_shopify_review_comments and settings.review_position == "top" %}
{% comment %}{% endcomment %}
{% endif %}

 

{% if section.settings.display_collections or section.settings.display_tags or section.settings.display_type %}
<hr />
{% endif %}

<div class="meta">
{% if section.settings.display_collections %}
<p>
<span class="label">{{ 'products.product.collections' | t }}:</span>
<span>
{% for col in product.collections %}
<a href="{{ col.url }}" title="{{ col.title }}">{{ col.title }}</a>{% unless forloop.last %},{% endunless %}
{% endfor %}
</span>
</p>
{% endif %}

{% if section.settings.display_tags %}
<p>
{% for tag in product.tags %}
{% if forloop.first %}
<span class="label">{{ 'products.product.tags' | t }}:</span>
{% endif %}

{% unless tag contains 'meta-' %}
<span>
<a href="/collections/{% if collection %}{{ collection.handle }}{% else %}all{% endif %}/{{ tag | handle }}" title="{{ 'products.product.products_tagged' | t: tag: tag }}">{{ tag }}</a>{% unless forloop.last %},{% endunless %}
</span>
{% endunless %}
{% endfor %}
</p>
{% endif %}

{% if section.settings.display_type %}
<p>
<span class="label">{{ 'products.product.product_types' | t }}:</span> <span itemprop="category">{{ product.type | link_to_type }}</span>
</p>
{% endif %}

{% if section.settings.display_vendor %}
<p>
<span class="label">{{ 'products.product.vendor' | t }}:</span> <span itemprop="brand">{{ product.vendor | link_to_vendor }}</span>
</p>
{% endif %}
</div>

{% include "social-buttons" with "product" %}
</div>
{% if section.settings.product_description_position == "bottom" %}
{% if product.available %}<hr />{% endif %}
{% if product.description != blank %}
<div class="description" itemprop="description">
{% if product.description contains '<!-- split -->' %}{{ product.description | split: '<!-- split -->' | first }}{% else %}{% include 'product-description-tabs' %}{% endif %}
</div>
{% endif %}
{% endif %}
</div>

</div>

{% if product.description contains "<!-- split -->" %}
<br class="clear" />
<div class="section clearfix">
<div class="description">
{% capture desctabs %}{{ product.description | split: '<!-- split -->' | last }}{% endcapture %}{% include 'product-description-tabs' with desctabs %}
</div>
</div>
{% endif %}



{% if settings.enable_shopify_review_comments and settings.review_position == "bottom" %}
<div class="{% if sidebar %}twelve{% else %}sixteen{% endif %} columns">
{% comment %}{% endcomment %}
</div>
{% endif %}

{% if section.settings.display_related_products %}
{% capture limit %}{{ section.settings.products_per_row | plus: 1 }}{% endcapture %}

{% if collection and collection.all_products_count > 1 %}
{% assign col = collection.handle %}
{% else %}
{% assign col = product.collections.last.handle %}
{% endif %}

{% for tag in product.tags %}
{% if tag contains 'meta-related-collection-' %}
{% assign related_collection_handle = tag | remove: 'meta-related-collection-' %}
{% if collections[related_collection_handle].all_products_count > 0 %}
{% assign col = related_collection_handle %}
{% assign collection = collections[col] %}
{% capture limit %}{{ collection.products_count | plus: 1 }}{% endcapture %}
{% endif %}
{% endif %}
{% endfor %}

{% if col and collections[col].all_products_count > 0 %}
{% if collections[col].all_products_count != 1 or collections[col].products.first.id != product.id %}
<div class="{% if sidebar %}twelve{% else %}sixteen{% endif %} columns">
<br class="clear" />
<h2 class="title">{{ 'products.product.related_items' | t }}</h2>
<div class="feature_divider"></div>
</div>

{% assign skip_product = product %}
{% assign products = collections[col].products %}
{% assign products_per_row = section.settings.products_per_row %}
<div class="{% if sidebar %}twelve{% else %}sixteen{% endif %} columns">
{% include 'product-loop', sidebar: sidebar %}
</div>
</div>
{% endif %}
{% endif %}
{% endif %}

{% include 'judgeme_widgets', widget_type: 'judgeme_review_widget', concierge_install: true %}
</div>

{% schema %}

{
"name": "Product",
"class": "product-template-section",
"settings": [
{
"type": "checkbox",
"id": "product_breadcrumb",
"label": "Show collection link",
"default": true
},
{
"type": "checkbox",
"id": "display_tags",
"label": "Show tags"
},
{
"type": "checkbox",
"id": "display_type",
"label": "Show type"
},
{
"type": "checkbox",
"id": "display_vendor",
"label": "Show vendor"
},
{
"type": "checkbox",
"id": "display_collections",
"label": "Show collections"
},
{
"type": "checkbox",
"id": "display_sku",
"label": "Show SKU"
},
{
"type": "checkbox",
"id": "show_payment_button",
"label": "Show dynamic checkout button",
"default": false,
"info": "Lets customers check out directly using a familiar payment method. [Learn more](https://help.shopify.com/manual/using-themes/change-the-layout/dynamic-checkout)"
},
{
"type": "checkbox",
"id": "display_social_buttons",
"label": "Show social media share icons",
"default": true
},
{
"type": "radio",
"id": "product_description_position",
"label": "Description position",
"options": [
{
"value": "top",
"label": "Above 'add to cart'"
},
{
"value": "bottom",
"label": "Below 'add to cart'"
}
]
},
{
"type": "radio",
"id": "product_images_position",
"label": "Images position",
"options": [
{
"value": "left",
"label": "Left"
},
{
"value": "right",
"label": "Right"
}
]
},
{
"type": "checkbox",
"id": "display_related_products",
"label": "Show related products ([?](https:\/\/help.outofthesandbox.com\/hc\/en-us\/articles\/115006909487-Related-Products))",
"default": true
},
{
"type": "range",
"id": "products_per_row",
"label": "Related products per row",
"min": 2,
"max": 4,
"step": 1,
"default": 3
},
{
"type": "header",
"content": "Sidebar"
},
{
"type": "paragraph",
"content": "Create a sidebar by adding content blocks."
},
{
"type": "checkbox",
"id": "toggle",
"label": "Toggle sidebar content",
"default": false
}
],
"blocks": [
{
"type": "filter_by_tag",
"name": "Tag list",
"limit": 1
},
{
"type": "filter_by_collection",
"name": "Collection list",
"limit": 1
},
{
"type": "filter_by_type",
"name": "Type list",
"limit": 1
},
{
"type": "filter_by_vendor",
"name": "Vendor list",
"limit": 1
},
{
"type": "menu",
"name": "Menu",
"settings": [
{
"type": "link_list",
"id": "custom_menu_linklist",
"label": "Menu"
}
]
},
{
"type": "text",
"name": "Text",
"settings": [
{
"type": "text",
"id": "title",
"label": "Heading",
"default": "Heading"
},
{
"type": "richtext",
"id": "text",
"label": "Text",
"default": "<p>Text area can be used for special announcements or general information.</p>"
}
]
},
{
"type": "page",
"name": "Page",
"settings": [
{
"type": "page",
"id": "content_page",
"label": "Page"
}
]
}
]
}

{% endschema %}

0 Likes
Highlighted
Shopify Partner
3237 710 860

This is an accepted solution.

@Bentls 

Well, no need. Add the following code at the bottom of your assets/styles.scss.liquid file.

.pproduct img[src*="https://cdn.shopify.com/s/files/1/2216/3727/files/190822_guarantee_logo.png?1826"], .product img[src*="https://cdn.shopify.com/s/files/1/2216/3727/files/Proud_Member_Hi-def.jpg?1832"] {
display: none;
}

 

Your template looks highly customized so it was difficult to find DOM elements. Anyway try above. Hope that will work.

Thanks!

If helpful then please Like and Accept Solution.
Do you need custom changes on store ? Hire me.
Feel free to Contact me on dmw.webartisan@gmail.com
Follow us on Instagram @dmw.webartisan
0 Likes
Highlighted
Tourist
5 1 0

Thats really helpful. It has removed one out of two of the logos - thank you. I am very grateful to you for that. Not sure how to get rid of the second one, but the veteran logo was the most important one. 

 

IMG_6889.jpeg

 

0 Likes
Highlighted
Shopify Partner
3237 710 860

This is an accepted solution.

@Bentls 

Try to put this :

.product img[src*="https://cdn.shopify.com/s/files/1/2216/3727/files/190822_guarantee_logo.png?1826"] {
display: none;
}

 

Hope this helps.

Thanks! 

If helpful then please Like and Accept Solution.
Do you need custom changes on store ? Hire me.
Feel free to Contact me on dmw.webartisan@gmail.com
Follow us on Instagram @dmw.webartisan
0 Likes
Highlighted
Tourist
5 1 0

This is an accepted solution.

This has worked!!!! Thank you SO much! I really appreciate you taking the time out to help me with this  

0 Likes