Jump to content


Maximum shipping cost


1 reply to this topic

#1 webwonderuk

  • Members
  • 243 posts

Posted 06 September 2005 - 01:57 PM

Using per item shipping and want to set a maximum shipping price?
just add the following to modules/shipping/Per_item/calc.php:

After
$sum =  $module['handling'] + ($module['cost'] * $noItems);

Add
if ($sum>amount)
$sum=amount;

Where amount is the maximum cost for shipping..

#2 megagente

  • Members
  • 127 posts

Posted 14 September 2005 - 06:30 PM

If I want to do this on minimum amount in order?





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users