- last update
about 1 year ago 36 pass - @karengrey opened merge request.
- Status changed to Needs review
about 1 year ago 11:10am 19 September 2023 - last update
9 months ago 36 pass - ๐บ๐ฆUkraine khiminrm
I've created a patch with a bit different solution - by using the
commerce_stock_enforcement_check
() if thecommerce_stock_enforcement
module is enabled. The code of the module replaces the 'Add to cart button' with the disabled 'Our of stock' button. So maybe it makes sense to re-use the function in the commerce_wishlist module.