Skip to main content
Formatting
Source Link
fmsthird
  • 4.6k
  • 4
  • 18
  • 42

Assume, you are using a custom theme Vendor_YourTheme

Please copy

YOUR-MAGENTO-ROOT/vendor/magento/module-checkout/view/frontend/web/template/minicart/item/default.html

Paste into your custom theme.

YOUR-MAGENTO-ROOT/app/design/frontend/Vendor/YourTheme/Magento_Checkout/web/template/minicart/item/default.html

Now replace label "Qty" with "Quantity" as follows:

<label class="label" data-bind="i18n: 'Quantity', attr: {
                           for: 'cart-item-'+item_id+'-qty'}">
</label>

Please empty your pub/static/frontend/ folder by running below command and flush Magento cache.

sudo rm -rf pub/static/frontend/*
sudo php bin/magento cache:flush

Note: To display mini-cart "quantity" label properly, you may need to adjust some css class.

enter image description here

Assume, you are using a custom theme Vendor_YourTheme

Please copy

YOUR-MAGENTO-ROOT/vendor/magento/module-checkout/view/frontend/web/template/minicart/item/default.html

Paste into your custom theme.

YOUR-MAGENTO-ROOT/app/design/frontend/Vendor/YourTheme/Magento_Checkout/web/template/minicart/item/default.html

Now replace label "Qty" with "Quantity" as follows:

<label class="label" data-bind="i18n: 'Quantity', attr: {
                           for: 'cart-item-'+item_id+'-qty'}">
</label>

Please empty your pub/static/frontend/ folder by running below command and flush Magento cache.

sudo rm -rf pub/static/frontend/*
php bin/magento cache:flush

Note: To display mini-cart "quantity" label properly, you may need to adjust some css class.

enter image description here

Assume, you are using a custom theme Vendor_YourTheme

Please copy

YOUR-MAGENTO-ROOT/vendor/magento/module-checkout/view/frontend/web/template/minicart/item/default.html

Paste into your custom theme.

YOUR-MAGENTO-ROOT/app/design/frontend/Vendor/YourTheme/Magento_Checkout/web/template/minicart/item/default.html

Now replace label "Qty" with "Quantity" as follows:

<label class="label" data-bind="i18n: 'Quantity', attr: {
                           for: 'cart-item-'+item_id+'-qty'}">
</label>

Please empty your pub/static/frontend/ folder by running below command and flush Magento cache.

sudo rm -rf pub/static/frontend/*
sudo php bin/magento cache:flush

Note: To display mini-cart "quantity" label properly, you may need to adjust some css class.

enter image description here

assume Assume, you are using a custom theme Vendor_yourthemeVendor_YourTheme

Please copy

YOUR-MAGENTO-ROOT/vendor/magento/module-checkout/view/frontend/web/template/minicart/item/default.html

Paste into your custom theme.

YOUR-MAGENTO-ROOT/app/design/frontend/Vendor/yourthemeYourTheme/Magento_Checkout/web/template/minicart/item/default.html

Now replace label "Qty" with "Quantity" as follows:

<label class="label" data-bind="i18n: 'Quantity', attr: {
                           for: 'cart-item-'+item_id+'-qty'}">
</label>

Please empty your pub/static/frontend/ folder by running below command and flush magentoMagento cache.

sudo rm -rf pub/static/frontend/*
php bin/magento cache:flush

Note: To display mini-cart "quantity" label properly, you may need to adjust some css class.

enter image description here

assume , you are using a custom theme Vendor_yourtheme

Please copy

YOUR-MAGENTO-ROOT/vendor/magento/module-checkout/view/frontend/web/template/minicart/item/default.html

Paste into your custom theme.

YOUR-MAGENTO-ROOT/app/design/frontend/Vendor/yourtheme/Magento_Checkout/web/template/minicart/item/default.html

Now replace label "Qty" with "Quantity" as follows:

<label class="label" data-bind="i18n: 'Quantity', attr: {
                           for: 'cart-item-'+item_id+'-qty'}">
</label>

Please empty your pub/static/frontend/ folder by running below command and flush magento cache

sudo rm -rf pub/static/frontend/*

Note: To display mini-cart "quantity" label properly, you may need to adjust some css class.

enter image description here

Assume, you are using a custom theme Vendor_YourTheme

Please copy

YOUR-MAGENTO-ROOT/vendor/magento/module-checkout/view/frontend/web/template/minicart/item/default.html

Paste into your custom theme.

YOUR-MAGENTO-ROOT/app/design/frontend/Vendor/YourTheme/Magento_Checkout/web/template/minicart/item/default.html

Now replace label "Qty" with "Quantity" as follows:

<label class="label" data-bind="i18n: 'Quantity', attr: {
                           for: 'cart-item-'+item_id+'-qty'}">
</label>

Please empty your pub/static/frontend/ folder by running below command and flush Magento cache.

sudo rm -rf pub/static/frontend/*
php bin/magento cache:flush

Note: To display mini-cart "quantity" label properly, you may need to adjust some css class.

enter image description here

assume , you are using a custom theme Vendor_yourtheme

Please copy

YOUR-MAGENTO-ROOT/vendor/magento/module-checkout/view/frontend/web/template/minicart/item/default.html

YOUR-MAGENTO-ROOT/vendor/magento/module-checkout/view/frontend/web/template/minicart/item/default.html

pastePaste into your custom theme.

YOUR-MAGENTO-ROOT/app/design/frontend/Vendor/yourtheme/Magento_Checkout/web/template/minicart/item/default.html

YOUR-MAGENTO-ROOT/app/design/frontend/Vendor/yourtheme/Magento_Checkout/web/template/minicart/item/default.html

nowNow replace label "Qty" "Qty" with "Quantity""Quantity" as follows:

<label class="label" data-bind="i18n: 'Quantity', attr: {
                           for: 'cart-item-'+item_id+'-qty'}">
</label>

Please empty your pub/static/frontend/ folder by running below command and flush magento cache

sudo rm -rf pub/static/frontend/*

Note: To display mini-cart "quantity" label properly, you may need to adjust some css class.Note: To display mini-cart "quantity" label properly, you may need to adjust some css class.

enter image description here

assume , you are using a custom theme Vendor_yourtheme

Please copy

YOUR-MAGENTO-ROOT/vendor/magento/module-checkout/view/frontend/web/template/minicart/item/default.html

paste into

YOUR-MAGENTO-ROOT/app/design/frontend/Vendor/yourtheme/Magento_Checkout/web/template/minicart/item/default.html

now replace label "Qty" with "Quantity" as follows

<label class="label" data-bind="i18n: 'Quantity', attr: {
                           for: 'cart-item-'+item_id+'-qty'}">
</label>

Please empty your pub/static/frontend/ folder by running below command and flush magento cache

sudo rm -rf pub/static/frontend/*

Note: To display mini-cart "quantity" label properly, you may need to adjust some css class.

enter image description here

assume , you are using a custom theme Vendor_yourtheme

Please copy

YOUR-MAGENTO-ROOT/vendor/magento/module-checkout/view/frontend/web/template/minicart/item/default.html

Paste into your custom theme.

YOUR-MAGENTO-ROOT/app/design/frontend/Vendor/yourtheme/Magento_Checkout/web/template/minicart/item/default.html

Now replace label "Qty" with "Quantity" as follows:

<label class="label" data-bind="i18n: 'Quantity', attr: {
                           for: 'cart-item-'+item_id+'-qty'}">
</label>

Please empty your pub/static/frontend/ folder by running below command and flush magento cache

sudo rm -rf pub/static/frontend/*

Note: To display mini-cart "quantity" label properly, you may need to adjust some css class.

enter image description here

Source Link
Pritam Biswas
  • 2.6k
  • 1
  • 10
  • 11
Loading