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

'Reorder' button is visible for customer if ordered item is out of stock #680

Closed
smoskaluk opened this issue Mar 16, 2018 · 4 comments
Closed
Assignees
Labels

Comments

@smoskaluk
Copy link

Preconditions

  1. Create simple product "Simple 1" with qty=1
  2. Creat customer account on Main website

Steps to reproduce

  1. Create order with product "Simple 1" by Logged in customer
  2. Goto "My Orders" tab on personal cabinet of your customer
  3. Verify that placed order information is present

Expected result

  1. Button "Reorder" should't be visible for placed order

Actual result

  1. Button "Reorder" present for placed order
@serhiyzhovnir
Copy link

serhiyzhovnir commented Mar 24, 2018

Working on it

@serhiyzhovnir
Copy link

#distributed-cd

@serhiyzhovnir
Copy link

@naydav
The reason of an issue is not triggered $this->stockHelper->assignStatusToProduct($product) for products that loads via Products collection.
I've added an observer for assigning a status to all products in products collection after load.
Please, check changes.
#762
Thank you!

@smoskaluk
Copy link
Author

It's implemented that button "Reorder" disappear only after shipment for oder created

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants