Opencart module to calculate shipping cost by category.
This plugin will allow admin user to set a fixed cost for each category. The total shipping cost is the minimum of the cost of each category, once for each category in the cart.
For example, if a client has 3 product in cart as follows:
- product A category A
- product B category A
- product C category B
The costs are:
- 3 category A
- 5 category B
The total shipping cost will be 5.
Extract/add files to proper filepath:
Modify MySQL DB:
- INSERT INTO <prefix>_extension (
code) VALUES (‘shipping’, ‘category’);
Access OpenCart admin backend:
- Give permission to system -> user groups -> top admin -> */category (ie: to all entries with category)
- Set costs by category in extensions -> shipping -> fixed cost by category
- 2014-01-06 -> Initial release.