Developer forum

Forum » Swift » Never out of stock - how it works?

Never out of stock - how it works?

Pedro Meias
Pedro Meias
Reply

Hello,

Version 9.13.11

Our test site - https://dev-swiftrizzo.mydwsite1.com/cart

We have a product with:

  • Never out of stock = true
  • stock level = 0

We can add the product to the cart, but when trying to increase the quantity in cart, we are always reverted back to the original quantity

Example : Add 1 to cart -> try to increase the quantity in the cart to 2 -> page reloads and we end up with 1 again.

Is this the expected behaviour since the product has Never out of stock = true?

Thank you


Replies

 
Oleg Rodionov Dynamicweb Employee
Oleg Rodionov
Reply

Hi,

I have tried to check the feature and was not able to catch the issue. I've used environment with last Swift 1.14.0 based on last DW9.14.0 admin. Here is video regarding the check, please have a look for the details.

BR, Oleg QA

 
Merethe Vrå Andersen Dynamicweb Employee
Merethe Vrå Andersen
Reply

Hi,

I have also tried to reproduce in our latest swift and I can't reproduce it.
https://www.screencast.com/t/v6fYc8r4d2

Have you enabled "Purchase minimum quantity" on the product?
https://www.screencast.com/t/S6De9ci4

BR
Merethe

 
Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply

Hi Merethe and Oleg,

 

I was able to reproduce it with negative stock (not 0). Can you please try it like that?

In other words:

  • If a product stock greater or equal to 0 + NeverOutOfStock=1
    • I can a add from PDP or PLP
    • I can update orderlines quantities
  • If a product stock lower than 0 + NeverOutOfStock=1
    • I can a add from PDP or PLP
    • I cannot update orderlines quantities

 

Best Regards,

Nuno Aguiar

 
Oleg Rodionov Dynamicweb Employee
Oleg Rodionov
Reply

Hi,

I was not reproduce it using -100 either in general stock or stock matrix anyway, video.

BR, Oleg QA

 
Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply

Hi Oleg and Merethe,

 

Thank you both and allow me to jump in here:

  • I tested this in Swift v1.14 and DW 9.13.11 (despite the customer reporting this in Rapido 3.3 + DW 9.10.21) 
  • I confirmed that I have the same settings in Settings > Ecommerce > Advanced Settings > Shopping Cart as Oleg showed
  • I tested with 0 and 1 for Minimum Purchase quantity
  • I even set the Shopping cart settings to "Ignore" unavailable products (although I shouldn't have to)
  • I did not set the Stock matrix like Oleg did, because this is a default Swift product and it's forcing a Unit to be configured 
  • I can still reproduce the problem - notice it here https://www.screencast.com/t/9SffYKfYC

 

You can also see the url for my vanilla Swift site. I can't think of anything else that might be wrong with it.

 

Any other thoughts?

 

Best Regards,

Nuno Aguiar

 

You must be logged in to post in the forum