
[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] custom shipping problem
I am having problems trying to get a custom shipping setup to work. I
have a catalog where items in one category have a fixed shipping
price and everything else is charged for shipping based on the total
price of the remaining items. I have written usertags to calculate
the number of items that should be charged per item and have been
able to get that charged correctly added for shipping as long as the
person also orders an item which is charged by price.
If the person only orders an item charged by price I get the following error.
No match found for mode 'formula', quantity '', returning 0.
Even though I know that the usertag tag is return the correct amount
of 0.00. Any idea why the quantity would be NULL?
Here is what I have in my shipping.asc.
formula TestFormula [myshipping noformat=1] 0 0 0.00
{'adder' => "(\$Scratch->{thehandling} * 50)"}
formula TestFormula [myshipping noformat=1] 0 100 3.33
{'adder' => "(\$Scratch->{thehandling} * 50)"}
formula TestFormula [myshipping noformat=1] 100 9999999 9.99
{'adder' => "(\$Scratch->{thehandling} * 50)"}
--
Scott Trunkhill 725 Broad St
Product Research Specialist Augusta, GA 30901
Morris Communications (706) 823-3203
trunk@morris.com
http://morris.com
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users