Need some work done? Post a Project Today
Attention Scriptlance users, Scriptlance has been acquired by Freelancer.com! Find out more
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 126.96.36.199
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.
Namaste and welcome to Freelancer.in. Let us help you build a global business empire by providing a skilled virtual workforce to deliver any work you need online. Increase your competitiveness and profitability, on the world's largest outsourcing website, by accessing millions of professional Freelancers! Our Freelancers are based in 234 countries and regions. Technically elite, they specialize in over 300 project categories covering IT, Design, Writing, Engineering, the Sciences, Sales, Marketing, Business, Legal services and more.
Simply sign up to post a project and, within minutes, you'll start receiving bids from Freelancers ready to work. For example, an aspiring Bollywood singer in Mumbai can have his songs remixed by a producer in Los Angeles; a Goan housewife's recipes are converted into a potential best-seller by a publisher in London, and a business in Delhi hires developers in Chennai to build its website. The possibilities, like the types of work that can be outsourced, are virtually unlimited!
Freelancer.in can reduce your costs, without compromising quality, and our secure Milestone Payment system ensures you only pay for work you're completely satisfied with. You're also protected by our dispute resolution service, and online assistance is always available via our dedicated 24/7 help-desk.
There are also lucrative earning opportunities for skilled Indian Freelancers. You will greatly benefit from the flexibility of full or part-time work, and can even earn money without working on site! Our affiliate program pays you for referring users to Freelancer.in. These are ideal options for students, stay-at-home moms, retired or semi-retired professionals, and everyone looking for extra income. Sign up now!
© Copyright 2013 Freelancer Technology Pty Limited (ACN 142 189 759)
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)