Forums / Built-in Shipping and Payment Modules / How to change total product weight?

How to change total product weight?

Started by taitai on 17 Oct 2011, 1:12 AM · Views: 560

Results 1 to 2 of 2
17 Oct 2011, 1:12 AM
#1
taitai avatar

taitai

New Zenner

Join Date:
Oct 2011
Posts:
2
Plugin Contributions:
0

How to change total product weight?

I want to change total product weight "0" if order total quantity is larger than 1 in shopping cart.
When the customer order multiple items, I want to show each shipping method and shipping is $0 in checkout.

For example...
Express Mail $0
Priority Mail $0
UPS $0

This is for calculate the shipping after the order was completed. But I want to remain that the customer can select the shipping method.

Which php file should I change and what kind of code do I add ?
:flex:

17 Oct 2011, 1:37 AM
#2
taitai avatar

taitai

New Zenner

Join Date:
Oct 2011
Posts:
2
Plugin Contributions:
0

Re: How to change total product weight?

I solved it.

I just added

if ($_SESSION['cart']->count_contents() >1 ) {
$shipping_weight =0;
}