I have a shop which needs to have some products free shipping. I thought the easiest way to do this would be to copy the 'apparel' module and rename all instances of 'apparel' to 'freeshipper' and then just NOT activate my flexicharge shipping charges for that new product type.
I tried this but no subproducts are available for my freeshipper type products.
I have poked around on the subproducts code and I don't see what's going wrong. In particular I see this line:
* Product types that return themselves * as part of the 'subproduct_types' productapi option are considered * to support variation-type subproducts. An example is the apparel * module in ecommerce/contrib.
and I indeed have (same as apparel.module):
case 'subproduct_types': return array('freeshipper');
in function freeshipper_productapi
Any ideas as to what I am doing wrong? Or any solution to my basic problem of how to create free shipping products?
Thanks, Fred
Any ideas as to what I am doing wrong? Or any solution to my basic problem of how to create free shipping products?
I have gotten one step further, but overall, this approach is failing. I see that I needed to define variations unique to my freeshipper product type and then I am able to create subproducts for a node of that type.
BUT:
1. The variations I made do not show up on /admin/ecsettings/variation/freeshipper instead I see those for apparel
2. While creating subproducts appears to work, it also generates MySQL errors :(
3. The real issue is that Flexicharge works now if I buy only freeshippers or only apparels--for freeshippers there's no shipping and for apparels the charges are correct. But if I buy both types, then no shipping charges appear.
*Sigh* Seems like time to poke around with ubercart again. Maybe this can be done there.
Fred