Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configurable Product with Non-Default MSI Stock/Source displays $0.00 if "Display Out of Stock Products" set. #2543

Closed
zw1111 opened this issue Sep 11, 2019 · 1 comment
Projects

Comments

@zw1111
Copy link

zw1111 commented Sep 11, 2019

Preconditions (*)

  1. Fresh install of Magento 2.3.2
  2. All Multi-Source Inventory (MSI) modules enabled
  3. PHP 7.2
  4. Apache 2.4

Steps to reproduce (*)

  1. In Magento Admin, set "Display Out of Stock Products" to "Yes" under Stores > Configuration > Catalog > Inventory > [Stock Options]

  2. Create Two new MSI sources called "Main Source" and "Dropship Source"

  3. Create a new MSI Stock called "US Stock" and assign the Main Website to it, as well as assign the Two newly created sources "Main Source" and "Dropship Source". DO NOT ASSIGN THE DEFAULT SOURCE.

  4. Create a new Configurable Product with three items differentiated by color, which are Red, Green, and Blue.

  5. Assign the "Main Source" and the "Dropship Source" to each one of those items and provide some combination of quantity to each, where the total quantity is > 0. DO NOT ASSIGN THE DEFAULT SOURCE.

  6. Set the prices of those items to Red = $190.00, Green = $195.00, and Blue = $200.00

  7. View the Product in the Store.

Expected result (*)

  1. Product price should display "As low as $190.00"
  2. Drop down options should display: "Red", "Green +$5.00", "Blue +$10.00"

Actual result (*)

  1. Product price displays "As low as $0.00"
  2. Drop down options display: "Red +$190.00", "Green +$195.00", "Blue +$200.00"

Additional Details

I originally posted this on the Magento Forums, hoping someone knew how to resolve this. My original request for help on the Magento Forums, which includes some screenshots, is here:
Magento Forum Posting

I eventually came to an erroneous conclusion that this was being caused by an extenstion I bought from Amasty called "Custom Stock Status". After working with Amasty customer support, they were able to recreate the issue without having their extension installed at all. I then tried on my test server with a fresh install of Magento 2.3.2, and also was able to re-create the issue. So this issue has been replicated by an independent source.

Also, if you have MAP enabled and set the MSRP to the same price as the item, the system still thinks there is a price difference and tells you to add to the cart to see the price.

All of these issues go away if you set the "Display Out of Stock Products" option to "No"...

_ OR _

Keep "Display Out of Stock Products" to "Yes" but Assign the "Default Source", in addition to the other sources, to any one of the Configurable Product items and set the quantity > 0. The "Display Out of Stock Products" option in conjunction with Multi-Source Inventory (MSI) seems to be the trigger for this issue.

Some screenshots attached...

Stock Configuration:
ManageStockConfiguration

Configurable Product Setup:
ConfigurableProduct_MSI_Setup

Result when "Display Out Of Stock Products" setting is set to "Yes":
DisplayOutOfStock_Set_Yes

Result when "Display Out Of Stock Products" setting is set to "No":
DisplayOutOfStock_Set_No

@m2-community-project m2-community-project bot added this to Ready for Grooming in Backlog Sep 11, 2019
@zw1111 zw1111 changed the title Configurable Product with Non-Default MSI Stock/Source displays $0.00 if "Display Ouf of Stock Products" set. Configurable Product with Non-Default MSI Stock/Source displays $0.00 if "Display Out of Stock Products" set. Sep 11, 2019
@smoskaluk
Copy link

Hi @zw1111 , thank you for report. This issue already been fixed in #2528.

@m2-community-project m2-community-project bot moved this from Ready for Grooming to Done in Backlog Sep 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Backlog
  
Done
Development

No branches or pull requests

3 participants