Skip to content

Commit

Permalink
components
Browse files Browse the repository at this point in the history
  • Loading branch information
andre-beeclever committed Sep 29, 2024
1 parent e94ae8c commit 02c00c5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion locales/en.default.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@
"incl_vat": "incl. VAT",
"excl_vat": "excl. VAT",
"shipping": "Shipping",
"calculated_at_checkout": "calculated at checkout"
"calculated_at_checkout": "calculated at checkout",
"line_item": {
"hide_items": "Hide {{ count }} items",
"show_items": "Hide {{ count }} items"
}
}
}
4 changes: 2 additions & 2 deletions snippets/line-item.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,11 @@
<collapsible-label class="full-width flex row spacing-bottom-xs">
<div class="collapsible-icon">
<div class="collapsible-icon--open flex row middle">
<p class="p">Show {{line_item.item_components.size}} items</p>
<p class="p">{{ "cart.line_item.show_items" | t: count: line_item.item_components.size }}</p>
{% render 'icon', icon: 'chevron-down', size: "14px" %}
</div>
<div class="collapsible-icon--close flex row middle">
<p class="p">Hide {{line_item.item_components.size}} items</p>
<p class="p">{{ "cart.line_item.hide_items" | t: count: line_item.item_components.size }}</p>
{% render 'icon', icon: 'chevron-up', size: "14px" %}
</div>
</div>
Expand Down

0 comments on commit 02c00c5

Please sign in to comment.