Jump to content

Displaying 'Last item' instead of 'Sold Out' on a product page


01K

Recommended Posts

Hi everyone,

I sell only one unique product in my PrestaShop store (upgraded to 8.03), and I want to maintain its SEO value even when it's sold out. To do so, I'm displaying a "sold" label on the main catalog page, but when I open the sold product the label is changed to "Last item". And this is incorrect. Possible bug?

The problem is that the

{$product.availability|print_r} value currently shows "last_remaining_items1,"

I'm using non classic theme, but is I switch to it, you could see that it's not theme related:

image.thumb.png.71fe21000ea0a68cb5bd6daa17455d66.png

It's misleading for customers who think the product is still available, while it's sold out.

Any help or suggestions would be greatly appreciated. Thank you!

Link to comment
Share on other sites

Hello,
In Prestashop 8, there is a global setting also for the low-stock products (Display remaining quantities when the quantity is lower than), not only for each separate product on the products details page. 
At the Shop parameters > Product settings > Products stock, you need to set 0 this setting to avoid the "Last remaining items" text: 
https://prnt.sc/8pYKY1gZI_D5
I hope that I could help.
Have a nice day, Leo.

Link to comment
Share on other sites

Hi,

thank you for your reply!

Unfortunately, when it is set to "0" it displays "In stock" label. Very weird.

Here is a screenshot with settings, sorry, it's in Lithuanian, but the logic is the same

image.thumb.png.dd3248166a2820e2f5c5619e5614aa18.png

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...