Closed (fixed)
Project:
Commerce Core
Version:
7.x-1.1
Component:
User experience
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
2 Jan 2012 at 22:20 UTC
Updated:
17 Jan 2012 at 04:10 UTC
Jump to comment: Most recent
Comments
Comment #1
rszrama commentedUsing the Physical Fields module you can add a weight field to your weighted product line item and expose it to the Add to Cart form. You'll need to use a different product line item type / product display node type for the weight based products. See http://drupal.org/project/commerce_custom_product.
Comment #2
drupalina commentedThanks rszrama, I'll give Physical Fields a try. But your reply wasn't clear: should I use one of the two? or should I use a combination of Physical Fields and "Commerce Custom Product" modules?
Thanks.
Comment #4
stijnstroobantsI have a similar question.
I have one product type 'commerce_product'.
On that product type I would like to add a dropdown field with values 'piece' and 'kilogram'.
Depending on that extra field the the price will be calculated.
If i select kilogram, the client will have to fill in the quantity-field in grams.
Comment #5
stijnstroobantsI just decided to let the visitors type in the weight (kg) in decimals.
So 500 gram = 0.5kg.
This can simply be done with the Commerce decimal quantities module (https://drupal.org/project/commerce_decimal_quantities)