New Zenner
- Join Date:
- Mar 2008
- Posts:
- 7
- Plugin Contributions:
- 0
Limiting shipping options for some product categories
I have been asked to add the following feature to Zen Cart:
Reduce the possible shipping methods on the checkout page based on the category of the product being purchased.
Specifically: My friend sells some products which contain hazardous materials, and must be shipped only by UPS, where they can be properly handled and audited. At present, he must manually check each new order, and if it contains certain items he must cancel the order, contact the customer, and ask them to place the order again with the appropriate shipping method.
Although this is to be done for his specific needs, the result is to be contributed back to the Zen Cart community. That being the case, I have two requests for the members of this forum.
-
Although I can write PHP, I am lost as to where to begin in the enormous pile of files in the Zen Cart installation. I've found the usps and ups modules in the raw code, but not where they are called or how they are selected from among the shipping methods Zen Cart supports. I found the source of the shipping page which presents the shipping information, but it doesn't contain anything I've found useful. I searched these forums, but didn't find anyone discussing which PHP files are to be edited to play with the shipping stuff. I have never dealt with Zen Cart before and know nothing of the way it works. Would someone give me a list of the PHP files I will need to work with to get this job done?
-
I have been told that this sort of feature has been requested by others before. In the interest in making this as useful to as many people as possible, please let me know how this can help you, and if any approach would make it worthless or invaluable to you.
Thanks,
ShawnMilo