Metafield - Display message based on quantity

Hi,

I’m looking to sell products in increments and out of the box it’s not possible, without a subscription 3rd party app.

Is there a way I could display a metafield which can read quantity and display a message based on quantity selected

e.g quantity of 2 equals a metre, 3 = 1.5 and so on?

Hoping that makes sense,

Many Thanks

Yes, this can be done via custom dev in the theme.

Thank you, Have you any ideas on the variable it’s using, please? I’ve tried quantity-selector but can’t seem to get the message to be displayed

I’m using the Craft theme

Yes, we can write but the code is not so simple that can be shared here.

Let me know if you are willing to hire, ping us on WhatsApp to get implementation detail.

Hi @EMFabrics ,

Should you reconsider using an app, the Easify Product Options app could be a valuable solution.

It features a Quantity option type that seamlessly integrates into your product page, allowing customers to input their desired meters. The standout feature is the ability to configure a formula for the quantity field, enabling automatic calculation of the total price :hugs: .

Here’s a quick example:

Storefront:

App Settings:

Hope you can give the app a try!