Custom line of text on specific product listing page

Hello,

I’m looking for a way to incorporate custom text on specific product pages. The objective is to inform customers about product availability for items that are temporarily out of stock, providing an anticipated restocking date. This proactive communication is intended to deter our loyal customers from seeking the product elsewhere and reaching out to inquire about restocking dates.

While I’m aware of pre-ordering apps, we’re not inclined to pursue that route via paid apps. Therefore, if we can implement custom code on distinct product pages, it would be a viable solution for us.

An example of one of my product pages is - https://www.crystalmailing.co.uk/products/thermal-labels-rolls-60-x-30mm-1-roll-2000-individual-labels

Ideally, I’d like it to appear next to the “sold out” label next to the price or anywhere on the page that ensures easy visibility for customers seeking information about when a particular sold-out product will be back in stock. While Shopify offers a feature to add text, the challenge lies in its application, as it applies to all product listing pages.

Any help would be welcome :slightly_smiling_face:

Kind regards
Imran
Crystal Mailing (For mailing supplies, the choice is crystal clear)

Hi @CrystalMailing

We can try metfields for that.

On product details page we can check if product is soldout then metafields value like when product will available will display.
And can do styling using css.

If needed any help please let me know

Thanks
Laddi

Hello Laddi,

I appreciate your response.

Regarding the implementation, should this be integrated directly into the theme’s code? We currently use the Dawn theme, and we’ve noticed that when we update to a new theme version, all of our custom code gets erased. As a result, I’d prefer not to hardcode anything, but instead, be able to easily add and remove text as needed.

Kind regards
Imran
Crystal Mailing (For mailing supplies, the choice is crystal clear)