[support] New Ecommerce Product Type with Subproducts
Fred Jones
fredthejonester at gmail.com
Thu Mar 6 15:14:17 UTC 2008
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
More information about the support
mailing list