Jump to content

How to show "In Stock" under the add to cart button.


MrWade

Recommended Posts

Hello,

Does adding a text under Shop Parameters -> Product Settings -> Products stock -> Label of in-stock products, fix the issue?

By default, PrestaShop only has a placeholder in there. Adding an actual text and saving it should display that text under the add to cart button, just like in my screenshot. That is, if you did not change any template/core code related to this functionality.

 

Screenshot 2025-05-13 213604.png

Link to comment
Share on other sites

Does adding a text under Shop Parameters -> Product Settings -> Products stock -> Label of in-stock products, fix the issue?

Yes, it say "In Stock". But It still doesn't show it in the product detail page.

Link to comment
Share on other sites

On 5/14/2025 at 4:37 AM, MrWade said:

Does adding a text under Shop Parameters -> Product Settings -> Products stock -> Label of in-stock products, fix the issue?

Yes, it say "In Stock". But It still doesn't show it in the product detail page.

You must go to Edit a product -> Edit a combination from backoffice, insert Text for In/Out of Stock

2025-05-15_100217.thumb.png.09fea879618ab9008d458197ccf4d3c6.png

Link to comment
Share on other sites

On 5/14/2025 at 4:37 AM, MrWade said:

Does adding a text under Shop Parameters -> Product Settings -> Products stock -> Label of in-stock products, fix the issue?

Yes, it say "In Stock". But It still doesn't show it in the product detail page.

You must go to Edit a product -> Edit a combination from backoffice, insert Text for In/Out of Stock

2025-05-15_100217.thumb.png.09fea879618ab9008d458197ccf4d3c6.png

Link to comment
Share on other sites

On 5/14/2025 at 3:07 AM, MrWade said:

Does adding a text under Shop Parameters -> Product Settings -> Products stock -> Label of in-stock products, fix the issue?

Yes, it say "In Stock". But It still doesn't show it in the product detail page.

Please check after updating the label from the product edit page in the Catalog:

https://prnt.sc/jyjdm-2_UG9g

On the product detail page, the updated label is being displayed:

https://prnt.sc/bDOB9RurGXFe

If the label is still not showing, please verify the product_availability block inside the following template file:

/themes/classic/templates/catalog/_partials/product-add-to-cart.tpl

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