Jump to content

nobody can figure it out, we need a specialist.


archyjoe

Recommended Posts

Hi,
Some customers added the produts in their cart to buy later and then they look at their cart  after a while, other customers already bought the last stocks of this products color.
So, exactly at this moment customer with product already in their basket cant see which color out of stock.

n Prestashop 1.6, 

You can easily see which product is out of stock. But 1.7, not. ... So sad :(

presta-problem.png

Link to comment
Share on other sites

39 minutes ago, joseantgv said:

Do you want me to do it, linking this thread?

Sure you are welcome to do so. I think every PR making this project better is highly appreciated. It's a pitty that such "features" got lost in the transition from 1.6 to 1.7. and have to be re-established.

  • Like 1
Link to comment
Share on other sites

59 minutes ago, joseantgv said:

Be careful with this modification, it throws an error if the product without stock doesn't have combinations/attributes.

Presta 1.7 automatically hide products which are out of stock, do you think it would be a problem this way ?

Link to comment
Share on other sites

hace 14 horas, JBW dijo:

@joseantgv I have now added a pull request to your issue

Thanks. But this PR throws an error if the product without stock doesn't have attributes. I didn't send the PR because I wanted to test it better. It's necessary to check if $product['attributes'] is set.

EDIT: Check this https://github.com/PrestaShop/PrestaShop/pull/23059/files

Edited by joseantgv (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...