Skip to content

Commit

Permalink
Merge pull request #64 from konnected-io/fixes/dawnify-compare-kits
Browse files Browse the repository at this point in the history
Fixes/dawnify compare kits
  • Loading branch information
chrisdavery authored Nov 22, 2023
2 parents c9e504f + 902e2bc commit d38457b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions assets/facets.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ class FacetFiltersForm extends HTMLElement {
document.getElementById('ProductGridContainer').innerHTML = new DOMParser()
.parseFromString(html, 'text/html')
.getElementById('ProductGridContainer').innerHTML;
StampedFn?.reloadUGC();
}

static renderProductCount(html) {
Expand Down
7 changes: 6 additions & 1 deletion sections/k-section-quick-buy.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,12 @@
{% assign grid_size = grid_size | plus: 1 %}
{% endfor %}

<div class="grid grid--{{ grid_size | plus: 1 }}-col-desktop grid--2-col-tablet-down">
<div class="grid
{% if grid_size == 0 %}
grid--4-col-desktop justify-center grid--2-col-tablet-down
{% else %}
grid--{{ grid_size | plus: 1 }}-col-desktop grid--2-col-tablet-down
{% endif %}">
<div class="grid__item">
{% render 'card-quick-buy', card_product: product, variant: product.selected_or_first_available_variant, index: forloop.index0 %}
</div>
Expand Down

0 comments on commit d38457b

Please sign in to comment.