I am trying to grasp how to use the shipping logic available in AgoraCart, but I need help. I am very confused, and do no send me to the shipping.txt file in the 'protected/DOCS' directory as that is why I am confused. First, there is mentioned "the old way" but it is unclear just what is "the new way". Second, an example is given, like:
@sc_shipping_logic = (
"usps||1-|5%",
"ups||1-||10%",
"fedex||1-||20%);
implying that this is complete. Then later it is stated, "To implement it, you will need to define the logic array and call the subroutine in the custom shipping logic." This is followed by an example that includes a logic array (@sc_shipping_logic=) followed by $shipping_price = &calculate_shipping(....
So: Do both parts need to be coded? Will the first one without the &calculate_shipping call work? Is this the "old" and the "new" method? I need help, please.
Tom