Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restore standard quick add to complementary products #3430

Merged
merged 1 commit into from
Apr 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion sections/main-product.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@
%}

{%- when 'variant_picker' -%}
{% render 'product-variant-picker', product: product, block: block, product_form_id: product_form_id %}

Check warning on line 454 in sections/main-product.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/main-product.liquid#L454

[NestedSnippet] Too many nested snippets

Check warning on line 454 in sections/main-product.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/main-product.liquid#L454

[NestedSnippet] Too many nested snippets

Check warning on line 454 in sections/main-product.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/main-product.liquid#L454

[NestedSnippet] Too many nested snippets
{%- when 'buy_buttons' -%}
{%- render 'buy-buttons',
block: block,
Expand Down Expand Up @@ -559,16 +559,21 @@
offset: continue
-%}
<li>
{%- if block.settings.enable_quick_add -%}
{% assign quick_add = "standard" %}
{%- else -%}
{% assign quick_add = "none" %}
{%- endif -%}
{% render 'card-product',
card_product: product,
media_aspect_ratio: block.settings.image_ratio,
show_secondary_image: false,
lazy_load: false,
show_quick_add: block.settings.enable_quick_add,
quick_add: quick_add,
section_id: section.id,
horizontal_class: true,
horizontal_quick_add: true
%}

Check warning on line 576 in sections/main-product.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/main-product.liquid#L567-L576

[NestedSnippet] Too many nested snippets

Check warning on line 576 in sections/main-product.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/main-product.liquid#L567-L576

[NestedSnippet] Too many nested snippets

Check warning on line 576 in sections/main-product.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/main-product.liquid#L567-L576

[NestedSnippet] Too many nested snippets

Check warning on line 576 in sections/main-product.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/main-product.liquid#L567-L576

[NestedSnippet] Too many nested snippets

Check warning on line 576 in sections/main-product.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/main-product.liquid#L567-L576

[NestedSnippet] Too many nested snippets

Check warning on line 576 in sections/main-product.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/main-product.liquid#L567-L576

[NestedSnippet] Too many nested snippets

Check warning on line 576 in sections/main-product.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/main-product.liquid#L567-L576

[NestedSnippet] Too many nested snippets

Check warning on line 576 in sections/main-product.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/main-product.liquid#L567-L576

[NestedSnippet] Too many nested snippets

Check warning on line 576 in sections/main-product.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/main-product.liquid#L567-L576

[NestedSnippet] Too many nested snippets

Check warning on line 576 in sections/main-product.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/main-product.liquid#L567-L576

[NestedSnippet] Too many nested snippets

Check warning on line 576 in sections/main-product.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/main-product.liquid#L567-L576

[NestedSnippet] Too many nested snippets

Check warning on line 576 in sections/main-product.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/main-product.liquid#L567-L576

[NestedSnippet] Too many nested snippets

Check warning on line 576 in sections/main-product.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/main-product.liquid#L567-L576

[NestedSnippet] Too many nested snippets

Check warning on line 576 in sections/main-product.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/main-product.liquid#L567-L576

[NestedSnippet] Too many nested snippets
</li>
{%- endfor -%}
</ul>
Expand Down
Loading