cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Getting Out of stock in PLP and PDP when trying to add product to cart

PrashanthPundalik
Participant
0 Likes
1,392

I have given warehouse and associated stock to each product and also made ForceInStock....provided a relation between warehouse and store...still getting out of stock issue....let me know if i am missing some thing

Accepted Solutions (0)

Answers (3)

Answers (3)

PrashanthPundalik
Participant
0 Likes

Any other reasons why this happens....please do the needful its blocking all functionalities

balsp
Explorer
0 Likes

Please unset the InStock status to Not Specified and it should work. The stock availability is calculated by DefaultCommerceAvailabilityCalculationStrategy in calculateAvailability method, unless you haven't customized.

VinayKumarS
Active Contributor
0 Likes

Hello,

first check warehouse is associated in the basestore or not.

Once the base store is associated. Add a stock to the product in the ware house.

put force in stock to make the stock available for all the time.

check the price. if you dont have the price then also the stock shows as not available.

PrashanthPundalik
Participant
0 Likes

everything is there....observed one thing is that stockLevelStatus is coming as outOfStock....so the add to cart button will not be shown up...

Huskar
Participant
0 Likes

What is console log saying?

PrashanthPundalik
Participant
0 Likes

Nothing is displayed on the console regarding stock or pricing