Jump to content

How to use $product.availability_message to create availability statuses on the product page?


Konrad Bajsarowicz

Recommended Posts

Hi,

I have an online store with antiques. Each product only one piece. I would like to create availability statuses on the product page ($product.availability_message).
1. If the product is reserved (order status: waiting for payment), I would like to display the availability message on the product page: "product reserved" (without the possibility of ordering).
2. If the product has been sold (order status: paid / shipped / delivered), I would like to display the message about availability: "product sold" (without the possibility of ordering).

I am asking for help, how to do it.

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