-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Remaining quantities on the product page take into account product already in cart #14880
Comments
Hi @MockoB, You need to navigate to your BO => Shop Parameters => Product Settings => Enable the option "Display available quantities on the product page". |
@khouloudbelguith that's exactly what I did and the only message I get is "last items in stock" and no remaining items as set in the settings. Another thing I noticed. If product has combinations, when I choose a combination with low quantities there is no warning message telling there are last quantities. The message is shown just for the default combination and not the others. The only way to show it for the other product combinations is when changing the desired quantity, once the threshold is reached, the message "there are not enough products in stock" is showed. |
@MockoB, in the product page, Product details page => In stock field is not displayed? Thanks! |
@khouloudbelguith I would never suggest the available quantities will be hidden behind a closed tab! Never mind, there is still a bug. |
I just saw the remaining quantities are shown even when I set to be shown only if they are lower than 4. |
@MockoB, I did not manage to reproduce the issue with PS1.7.6.0. |
@khouloudbelguith the only issue I got was I can't view the items count, but more we continue to dig, more bugs I find. https://drive.google.com/file/d/1Zk2UQNpjjzkrVb-nyoQpkHEpDJxJqAR5/view?usp=sharing |
@MockoB, could you please try to empty your cart before, because I think, you have 2 products of the first combination in your cart. Thanks! |
@khouloudbelguith you are right! But in no way, added to cart products shouldn't reflect product quantities. Thanks! |
I'm a customer => I have 3 products in stock => I add two products to the cart => the stock is increasing from 3 to 1. If I delete my cart => quantity remains. |
@khouloudbelguith there is logic yes. I think it is wrong to tell a customer that desired products are out of stock when he adds them to the cart. Is it just for the current customer or every customer on the shop sees same message when someone adds product to the cart? Because I'm already worried if I have to fix my quantities when someone fills a cart and then leave the site without buying. |
@MockoB, to disable this option "Display remaining quantities when the quantity is lower than", you need just to set to "0" to disable this feature. the quantity from the back office is changed only if one of the customers bought those products & not only added them to the cart. Thanks! |
Thanks @khouloudbelguith , but I believe customer should be able to add to the cart the last items indefinitely times, it is wrong to display a message telling customer that there are no products left. I never met such behaviour on any other site. Speaking as a customer, it happened to me many times to enter a site today, fill a cart and leave it. When I'm back 2 weeks later, I usually browse same products and add them for second or third time to the cart, because I never think to check if I already added that product to the cart. If I see a message telling me there are no products left I will definitely leave! It's not just me, I'm pretty sure. Giving you real life example. I am selling unique products, every product has 1 piece each, they are all look a like, just differ in sizes. It is not possible for the customer who comes back after 2 weeks to compare all the products in the cart with the rest in the site if he needs to add more. He will always see there are not available quantities and he will never know that those are in his cart and not sold during the 2 weeks period... I believe you get the point. Please contact the UX team to talk the issue, or just ask some merchants or customers what they think. |
this is just an alert to indicate that these are the latest products in stock to encourage customers to buy it before they will not be available.
In the BO => Shop Parameters => Customer Settings => "Re-display cart at login"' is enabled? Thanks! |
No it's not just an alert, it's show stopper! Even when I disable the available quantities display (which I need), there is still a message telling me there are no more items available and I am not able to add the product to the cart (assuming I'm not aware it is already in the cart).
No it is not, but it is useless in my case.
You already added 67 of those products to the cart, you get back 2 weeks later. Me as a merchant enabled that feature to re-display the shopping cart (which I did only because I know prestashop's behaviour, not because I need it or like it), You as a customer look at the cart, remember all those 87 items with almost identical names and same picture. Then you decide to add another 20. Do you believe you will remember which exact product pages to enter, which will have quantity, because all other products will show you "no stock available" ... Please give me one site example using such behaviour. I agree there has to be message informing customers there are last items left, but adding items to the cart shouldn't reflect the quantities. |
@MockoB, thanks for your feedback.
I don't agree with you because this is will be confusing for the customer. Thanks! |
Thanks but I’m at the opposite opinion. The customer will not be allowed to add to the cart more items than the real stock if it is made without reflecting the quantities. Telling customer there is no stock once the product is added to the cart is what’s confusing. I believe it’s not only me, but let’s see what others think. Please, really show me other platform or website where it is made that way. All the best! |
Hello @MockoB Remaining quantities on the product page takes into account what is already in your cart because you can't add to your cart more product than in stock. It will be not logical to display for example remaining quantity: 300 if you can add only 200 products in your cart because 100 are already in. |
Hi @marionf, It would be more logical the customer to know every moment what the available quantities are. Not checking his cart how many are already there and then go back to the product page check how many are left. And to check it in the additional tab, assuming the merchant enabled the remaining quantities feature. As a customer, when I see a message no more products in stock I will definitely find those on other place! As a merchant I am selling unique products 1 piece each. Showing message to my customers, that the product is not available once they add it to the cart is more than frustrating. As I asked couple of times already, please give me an example with other site or platform, where adding products to the cart is lowering quantities. I know you may believe it is PS feature and you put an efforts to make it this way, but it is not the right way. I believe few merchants are aware of this behaviour otherwise all would object it. Regards, |
I am agree with you, it's not enough put forward, we can improve this.
As a customer when I see that there are already products in my cart, I check what it is. Furthermore, you can use a module to relaunch your customers by email when they have an abandoned cart . In the email sent to the customer, the products in the cart are displayed (so they know which they are) and the link redirect directly your customers to the cart (not to the product page). You can also disable the option "Redisplay cart after customer login"
Please, take a look at the video below: 1 product in stock on the product page, I have already this product in my cart & when I try to add it again to the cart, it says product added to cart (but this is not true as I still have 1 product in my cart and not 2). |
Thanks for sharing your point of view @marionf You have to agree if there are 50 or even more similar products in your cart you can’t remember all, especially with all their quantities added. It could be applicable if you are selling washing machines or TVs, most probably I will add just one product in my cart and I will remember it. Thanks for the video, but no one is adding one by one products to the cart. If I need 2 and I see remaining stock 2, I will add 2 pieces in my cart, no matter I previously added 1 piece. And that’s the right logic, we don’t have to make the customer thinking or browsing additional pages and calculating it’s bad ux. If someone thinks like me (maybe wrongly cultivated behaviour from years online shopping), he could easily buy 3 pieces instead 2 and that could lead to troubles for the merchants. Please ask yourself a question, if that’s the right behaviour why no one else is using it? You (prestashop team) don’t have to reinvent the wheel, just follow the best practices others use. Or PLEASE give a chance to merchants to use what suits better for them, by adding an option to select appropriate behaviour in the back office. Thanks for the patience reading everything and answering my questions. All the best! |
Change "Out of stock" by "Already in cart" |
@marionf But if you still want to be innovators, you may do it like that, yes. But I don't think that just "Already in cart" is enough. It should be more likely "The last item is already in your cart" and "The last 3 items are already in your cart" Of course the number should correspond to the number of items in your cart. But what IF, you added 3 and there is only one left, it will still show 1 item left and you will not be informed that the rest are in your cart ... I think you get the point :) Please just do it like it was before, which is what all ecommerce customers are used to. All the best, |
It was already like this in previous PS version, please see the screenrecord below of 1.6 version: On earlier 1.7 versions, what was already in cart wasn't taken into account and you were able to click on add to cart and get an empty success confirmation message and the product wasn't added to the cart: http://forge.prestashop.com/browse/BOOM-3308 |
Hi @marionf , I have to say that my proposition about the previous PS’ versions behaviour was a little bit premature. That is why I’m still using 1.5.6.1 version like the user above. I never liked PS 1.6 and I never thought it deserves to replace my current shop. But with PS 1.7 and especially with prestarocket’s theme I definitely think it’s time for change. So I still believe the best way to do it, is by adding a feature in the back office where merchants could choose desired behaviour. If not possible, than the preferred way is, adding a product to the cart doesn’t lower product quantities. They should be lowered only when the order is finalised, and not just for particular customer, but for everyone else also. I don’t think there is sufficient solution where everyone is happy with the current behaviour :( You understand that merchants selling lower quantities will have troubles, if it stays like that. As for all with higher stock quantities, it really doesn’t matter. I believe, if it was like I propose in PS 1.6, there wouldn’t be any complains either. |
The solution in 1.5 is correct in my opinion. And no one asked you questions about the quantity of goods. All questions for you began when there were corresponding changes in 1.6, and now they are relevant. I know many still work on 1.5 and when switching to 1.7 they will have the same questions. |
Guys, I just tried to see how it was working on PS 1.5 and it's like on PS 1.6 & 1.7: 10 products in stock If I understand well, you would like it to work like this: Do you guys have an example of a website working like this ? For the following case, we could do that: |
In 1.5 it works correctly. After adding to the basket, the rest of the goods does not decrease. And most importantly there is no "out of stock" message. |
@marionf I am ashamed, but it really is working like that. May be the only reason we had no troubles so far, is because no one ever tried to add same product twice when he sees there is just one product left! But there is no warning message informing you when you add the last item to your cart to confuse the customer, like it is in 1.7. The way I think is correct is like aliexpress or ebay do it. 3 items in stock means there are 3 items in stock, and they will be 3 until I buy one. I think ecommerce leaders like them should know best. The way you want it is like that: https://www.decathlon.com/collections/freeride-ski-boots/products/womens-ski-boots-wid-300?variantid=%24119.00&variant=351123800077 Both ways should do the job, but please still give a chance to merchants to decide. |
Yes, as I told you, we can change that and display the real quantity in stock regardless what is already in the cart Then, we can handle the following case: Guys, is it ok for you like this ? |
"All available products are in your cart" instead of the current "out of stock" |
It's fine with me also, but what if there are 10 items in stock and I add 8 to the cart. What the message will be then? And what if I added previously 8 and come back few days later and try to add 3 pieces (assuming I forgot I already added 8). There will be message informing both, how many items are already in your cart and another line informing you about total stock ? |
I just checked it again on ebay. When you add a product in your cart, the button shows "in your basket" and you are not able to use the button any more, its only possible to change the quantities within the cart. I'm not quite sure but it could be the better solution ... and solves the above problems. |
Hi @MockoB, Does your problem is solved? |
@mariem-abid |
Yes, it's a good suggestion We can handle the following case like this: And also of course as I told before, display the real quantity in stock regardless what is already in the cart and put it more forward |
For me, the most important thing is that there should be no "out of stock" message when the product is in stock but added to the basket. |
@marionf It sounds perfect to me. I just don't know how you will handle both - the button is disabled and you try to add additional items in your cart with disabled button :) Otherwise looks great solution! |
The behavior of "add to cart" button stays the same as currently.
|
@marionf something like that?: https://drive.google.com/file/d/1_OGyH48BmWldZPNU9YXEOHV6szMX6O8m/view?usp=sharing |
@MockoB Yes, someting like that |
Guys, thank you very much for your feedbacks ! Regards |
guys, i also found this to be a bug in prestashop we need to display real quantities regardless of what's in the cart, i really hope that someone can find a fix for this soon, as this bug is the only thing that's holding me back from going live |
Duplicate of #15152 |
Describe the bug
I can't manage to display the quantities on the product page.
To Reproduce
Steps to reproduce the behavior:
After setting the desired number there is just label telling customers there are last items in stock and no remaining quantities displayed.
Maybe there is setting I can't find yet ...
PrestaShop version: 1.7.6.0
PHP version: 7.2
The text was updated successfully, but these errors were encountered: