This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style> | |
.EzfyColorVariants{ | |
display: flex; | |
opacity: 0; | |
transition: all .32s; | |
align-items: center; | |
flex-wrap: wrap; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% if section.settings.enable %} | |
<style> | |
.EzfyColorVariants{ | |
display: flex; | |
opacity: 0; | |
transition: all .32s; | |
align-items: center; | |
flex-wrap: wrap; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{%- liquid | |
assign variants_available_arr = product.variants | map: 'available' | |
assign variants_option1_arr = product.variants | map: 'option1' | |
assign variants_option2_arr = product.variants | map: 'option2' | |
assign variants_option3_arr = product.variants | map: 'option3' | |
assign product_form_id = 'product-form-' | append: section.id | |
-%} | |
<style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
, | |
{ | |
"name": "Badge colors & font size", | |
"settings": [ | |
{ | |
"type": "header", | |
"content": "Custom badge colors by ezfycode.com" | |
}, | |
{ | |
"type": "checkbox", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% if settings.enable_ezfy_badges_color %} | |
<style> | |
{% comment %}EZFY Variables Liquid [start]{% endcomment %} | |
{% assign sales_badge_background_color = settings.sales_badge_background_color %} | |
{% assign sales_badge_text_color = settings.sales_badge_text_color %} | |
{% assign sales_badge_text_size_desktop = settings.sales_badge_text_size_desktop %} | |
{% assign sales_badge_text_size_mobile = settings.sales_badge_text_size_mobile %} | |
{% assign sold_out_badge_background_color = settings.sold_out_badge_background_color %} | |
{% assign sold_out_badge_text_color = settings.sold_out_badge_text_color %} | |
{% assign sold_out_text_size_desktop = settings.sold_out_text_size_desktop %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% comment %}Hide sold out variants by ezfycode.com [START]{% endcomment %} | |
{% assign all_products = null | sort %} | |
{% assign count = 0 %} | |
{% for each in section.settings.collection.products %} | |
{% if each.available %} | |
{% assign _product = each | sort %} | |
{% assign all_products = all_products | concat:_product %} | |
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% comment %} | |
Always visible search bar by ezfycode.com | |
{% endcomment %} | |
{% assign predictive_search_height = 500 %} | |
{% assign search_box_width = 350 %} | |
<div class="EzfyHeaderSearch EzfyHeaderSearch--{{ device }}"> | |
{%- if settings.predictive_search_enabled -%} | |
<predictive-search class="search-modal__form" data-loading-text="{{ 'accessibility.loading' | t }}"> |
NewerOlder