Answers.Body: <p>I think Multi Add will be the simplest approach here - it really won't be hard with that, and Luke repeated recently that multi-add will become core, so apart from some possible minor template modification later, it seems a sensible way to build this - and will be simpler (going forward as  well) than writing a new plugin for it, where you'll have to take a lot more care with your extra logic for shipping/tax etc.  Multi add just adds multiple products, but leverages core ine very other way, so it's a very robust solution.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-02-07T00:00:04.747Z
Answers.LastActivityDate: 2017-02-07T00:00:04.747Z
Answers.UserDisplayName: Jeremy Daalder
Body: <p>Is it possible to somehow (plugin or otherwise) modify the price of a lineItem/variant based on variables like material or any other additional modifier (basically affecting the same stock of items).</p>
  
  <p>For example:
  Pillow (with variants being color)
  — Stuffing material
  — Print yes/no</p>
  
  <p>The pillow base product itself is a finite number of items for each color, but the stuffing isn't fixed in that sense, effectively being infinite in terms of stock.</p>
  
  <p>Would it be possible to create separate products and use the Multi Add plugin for this, rather than doing some form of (preferably simpler) custom approach?</p>
  
Tags: <plugin-craftcommerce>
Title: Add variable to purchasable variant to modify price?
ThreadText: # Add variable to purchasable variant to modify price?
  
  (Asked by: username_0 on 2017-02-06)
  
  Is it possible to somehow (plugin or otherwise) modify the price of a lineItem/variant based on variables like material or any other additional modifier (basically affecting the same stock of items).
  
  For example:
  Pillow (with variants being color)
  — Stuffing material
  — Print yes/no
  
  The pillow base product itself is a finite number of items for each color, but the stuffing isn't fixed in that sense, effectively being infinite in terms of stock.
  
  Would it be possible to create separate products and use the Multi Add plugin for this, rather than doing some form of (preferably simpler) custom approach?
  
  **Tags:** plugin-craftcommerce
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2017-02-07. Score: 2 | Accepted answer
  
  I think Multi Add will be the simplest approach here - it really won't be hard with that, and Luke repeated recently that multi-add will become core, so apart from some possible minor template modification later, it seems a sensible way to build this - and will be simpler (going forward as well) than writing a new plugin for it, where you'll have to take a lot more care with your extra logic for shipping/tax etc. Multi add just adds multiple products, but leverages core ine very other way, so it's a very robust solution.
  
  
  ---
  
  