Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Denotes questions related to stock management and configuration on Magento
2
votes
0
answers
143
views
Show product alert link /stock alert, when a product is quantity zero, but still in stock
I am trying to add the "notify me when product is back in stock" link to a product that is still "in stock" but with a quantity of zero.
Is this possible by modifying the module product-alert? … At this moment the notification link is only visible when a product is labeled as "out of stock". …
1
vote
0
answers
31
views
Correct way to call an object based on quantity, for displaying a product-alert, when backor...
.
*/
namespace Magento\ProductAlert\Block\Product\View;
/**
* Recurring payment view stock
*
* @api
* @since 100.0.2
*/
class Stock extends \Magento\ProductAlert\Block\Product\View
{
/** … Because backorders are allowed, products maintain the status of "in stock" even when hitting the zero treshold, or lower. …