magesuite / theme-creativeshop

Open Software License 3.0
38 stars 24 forks source link

"Out of stock" display on category view #60

Open thomas7467 opened 3 years ago

thomas7467 commented 3 years ago

Hi, I have a display difference between products availability display on category view vs product itself.

On product side : the product is displayed in stock; correct for me like below:

P01

But for the same product in category view: P02

Default config : Inventory configuration: Display Out of Stock Products : Yes Display Products Availability in Stock on Storefront : Yes

Product Stock Options: Manage Stock : No

On the product itself: Quantity: 1 and of course Manage Stock: No

With Luma there is no Out of Stock display on the category view.

How can I solve this?

M 2.4.1 - php 7.4.3 - magesuite ^7.0.0

Thks Thomas

ggm-dev commented 3 years ago

Hi Thomas - Did you figure this out? I just noticed the same problem for a one-off product but discovered that it wasn't correctly assigned to inventory source in admin.

David

thomas7467 commented 3 years ago

Hi David, I've put a dirty workaround until issue would be corrected, to hide the display in my theme child - file /src/components/product-tile/product-tile.scss : Line 788 : change display to none : &__stock { display: none;

Thomas