How can I set product prices per meter?

Hello,

I have to set prices per meter for some products. How can I do it?

Thank you.

Hi @Devis ,

There are a few ways to do this:

Method 1: Use Shopify’s Variants

  1. Create variants: Create product variants for each product that require pricing per meter. For example, if you have a product named “Fabric” and want to set prices per meter, create variants like “Fabric - 1 meter,” “Fabric - 2 meters,” and so on.

Limitations:

  • Manual setup: Creating multiple variants for different meter lengths can be time-consuming if you have numerous products or if you frequently update your inventory.
  • Limited flexibility: This method works well if you have a predefined set of meter lengths, but it may not be suitable if you want to allow customers to choose custom meter lengths.

Method 2: Use an App or Custom Development

  1. Install a unit pricing app: Shopify has several apps available in the Shopify App Store that allow you to set prices per meter. Search for “price per meter” or “custom pricing” apps, and choose one that suits your needs.

Limitations:

  • App compatibility: Some apps may not be compatible with your theme or other installed apps, so it’s essential to check compatibility before installing.
  • Cost: Depending on the complexity and features of the app, there may be a cost associated with using it.
  • Customization: Apps provide predefined features, so customization options may be limited if you have specific requirements.

Method 3: Use Product Customization Options

  1. Set up product customization options: Use Shopify’s built-in product customization options to allow customers to enter the desired meter length and calculate the price based on that input. You can add various types of input fields to collect specific information from customers. This can include text fields, dropdown menus, checkboxes, radio buttons, and more.

Limitations:

  • Some code editing may be required to get this to work.
  • Manual price calculation: You need to manually set up the pricing logic to calculate the price per meter based on customer input.

Please let me know if this is helpful.

Thank you for your proposed solutions. I will check it out. Thank you for the time you took to answer. Best regards.

Hi @Devis ,

We just wrapped up a project doing just that. We created a CSV import with the size as the product handle and corresponding price. On the product page we implemented a new template that uses AJAX api to add the right product to cart.

You could also use Product options or product variants, that would eliminate the need for AJAX api.

I’ve also seen an app that creates products via REST API as the items are added to cart.

That all being said, there’s different approaches to this from a developer view.

If you’re looking for an app recommendation this one looks like it could do the job: IzyUnit: Price Per Unit

https://apps.shopify.com/sell-by-liter-meter-weight

Regards,

Sam - Owner / Lead Developer

Achieve Applabs

Hi @Devis ,

I’m curious if you’ve already found a solution to your query. If not, I’d like to propose a straightforward solution that utilizes the Easify Product Options app. This will enable you to incorporate a field where customers can input their desired meter measurement for your product, with the added capability of setting a corresponding price per meter :hugs: .

Here’s a brief overview of how you can set this up:

  • Create a new option set:

  • Add a Quantity option type and specify the price for each meter of your product:

  • Select the product(s) to which you’d like to apply the above option, and your setting is complete.

As you can see, using the Easify Product Options app makes it a breeze to address your needs :blush: .