Show Price for Out-of-Stock Products (Magento 2)
nordcomputer/showoutofstockprice
Displays prices for out-of-stock products, with backend options to also show swatches and the add-to-cart button on the product page.
Build Tests
Code Quality
Tested on Magento 2.4.9
Recent Test History
Each release is tested against the latest Magento version at that time.
Top Contributors
View LeaderboardShare This Module's Status
README
Loaded from GitHubModule for Magento 2 to show price for out-of-stock products
This Magento2 Module adds prices to out-of-stock products. You can either download it and put it into /app/code/Nordcomputer/Showoutofstockprice/ or install it with composer (make sure, you have set your auth.json file correctly, to download from github. You need to set an Auth Token for your github account and put it into the auth.json file).
Install with composer from terminal:
composer config repositories.nordcomputer/showoutofstockprice git "git@github.com:nordcomputer/magento2-showoutofstockprice.git"
composer require nordcomputer/showoutofstockprice <prefered version>
Configuration
You can now configure, if you want to show swatches and the add-to-cart button on the product page from the backend (Stores -> Configuration -> Nordcomputer -> Show Price for out-of-stock products)
Since v0.6 it is possible, to also show swatches and add-to-cart button on category and searchresult pages. Both can be configured individually.
Note
If you have no swatches configured (for example by using Dropdown instead), the Dropdown wont show up. But the Add-to-cart button still works
Contributers
Thank you to our contributers:
This content is fetched directly from the module's GitHub repository. We are not the authors of this content and take no responsibility for its accuracy, completeness, or any consequences arising from its use.