01K Posted April 24, 2023 Share Posted April 24, 2023 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: 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 More sharing options...
Prestachamps Posted April 24, 2023 Share Posted April 24, 2023 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 More sharing options...
01K Posted April 24, 2023 Author Share Posted April 24, 2023 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 Link to comment Share on other sites More sharing options...
01K Posted April 25, 2023 Author Share Posted April 25, 2023 @Prestachampsany thoughts, or it's a bug? Link to comment Share on other sites More sharing options...
WebDesk Solution Posted May 22, 2024 Share Posted May 22, 2024 Hello @01K, Yes, we reviewed your last reply. If you have changed the global setting for the out-of-stock label, please check the backend product details you have added. The Availability Preferences need to be set to "Deny orders" or "Use default behavior (Deny orders)." If you have selected the "Allow orders" option and added text to either the "Label when out of stock (and back order allowed)" field (see screenshot: Screenshot) or the "Label of out-of-stock products with allowed backorders" field (see screenshot: Screenshot), then that label will show on the product page on the frontend product page something like this (see screenshot: Screenshot) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now