Drupal Association members fund grants that make connections all over the world.
Hi, I was looking for a way to add more products in 'Deal' content type. I change the product reference field to more than 1. But it always return in error :
Fatal error: Call to a member function value() on a non-object in xxx/profiles/opendeals/modules/custom/opendeals_module/opendeals_module.module on line 166
opendeals_module.module on line 166 is :
$stock = $wrapper->field_product->field_stock->value();
My Questions are:
1. Any chance that I can add more products options/variant ?
2. I want to create many different products into Product Type so I need many product options. Can I have many different options for 1 product type ?
3. I had tried to use Commerce Product Options, but I cannot set the price individually per product option/variant. What is the proper way to have many product options and set different prices individually ?
Example: I want to sell Theatre X voucher that has options:
- VIP Seat $500
- Front Row $200
- Mid Row $120
I also want to sell Beauty Salon voucher that has options:
- Cut Only $100
- Cut + Blow $200
- Spa $120
- Cut + Spa $160