All things Shopify and commerce
Hi,
I'm not sure if this is possible or if an app actually provides this functionality.
I will be selling fabric by the metre or by the roll.
However, I need the ability for Shopify to prefill a particular "roll" with a certain SKU when the customer opens the page, should they choose to order an entire roll or just by the meter. Because each roll will be different and will be either 30m, 40m or 50m.
Each colour and roll will have their own SKU's. But it shouldn't be an option for the customer to choose. The price will then need to be multiplied by the pre-chosen sku with the set amount of metres. This will apply to approximately 15 different products. So once one is setup, the rest will follow the same principle.
I've already setup custom code to show the option for if they want to choose an entire roll vs a cut roll for a certain amount of metres.
If there is an alternative automated way the customer can get a predetermined roll amount input onto the product page, then open to ideas!
Anyone have any ideas on if this is even possible?
Hi @vFallin
Just interested, I think you can achieve you needs follow below steps.
1. You can set a fabric product have various colors
2. Set the price per 10 meter.
3. And when customers open your product page. They can adjust quantity to get their roll.
eg. if they would like 30m, the quantity will be 3. the price will be multiplied automatically by shopify.
Hi @Sonya_2025,
Thanks for the recommendation!
The customers still need to be able to choose to order 1-10 meters if that's all they need and that price will still need to be multiplied by the number they input. So if the quantity is set at 1/per 10m, then they can't order 0.1 for 1 meter.
I've tried using the quantity selector as the price per meter as well, but then the price per roll won't be the same since the whole roll might be 30m-50m.
It's a great suggestion though!
I couldn't find any product variant apps that fit the criteria for dynamic solutions so I coded the drop down. But learnt the rolls vary after writting the code.
Thanks for your help!
Hi @vFallin
Thanks for your reply.
I think you can use product metafield to set roll meters for each product.
add custom code to limit quantity to input for each product.
eg: The whole roll for the product is 50m, and you set a price per meter. then the custom only can set quantity to 50 for this product per order.
Hi @Sonya_2025,
I might try that and see how it goes. But since each product and fabric colour can be the same but have different length per roll we recieve, it might not match watch we send the customer and what they pay for.
If it doesn't work, I might just need to see if the supplier can provide a set length on each roll, so it's consistent and can just use the quantity option per meter.
We will also have business customers buying several rolls for a single colour at a time, so it won't be an ideal customer experince if we limit them to one roll per colour per order.
Thanks for your help! I'll see how it goes.
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025