<p>Normally you would create variations of a product that would then be purchased by a customer. An example could be a plain t-shirt (the product), which is available in small, medium &amp; large (each of these would be a variant of the product). This way you can easily keep track of stock, set different prices (like your No. of meters) and add different field values, if needed.</p>

<p>I would create a variant for each "No. of meters" as this will require a different price to be charged. However, creating a variant for each and every configuration would be overkill. </p>

<p>As you don't need to track stock and each product will be made to order I would instead look at adding the options to the line item using <code>name="options[optionName]"</code>.</p>

<p>The following is taken from the default templates that come with Craft Commerce.</p>

<pre><code>&lt;select name="options[giftWrapped]"&gt;
  &lt;option value="no"&gt;No gift wrap.&lt;/option&gt;
  &lt;option value="yes"&gt;Gift wrapped.&lt;/option&gt;
&lt;/select&gt;
</code></pre>

<p>These options are then set on the line item for that order. These would be viewable on the order summary page in the control panel.</p>

CC BY-SA 3.0
2016-06-10T09:31:28.587Z
Thanks Luke,

So in summary: Variant for Metres with set (hard coded) options.
Dan Lee
CC BY-SA 3.0
2016-06-10T09:44:32.107Z
Yeah, although I am now wondering how you'd control setting these options. Will these options be across every product you sell?
Luke Pearce
CC BY-SA 3.0
2016-06-10T10:47:54.747Z
We are only having one product - so this should work right?
Dan Lee
CC BY-SA 3.0
2016-06-13T15:54:28.323Z
How did you get on with this solution Dan? If there's anything we can add to get it marked as "accepted" let me know.
Luke Pearce
CC BY-SA 3.0
2016-06-14T07:18:36.593Z
This is great - marked as answered.
Dan Lee
CC BY-SA 3.0
2016-06-10T09:17:39.963Z
2016-06-10T09:23:58.737Z
2016-06-10T09:23:58.737Z
Luke Pearce
<p>I'm trying to get my head round how Craft Commerce manages product options. My Product has the following (multiple) options.</p>

<ol>
<li>Material Type</li>
<li>Distance between design</li>
<li>No. of designs per metre</li>
<li><p>No. of meters (selecting this changes the price, so 1 metre is £100 and 2 metres is 200 etc)</p>

<ul>
<li>The options can be set independent of each other.</li>
<li>Distance and No. of Designs will have set ranges the customer can choose from.</li>
<li>As this is just one product that effectively gets customised by the options there is no stock level.</li>
</ul></li>
</ol>

<p><strong>Question One:</strong> Is multiple options on one product possible?</p>

<p><strong>Question Two:</strong> Do I need to create variants for each option - how if so? </p>

<p><strong>Question Three:</strong> Do I need multiple products based on the number of Metres (which changes the price)? Ideally I'd like one product that gets adjusted on the options selected. Is that possible?</p>

CC BY-SA 3.0
2016-06-09T17:23:31.230Z
Are these options completely bespoke? As in, can you set options independently from each other or will material X only be available in length Y? Do your distances and no. of designs have set ranges customers can choose from? Will these options have levels of stock associated with them or are you creating this product to order?
Luke Pearce
CC BY-SA 3.0
2016-06-10T07:40:41.527Z
Hi Luke,

1. The options can be set independent of each other.
2. Distance and No. of Designs will have set ranges the customer can choose from.
3. As this is just one product that effectively gets customised by the options there is no stock level.
Dan Lee
<plugin-craftcommerce>
Craft Commerce: Product Options
# Craft Commerce: Product Options

(Asked by: username_0 on 2016-06-09)

I'm trying to get my head round how Craft Commerce manages product options. My Product has the following (multiple) options.

1. Material Type
2. Distance between design
3. No. of designs per metre
4. No. of meters (selecting this changes the price, so 1 metre is £100 and 2 metres is 200 etc)

   * The options can be set independent of each other.
   * Distance and No. of Designs will have set ranges the customer can choose from.
   * As this is just one product that effectively gets customised by the options there is no stock level.

**Question One:** Is multiple options on one product possible?

**Question Two:** Do I need to create variants for each option - how if so?

**Question Three:** Do I need multiple products based on the number of Metres (which changes the price)? Ideally I'd like one product that gets adjusted on the options selected. Is that possible?

**Tags:** plugin-craftcommerce
> **Comments:**
> **username_1**: Are these options completely bespoke? As in, can you set options independently from each other or will material X only be available in length Y? Do your distances and no. of designs have set ranges customers can choose from? Will these options have levels of stock associated with them or are you creating this product to order?  
> **username_0**: Hi Luke,  1. The options can be set independent of each other. 2. Distance and No. of Designs will have set ranges the customer can choose from. 3. As this is just one product that effectively gets customised by the options there is no stock level.  

---

## 1 answers

### Answer by username_1 on 2016-06-10. Score: 4 | Accepted answer

Normally you would create variations of a product that would then be purchased by a customer. An example could be a plain t-shirt (the product), which is available in small, medium & large (each of these would be a variant of the product). This way you can easily keep track of stock, set different prices (like your No. of meters) and add different field values, if needed.
I would create a variant for each "No. of meters" as this will require a different price to be charged. However, creating a variant for each and every configuration would be overkill. 
As you don't need to track stock and each product will be made to order I would instead look at adding the options to the line item using name="options[optionName]".
The following is taken from the default templates that come with Craft Commerce.

  No gift wrap.
  Gift wrapped.


These options are then set on the line item for that order. These would be viewable on the order summary page in the control panel.

> **Comments:**
> **username_0**: Thanks Luke,  So in summary: Variant for Metres with set (hard coded) options.  
> **username_1**: Yeah, although I am now wondering how you'd control setting these options. Will these options be across every product you sell?  
> **username_0**: We are only having one product - so this should work right?  
> **username_1**: How did you get on with this solution Dan? If there's anything we can add to get it marked as "accepted" let me know.  
> **username_0**: This is great - marked as answered.  

---

