You have chosen to sponsor your bid up to a maximum amount of .
Your mission is to build a new carrier within the shipping module, similar to an existing default carrier, and perform some changes.
You will work in the following module app/local/PackageName/Shipping
1. You duplicate TWICE the shipping/carrier_tablerate model and associated files and tables. The carriers' names will be "Table Rates for Hazardous Items" (Tableratehazardous.php) and "Table Rates for Non-Hazardous Items" (Tableratenonhazardous.php)
2. For each carrier, you modifiy the code as follow:
2.1 add two fields in the backend
2.2 if the order total weight is above maximum_weight_package, the getRate will return false and the over_weight_msg message will be returned instead.
3. The collectRates will check the condition below and, depending on the result, will deactivate Tableratehazardous or Tableratenonhazardous
condition: IF at least one item within the cart is classified as hazardous (yes/no boolean attribute), then deactivate Tableratenonhazardous.php else deactivate Tableratehazardous.php
Your code must be compatible with Magento 22.214.171.124
You will put everything in /PackageName/Shipping
Our developers may have to use or rewrite your code so please comment it (prompt comments) as well as any changes you will perform compare to the default Table Rates files.
Immediate availability please, we should have this module working by the end of next week.