Zen Cart Logo
Forums / Addon Shipping Modules / maximum Shipping Charge? Possible?>

maximum Shipping Charge? Possible?>

Locked

Views: 1,859

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
29 Nov 2006, 5:51 PM
#1
atsdotha avatar

atsdotha

Zen Follower

Join Date:
Jul 2005
Location:
Dothan, AL
Posts:
328
Plugin Contributions:
0

maximum Shipping Charge? Possible?>

I am using the per item shipping. I also have free shipping over $200.00

The most I ever want to charge for shipping is $10. Anyway to add a maxmimum shipping charge to my site?

29 Nov 2006, 6:33 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: maximum Shipping Charge? Possible?>

You could catch the cost in the item.php so that if calculated to > 10.00 it sets the amount to 10.00 so it cannot exceed your limit ...

You'd be adjusting the code in this section around lines 58-64:

      $total_count = $total_count - $_SESSION['cart']->free_shipping_items();
      $this->quotes = array('id' => $this->code,
                            'module' => MODULE_SHIPPING_ITEM_TEXT_TITLE,
                            'methods' => array(array('id' => $this->code,
                                                     'title' => MODULE_SHIPPING_ITEM_TEXT_WAY,
                                                     'cost' => (MODULE_SHIPPING_ITEM_COST * $total_count) + MODULE_SHIPPING_ITEM_HANDLING)));
29 Nov 2006, 6:39 PM
#3
atsdotha avatar

atsdotha

Zen Follower

Join Date:
Jul 2005
Location:
Dothan, AL
Posts:
328
Plugin Contributions:
0

Re: maximum Shipping Charge? Possible?>

that might be a bit out of my league.