devshb
Senior Member
United Kingdom
1904 Posts |
Posted - February 26 2009 : 00:13:06
|
I think it is possible to do what you're after without having to change any code; it seems to allow you to specify certain products to always be separated while others still continue to use the existing grouping logic
one of the functions which relates to this says this in its comments: ' need to see if package can be group with our products ' or needs to be shipped individually ' Individually if ' specifically individualpackages=Yes ' or check on product and individual product field said do it separately ' or xdeliveryshipping=Yes and there is a delivery address
I think what you'd do is edit fedexrtconfig.asp and change the "xcheckIndividualProductField" setting to the relevant column that you want to use on the products table that specifies a "separate override" value, ie these settings; you'd change "pother4" to any spare products column, then set that to any non-null value for products you want to separate:
'Set to Yes if individual product requires separate shipping calculation ' regardless of other settings const xcheckIndividualProduct="No" const xcheckIndividualProductField="pother4"
(you'd keep your "xcheckIndividualProduct" value set to No; the second option is a per-product level override of that first option)
eg if pother2 is not being used by the rest of your cart yet, you'd change this: const xcheckIndividualProductField="pother4" to: const xcheckIndividualProductField="pother2" and then for any products that you want to separate out you'd set its pother2 value to something like "Yes" (anything other than a null will trigger separation)
Simon Barnaby Developer [email protected] www.BigYellowZone.com Web Design, Online Marketing and VPASP addons |
|
|