Skip to content

breezefront/module-breeze-amasty-stockstatus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Custom Stock Status by Amasty Breeze Frontend Integration

Required patches

vendor/amasty/stockstatus/view/frontend/web/js/amstockstatus.js

Find the code in the _reloadContent method:

    this.nodes.spanElement.replaceWith(this.options[key]['custom_status']);

and add the following line after it:

    this.nodes.spanElement = $(this.selectors.stock).first();

Installation

composer require swissup/module-breeze-amasty-stockstatus
bin/magento setup:upgrade --safe-mode=1

About

Custom Stock Status by Amasty Breeze Frontend Integration

Resources

Stars

Watchers

Forks

Packages

No packages published