Recent Articles
To align swatches to the left with 0 margin
In variant-picker-styles.liquid, add the followings: .variant-option--swatches overflow-list::part(list) { padding-inline: 0 !important; margin-inline: 0; }
To show sku in predictive search
Find this block (around line where resource-card__content is): <p class="resource-card__title{% if style == 'overlay' %} h5{%else %} paragraph{% endif %}"> {{- resource.title -}} </p> {% if resource_type == 'product' %} {% render 'price', ...
Sold-out swatch overlay to make them more visible
In variant-picker-styles.liquid, add the following before {% endstylesheet %} /* Dim unavailable non-swatch buttons */ .variant-option__button-label:not(.variant-option__button-label--has-swatch):has([data-option-available='false']) { opacity: 0.4; ...
Push the sold out variant to the end in variant picker
Go to variant-main-picker.liquid, search for {%- for product_option_value in product_option.values -%} and replace with: {%- assign available_option_values = product_option.values | where: "available", true -%} {%- assign unavailable_option_values = ...
Add legend in the product card
Find <fieldset class="variant-option variant-option--buttons variant-option--swatches"> in variant-swatches.liquid, Add the following before the above: <!-- ADD THIS LEGEND --> <div class="swatch-legend"> <span class="swatch-legend__option-name">{{ ...