Hello,
I also want to add bullet points to the product quickview but i have a different theme (Minimog) and cant find the section where I need to paste in the code you gave us.
I would appreciate it very much if someone could help me here.
Here is the code from my product-card.liquid:
{{ 'component-product-card.css' | asset_url | stylesheet_tag }}
{% liquid
if card_style == nil or card_style == blank
assign card_style = settings.pcard_layout
endif
assign show_title = true
if hide_title == true
assign show_title = false
endif
if image_ratio == nil or image_ratio == blank
assign image_ratio = settings.pcard_image_ratio | default: '1/1'
endif
if image_ratio == 'original'
assign image_ratio = product.featured_image.aspect_ratio | default: '1/1'
endif
if show_vendor == nil
assign show_vendor = settings.show_vendor
endif
assign sold_out = true
assign variant = product.selected_or_first_available_variant
if variant.available
assign sold_out = false
endif
for variant in product.variants
if variant.inventory_management == 'shopify' and variant.inventory_policy == 'continue' and variant.inventory_quantity == 0
assign sold_out = false
break
endif
endfor
assign compare_at_price = variant.compare_at_price
assign price = variant.price
assign on_sale = false
if compare_at_price > price
assign on_sale = true
endif
assign quick_add_text = 'products.product.quick_add' | t
unless product.has_only_default_variant
capture quick_add_text
render 'new-locale', key: 'products.product.select_options'
endcapture
endunless
assign sold_number = product.metafields.foxkit.sold_number
%}
{%- if column_wrapper -%}{%- endif -%}
{% liquid
assign pcard_default_image = settings.pcard_default_image
if image_ratio == nil or image_ratio == blank
assign image_ratio = settings.pcard_image_ratio | default: '1/1'
endif
assign preview_image = product.media[0].preview_image
if section.settings.change_product_variant_on_fitlering == true and product.selected_variant.image != nil
assign preview_image = product.selected_variant.image
endif
if image_ratio == 'original'
assign image_ratio = product.media[0].aspect_ratio | default: '1/1'
endif
assign second_image = ''
if settings.show_second_img and product.images.size > 1 and product.images[1] != blank
assign second_image = product.images[1]
endif
assign image_attributes = 'alt="' | append: product.title | append: '"'
%}
{% if preview_image != blank %}
{% comment %} {% render 'responsive-image',
image: preview_image,
aspect_ratio: image_ratio,
image_class: 'se-out w-full h-full',
image_attributes: image_attributes
%} {% endcomment %}
{%- capture style -%}
{% assign asp_rat = image_ratio | default: preview_image.aspect_ratio %}
{% if asp_rat == 'original' %}
--aspect-ratio: {{ preview_image.aspect_ratio }};
{% else %}
--aspect-ratio: {{ asp_rat }};
{% endif %}
{%- endcapture -%}
{%- if second_image != blank -%}
{% comment %} {% render 'responsive-image',
image: second_image,
aspect_ratio: image_ratio,
image_class: 'se-out w-full h-full',
image_attributes: image_attributes
%} {% endcomment %}
{%- capture style -%}
{% assign asp_rat = image_ratio | default: second_image.aspect_ratio %}
{% if asp_rat == 'original' %}
--aspect-ratio: {{ second_image.aspect_ratio }};
{% else %}
--aspect-ratio: {{ asp_rat }};
{% endif %}
{%- endcapture -%}
{%- endif -%}
{% else %}
{% if pcard_default_image != blank %}
{% comment %} {% render 'responsive-image', image: pcard_default_image, aspect_ratio: image_ratio, image_class: 'se-out w-full h-full', image_attributes: image_attributes %} {% endcomment %}
{%- capture style -%}
{% assign asp_rat = image_ratio | default: pcard_default_image.aspect_ratio %}
{% if asp_rat == 'original' %}
--aspect-ratio: {{ pcard_default_image.aspect_ratio }};
{% else %}
--aspect-ratio: {{ asp_rat }};
{% endif %}
{%- endcapture -%}
{% else %}
{{ 'product-1' | placeholder_svg_tag }}
{% endif %}
{% endif %}
{% liquid
assign variant = product.selected_or_first_available_variant
assign compare_at_price = variant.compare_at_price
assign price = variant.price
assign discount = ''
assign on_sale = false
if compare_at_price > price
assign on_sale = true
assign discount = compare_at_price | minus: price | times: 100 | divided_by: compare_at_price
endif
assign show_on_sale_badge = false
if settings.on_sale_badge != 'hide' and on_sale
assign show_on_sale_badge = true
endif
%}
{%- if settings.show_badge_sale or show_on_sale_badge -%}
{% if settings.show_badge_sale %}
{% for tag in product.tags %}
{% if tag contains 'tag__' %}
{%- liquid
assign tag_content = tag | split: '__' | last
assign type = tag_content | split: '_' | first
assign tag_name = tag_content | split: '_' | last
-%}
{{ tag_name }}
{% endif %}
{% endfor %}
{% endif %}
{% if show_on_sale_badge %}
{%- liquid
if settings.on_sale_badge == 'show_percentage'
assign sale_class = 'prod__tag-discounted'
else
assign sale_class = 'prod__tag-sale'
endif
-%}
{%- if settings.on_sale_badge == 'show_text' -%}
{{ 'products.product.on_sale' | t }}
{%- endif -%}
{%- if settings.on_sale_badge == 'show_percentage' -%}
{% assign discount = discount | append: '%' %}
{% render 'new-locale', key: 'products.product.discounted_price_html', param: '{{ value }}', value: discount %}
{%- endif -%}
{% endif %}
{%- endif -%}
{%- if settings.show_badge_soldout -%}
{{ 'products.product.sold_out' | t }}
{%- endif -%}
{%- case card_style -%}
{%- when '2' -%}
{%- if settings.show_cart_button or settings.show_quickview_button or settings.show_wishlist_button or settings.show_compare_button -%}
{% liquid
capture is_preorder
render 'check-preorder', product: product
endcapture
assign tooltips = 'add-to-cart,quickview,compare'
assign tooltip_items = tooltips | split: ','
%}
{%- if settings.show_wishlist_button -%}
{% assign wishlist_app = settings.wishlist_app %}
{% if wishlist_app == 'growave' %}
{% capture the_snippet_fave_icon %}{% render 'ssw-widget-faveicon' with product.id %}{% endcapture %}
{% unless the_snippet_fave_icon contains 'Liquid error' %}
{{ the_snippet_fave_icon }}
{% else %}
{% render 'mm-ssw-widget-faveicon' with product.id %}
{% endunless %}
{{ 'products.product.add_to_wishlist' | t }}
{% else %}
{% render 'tooltip', type: 'wishlist', product: product, class_name: 'sf__tooltip-top' %}
{% endif %}
{%- endif -%}
{% if is_preorder == "true" %}
{% endif %}
{%- for tooltip in tooltip_items -%}
{%- assign settings_key = 'show_' | append: tooltip | append: '_button' | replace: 'add-to-cart', 'cart' -%}
{%- if settings[settings_key] -%}
{% render 'tooltip', type: tooltip, section: section, product: product, class_name: 'sf__tooltip-top', is_preorder: is_preorder %}
{%- endif -%}
{%- endfor -%}
{%- endif -%}
{%- when '3' -%}
{%- if settings.show_wishlist_button -%}
{% assign wishlist_app = settings.wishlist_app %}
{% if wishlist_app == 'growave' %}
{% capture the_snippet_fave_icon %}{% render 'ssw-widget-faveicon' with product.id %}{% endcapture %}
{% unless the_snippet_fave_icon contains 'Liquid error' %}
{{ the_snippet_fave_icon }}
{% else %}
{% render 'mm-ssw-widget-faveicon' with product.id %}
{% endunless %}
{{ 'products.product.add_to_wishlist' | t }}
{% else %}
{% render 'tooltip', type: 'wishlist', product: product, class_name: 'sf__tooltip-left' %}
{% endif %}
{%- endif -%}
{%- if settings.show_cart_button or settings.show_compare_button or settings.show_quickview_button -%}
{% liquid
capture is_preorder
render 'check-preorder', product: product
endcapture
assign tooltips = 'add-to-cart,compare,quickview'
assign tooltip_items = tooltips | split: ','
%}
{% if is_preorder == "true" %}
{% endif %}
{%- for tooltip in tooltip_items -%}
{%- assign settings_key = 'show_' | append: tooltip | append: '_button' | replace: 'add-to-cart', 'cart' -%}
{%- if settings[settings_key] -%}
{% render 'tooltip', type: tooltip, section: section, product: product, class_name: 'sf__tooltip-top', is_preorder: is_preorder %}
{%- endif -%}
{%- endfor -%}
{%- endif -%}
{%- when '4' -%}
{%- if settings.show_quickview_button or settings.show_wishlist_button or settings.show_compare_button -%}
{% liquid
capture is_preorder
render 'check-preorder', product: product
endcapture
assign tooltips = 'compare,quickview'
assign tooltip_items = tooltips | split: ','
%}
{%- if settings.show_wishlist_button -%}
{% assign wishlist_app = settings.wishlist_app %}
{% if wishlist_app == 'growave' %}
{% capture the_snippet_fave_icon %}{% render 'ssw-widget-faveicon' with product.id %}{% endcapture %}
{% unless the_snippet_fave_icon contains 'Liquid error' %}
{{ the_snippet_fave_icon }}
{% else %}
{% render 'mm-ssw-widget-faveicon' with product.id %}
{% endunless %}
{{ 'products.product.add_to_wishlist' | t }}
{% else %}
{% render 'tooltip', type: 'wishlist', product: product, class_name: 'sf__tooltip-top' %}
{% endif %}
{%- endif -%}
{% if is_preorder == "true" %}
{% endif %}
{%- for tooltip in tooltip_items -%}
{%- assign settings_key = 'show_' | append: tooltip | append: '_button' | replace: 'add-to-cart', 'cart' -%}
{%- if settings[settings_key] -%}
{% render 'tooltip', type: tooltip, section: section, product: product, class_name: 'sf__tooltip-top', is_preorder: is_preorder %}
{%- endif -%}
{%- endfor -%}
{%- endif -%}
{%- else -%}
{%- if settings.show_quickview_button or settings.show_wishlist_button or settings.show_compare_button -%}
{% liquid
capture is_preorder
render 'check-preorder', product: product
endcapture
assign tooltips = 'compare,quickview'
assign tooltip_items = tooltips | split: ','
%}
{%- if settings.show_wishlist_button -%}
{% assign wishlist_app = settings.wishlist_app %}
{% if wishlist_app == 'growave' %}
{% capture the_snippet_fave_icon %}{% render 'ssw-widget-faveicon' with product.id %}{% endcapture %}
{% unless the_snippet_fave_icon contains 'Liquid error' %}
{{ the_snippet_fave_icon }}
{% else %}
{% render 'mm-ssw-widget-faveicon' with product.id %}
{% endunless %}
{{ 'products.product.add_to_wishlist' | t }}
{% else %}
{% render 'tooltip', type: 'wishlist', product: product, class_name: 'sf__tooltip-left' %}
{% endif %}
{%- endif -%}
{% if is_preorder == "true" %}
{% endif %}
{%- for tooltip in tooltip_items -%}
{%- assign settings_key = 'show_' | append: tooltip | append: '_button' | replace: 'add-to-cart', 'cart' -%}
{%- if settings[settings_key] -%}
{% render 'tooltip', type: tooltip, section: section, product: product, class_name: 'sf__tooltip-left', is_preorder: is_preorder %}
{%- endif -%}
{%- endfor -%}
{%- endif -%}
{%- endcase -%}
{% render 'product-card-countdown', product: product %}
{%- if sold_out == false and card_style == '1' -%}
{% render 'product-card-quick-add-btn', product: product, quick_add_text: quick_add_text, section: section %}
{% endif %}
{%- if show_vendor -%}
{{ product.vendor }}
{%- endif -%}
{% if show_title == true %}
###
{{ product.title }}
{% endif %}
{% if settings.show_review_badge %}
{% render 'product-reviews-app__badge', product: product %}
{% endif %}
{% render 'product-prices', product: product, is_product_card: true %}
{% if settings.show_swatch_option %}
{% render 'product-card-option', product: product %}
{% endif %}
{%- if sold_out == false and settings.show_cart_button and card_style == '4' -%}
{% render 'product-card-quick-add-btn', product: product, quick_add_text: quick_add_text, section: section %}
{%- endif -%}
{{ product.description | strip_html | truncatewords: 15, '...' }}
{%- if settings.show_cart_button -%}
{%- if product.has_only_default_variant -%}
{% render 'product-atc', product: product, btn_text: quick_add_text, class: 'sf__btn-primary' %}
{% else %}
{% if settings.select_option_button_action == 'popup' %}
{% else %}
{{ quick_add_text }}
{% endif %}
{% endif %}
{%- endif -%}
{% liquid
capture is_preorder
render 'check-preorder', product: product
endcapture
assign tooltips = 'compare,quickview'
assign tooltip_items = tooltips | split: ','
%}
{%- if settings.show_wishlist_button and card_style != "3" -%}
{% assign wishlist_app = settings.wishlist_app %}
{% if wishlist_app == 'growave' %}
{% capture the_snippet_fave_icon %}{% render 'ssw-widget-faveicon' with product.id %}{% endcapture %}
{% unless the_snippet_fave_icon contains 'Liquid error' %}
{{ the_snippet_fave_icon }}
{% else %}
{% render 'mm-ssw-widget-faveicon' with product.id %}
{% endunless %}
{{ 'products.product.add_to_wishlist' | t }}
{% else %}
{% render 'tooltip', type: 'wishlist', product: product, class_name: 'sf__tooltip-bottom' %}
{% endif %}
{%- endif -%}
{% if is_preorder == "true" %}
{% endif %}
{%- for tooltip in tooltip_items -%}
{%- assign settings_key = 'show_' | append: tooltip | append: '_button' | replace: 'add-to-cart', 'cart' -%}
{%- if settings[settings_key] -%}
{% render 'tooltip', type: tooltip, section: section, product: product, class_name: 'sf__tooltip-bottom', is_preorder: is_preorder %}
{%- endif -%}
{%- endfor -%}
{%- if card_style == '2' or card_style == '3' -%}
{%- endif -%}
{%- if column_wrapper -%}
{%- endif -%}