Website link: https://urban-souq.com/products/eyebrow-scissors-with-eyebrow-comb
How to get rid of this code.
Hi @Sahariar19 , I can send you an access request and remove it.
@Sahariar19 - please open theme.liquid file of your theme and check it, yo will have this code in it
Could you please send me a screenshot if possible that where i can get the code?
@Sahariar19 - go to online store->themes->click on 3 dots … of the active theme->edit code
then you can get your theme’s theme.liquid file
{%- if settings.favicon -%}
{%- endif -%}{% include ‘seo-title’ %}
{{ seo_title }}{%- if page_description -%}
{%- endif -%}
{% include ‘social-meta-tags’ %}
{% include ‘font-face’ %}
{{ ‘theme.scss.css’ | asset_url | stylesheet_tag }}
{% style %}
.collection-item__title {
font-size: {{ settings.type_collection_size | times: 0.8 }}px;
}
@media screen and (min-width: 769px) {
.collection-item__title {
font-size: {{ settings.type_collection_size }}px;
}
}
{% endstyle %}
{{ content_for_header }}
{% if settings.enable_currencies %}
{% unless shop.enabled_currencies.size > 1 %}
{% endunless %}
{% endif %}{%- if request.page_type contains ‘customers/’ -%}
{%- endif -%}
{% include ‘booster-common’ %}
{% comment %}
Enable below script if page transitions enabled
{% endcomment %}
{% comment %}
{% endcomment %}
{{ ‘general.accessibility.skip_to_content’ | t }}
{% section ‘header’ %}
{{ content_for_layout }}{% section ‘footer-promotions’ %}
{% section ‘footer’ %}
{% section ‘newsletter-popup’ %}
{%- if settings.cart_type == ‘drawer’ -%}
{%- include ‘ajax-cart-template’ -%}
{%- endif -%}
{%- if settings.enable_currencies -%}
{%- include ‘currency-modal’ -%}
{%- endif -%}
{% comment %}
Custom markup for slider arrows using theme icons
{% endcomment %}
{%- if settings.predictive_search_enabled -%}
{%- include ‘predictive-template’ -%}
{%- endif -%}
{% include ‘video-modal’ %}
{% include ‘photoswipe-template’ %}
{% if template contains ‘product’ %}
{% include ‘recently-viewed-product-template’ %}
{% endif %}
{% include ‘booster-discounts’ %}
{% render ‘hextom_usb_main’, product: product, customer: customer %}
Can you please tell me which one should i remove? This is theme.liquid code.
@Sahariar19 - check if you have product template file, because it looks like it has error on product pages only
{% section ‘product-template’ %}
{% section ‘product-recommendations’ %}
{% section ‘recently-viewed’ %}
{% if collection %}
{% endif %}{% include ‘product-template’,
description_style: section.settings.description_style,
image_position: section.settings.image_position,
image_container_width: section.settings.image_size,
section_id: product.id,
social: section.settings.social_enable,
thumbnail_position: section.settings.thumbnail_position,
thumbnail_arrows: section.settings.thumbnail_arrows
%}
{% if settings.enable_product_reviews and settings.reviews_layout == ‘full’ %}
{% schema %}
{
“name”: “Product pages”,
“settings”: [
{
“type”: “select”,
“id”: “image_position”,
“label”: “Images position”,
“default”: “right”,
“options”: [
{
“value”: “left”,
“label”: “Left”
},
{
“value”: “right”,
“label”: “Right”
}
]
},
{
“type”: “select”,
“id”: “image_size”,
“label”: “Image size”,
“default”: “medium”,
“options”: [
{
“value”: “small”,
“label”: “Small”
},
{
“value”: “medium”,
“label”: “Medium”
},
{
“value”: “large”,
“label”: “Large”
}
]
},
{
“type”: “select”,
“id”: “thumbnail_position”,
“label”: “Thumbnail position”,
“default”: “beside”,
“options”: [
{
“value”: “beside”,
“label”: “Next to image”
},
{
“value”: “below”,
“label”: “Below image”
}
]
},
{
“type”: “checkbox”,
“id”: “thumbnail_arrows”,
“label”: “Show thumbnail arrows”
},
{
“type”: “select”,
“id”: “description_style”,
“label”: “Description position”,
“default”: “default”,
“options”: [
{
“value”: “default”,
“label”: “Next to images”
},
{
“value”: “full”,
“label”: “Below images”
}
]
},
{
“type”: “checkbox”,
“id”: “social_enable”,
“label”: “Enable social sharing”,
“default”: true
}
]
}
{% endschema %}
@suyash1 Please check
@Sahariar19 - ceck this product-template file, it would be in snippets folder
{%- unless thumbnail_position -%}
{%- assign thumbnail_position = ‘beside’ -%}
{%- endunless -%}
{%- unless description_style -%}
{%- assign description_style = ‘full’ -%}
{%- endunless -%}
{%- assign product_img_structure = product.featured_image | img_url: ‘1x1’ | replace: ‘1x1.', '{width}x.’ -%}
{%- include ‘product-template-variables’ -%}
{%- if settings.vendor_enable -%}
{%- if isModal -%}
{{ product.title }}
{% else %}{{ product.title }}
{%- endif -%}{%- if settings.enable_product_reviews and settings.reviews_layout == ‘full’ -%}
{%- if isModal -%}
{%- assign review_link = product.url | within: collection | append: ‘#Reviews-’ | append: product.id -%}
{% else %}
{%- assign review_link = ‘#Reviews-’ | append: product.id -%}
{%- endif -%}
{%- endif -%}
{%- if settings.sku_enable -%}
{%- if current_variant.sku -%} {{ current_variant.sku }} {%- endif -%}
{%- endif -%}{%- assign hide_sale_price = true -%}
{%- if product.compare_at_price_max > product.price -%}
{%- if current_variant.compare_at_price > current_variant.price -%}
{%- assign hide_sale_price = false -%}
{%- endif -%}
{{ ‘products.general.regular_price’ | t }}
{%- if current_variant.compare_at_price > current_variant.price -%}
{{ current_variant.compare_at_price | money }}
{%- endif -%}
{{ ‘products.general.sale_price’ | t }}
{% else %}
{{ ‘products.general.regular_price’ | t }}
{%- endif -%}
{{ current_variant.price | money }}
{%- if settings.product_save_amount -%}
{%- if settings.product_save_type == ‘dollar’ -%}
{% capture saved_amount %}{{ current_variant.compare_at_price | minus: current_variant.price | money }}{% endcapture %}
{%- else -%}
{% capture saved_amount %}{{ current_variant.compare_at_price | minus: current_variant.price | times: 100.0 | divided_by: current_variant.compare_at_price | round }}%{% endcapture %}
{%- endif -%}
{{ ‘products.general.save_html’ | t: saved_amount: saved_amount }}
{%- endif -%}
{{ current_variant.unit_price | money }}/{{ unit_price_base_unit }}
{%- if shop.taxes_included or shop.shipping_policy.body != blank -%}
{%- if settings.inventory_enable or settings.inventory_transfers_enable -%}
{%- assign variants_with_inventory_tracking = product.variants | where: ‘inventory_management’, ‘shopify’ -%}
{% comment %}
If loaded in quick view, it might be from a JS-loaded function
that loads recommended products. If that’s the case, the above
JS will not set the variant inventory. Add it to an accessible
data div to read later instead.
{% endcomment %}
{%- if isModal -%}
{%- unless isModal -%}
{% comment %}
Shopify’s product form attaches a number of tracking
scripts that cause slower load times and false statistics.
Quick view modals request these on-demand.
{% endcomment %}
{% include ‘product-form’, section_id: section_id %}
{%- else -%}
{%- if settings.trust_image != blank -%}
{%- unless description_style == ‘full’ -%}
{% include ‘product-additional-content’, section_id: section_id %}
{%- endunless -%}
{%- if social -%}
{% include ‘social-sharing’, share_title: product.title, share_permalink: product.url, share_image: product %}
{%- endif -%}
{%- unless image_position == ‘left’ -%}
{%- if description_style == ‘full’ -%}
{% include ‘product-additional-content’, section_id: section_id %}
{%- endif -%}
@suyash1 Here is snippets folder code.
@Sahariar19 - can you add me as collab? I can send request, need to search it a bit, code looks ok
Can we do anydesk?
Contact Me:
