d***@blueyonder.co.uk
2006-10-19 11:49:23 UTC
Hi all,
Sorry about all the posts recently, working with v6 seems I'm back on the learning curve again ;-)
Anyhow, i'm trying to apply on the fly shipping to an an order. Am developing in wc v6 ee and the model is an extended sites one. We're going to have a lot of extended / hosted stores (1000s) and have a custom table to hold extra configuration info for each. There's a simple delivery charge held in this table, which is only applied if the order is for delivery, our model allows store collection where it wouldn't apply (this is selected by the user)
I thought I'd extend the ApplyOrderShippingCharges to knock out the standard method and implement our custom code, however when I register the base commerce command as a starter in cmdreg, the checkout process no longer works, error is...
[19/10/06 11:06:28:766 BST] 0000003b CommerceSrvr I com.ibm.commerce.order.utils.ApplyCalculationUsagesCmdImpl validateParameters There was a bad or missing parameter: orderItemABArray/Enum.
..I haven't modded anything yet, just registered the standard ApplyOrderShippingCharges in cmdreg, so there's a problem
I've also noticed in the infocenter, quote...
"...Then, all the methods identified by CALMETHOD_ID_APP column are called. The following behaviours are provided for compatibility with previous versions:
...* If this flag is set for usage -2, the ApplyOrderShippingCharges task command (if it is defined in the CMDREG table) is called, instead of the method identified by the CALMETHOD_ID_APP column...."
..the bit "compatibility with previous versions" suggest to me I'm going about this wrong way now in v6, any pointer to how I should do this, as a workaround i'm writing the value in orderitems.totaladjustment for now
Many Thanks,
Dave
Sorry about all the posts recently, working with v6 seems I'm back on the learning curve again ;-)
Anyhow, i'm trying to apply on the fly shipping to an an order. Am developing in wc v6 ee and the model is an extended sites one. We're going to have a lot of extended / hosted stores (1000s) and have a custom table to hold extra configuration info for each. There's a simple delivery charge held in this table, which is only applied if the order is for delivery, our model allows store collection where it wouldn't apply (this is selected by the user)
I thought I'd extend the ApplyOrderShippingCharges to knock out the standard method and implement our custom code, however when I register the base commerce command as a starter in cmdreg, the checkout process no longer works, error is...
[19/10/06 11:06:28:766 BST] 0000003b CommerceSrvr I com.ibm.commerce.order.utils.ApplyCalculationUsagesCmdImpl validateParameters There was a bad or missing parameter: orderItemABArray/Enum.
..I haven't modded anything yet, just registered the standard ApplyOrderShippingCharges in cmdreg, so there's a problem
I've also noticed in the infocenter, quote...
"...Then, all the methods identified by CALMETHOD_ID_APP column are called. The following behaviours are provided for compatibility with previous versions:
...* If this flag is set for usage -2, the ApplyOrderShippingCharges task command (if it is defined in the CMDREG table) is called, instead of the method identified by the CALMETHOD_ID_APP column...."
..the bit "compatibility with previous versions" suggest to me I'm going about this wrong way now in v6, any pointer to how I should do this, as a workaround i'm writing the value in orderitems.totaladjustment for now
Many Thanks,
Dave