A store I'm building (using FoxyCart 2.0) has 2 payment methods:
2. Purchase Order
It also has 2 shipping methods:
1. Flat Shipping Per Product ($75 per product); FoxyCart handles this via Product Categories
2. Customer Pickup (Free); FoxyCart handles this as a "Custom" shipping option
My store requires a relationship between Payment and Shipping methods:
1. if PayPal is chosen, then Flat Shipping Per Product must apply
2. if Purchase Order is chosen, then Custom Pickup must apply
The question I have is, during checkout, when a customer chooses 1 of the 2 payment methods, how do I apply (or remove) the custom Product Category which sets the flat shipping per product price of each product in the cart?
Some sample code would be great, or even an explanation of a starting point.