Skip to content

Commit

Permalink
TH-149: Aura theme > Modify the row header through Cart Page (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
bj-anas authored Oct 2, 2024
1 parent 29c73bb commit 4cd212c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
1 change: 1 addition & 0 deletions themes/aura/locales/ar.default.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
"items_name": "عناصر",
"quantity": "الكمية",
"total": "المجموع",
"product_name": "اسم المنتوج",
"remove_cta": "إزالة"
},
"summary": {
Expand Down
1 change: 1 addition & 0 deletions themes/aura/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
"items_name": "Items",
"quantity": "Quantity",
"total": "Total",
"product_name": "Product name",
"remove_cta": "Remove"
},
"summary": {
Expand Down
1 change: 1 addition & 0 deletions themes/aura/locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
"items_name": "Items",
"quantity": "Quantité",
"total": "Total",
"product_name": "Nom du produit",
"remove_cta": "Supprimer"
},
"summary": {
Expand Down
10 changes: 5 additions & 5 deletions themes/aura/sections/main-cart.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
<div class="table-container">
<div class="row header">
<div class="cell"></div>
<div class="cell">اسم المنتوج</div>
<div class="cell">الكمية</div>
<div class="cell">المجموع</div>
<div class="cell">{{ 'cart.items.product_name' | t }}</div>
<div class="cell">{{ 'cart.items.quantity' | t }}</div>
<div class="cell">{{ 'cart.items.total' | t }}</div>
<div class="cell adjust-space"></div>
</div>
{% for item in cart.items %}
Expand Down Expand Up @@ -63,8 +63,8 @@
</div>
</div>
<div class="cell adjust-space close-btn">
<button
onclick="removeItem('{{ item.id }}', '{{ item.product_variant_id }}')"
<button
onclick="removeItem('{{ item.id }}', '{{ item.product_variant_id }}')"
class='yc-btn-close'
aria-label="close cart"
>
Expand Down

0 comments on commit 4cd212c

Please sign in to comment.