1

I am looking for solution to create shipping method (or some of them) which will count shipping as (cart weight in lb) * const. Have such solutions exists already, and if not, then what will the best way to developing it? It should work on Magento 1.6-1.9

  • Have you already tried default table rates? – Amasty Oct 16 '14 at 16:34
  • It seems for me that there are not option to set price to be equal weight, for example. If I have 56,78 lb in my cart I wish it to take $56,78 as shipping cost. And there is only one possible method than can be setted with table rates – beginner Oct 16 '14 at 16:38
1

You can create a new shipping method, as described here

And set the price equal to the package weight in the collectRates function:

$rate->setCost($request->getPackageWeight()); 
$rate->setPrice($request->getPackageWeight());

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.