PDA

View Full Version : Custom Cart and Shipping Weight



jrn
11-14-2011, 12:38 PM
I've set up a custom cart. Everything but the shipping weight seems to be working. I didn't see a shipping weight in the sample code, and when I tried the same variable that is used in the ZenCart version it didn't get passed through. How do I pass the weight all the way through to ShipRush for Stamps or FedEx?

Thanks,
Jason

SYSOPS
11-14-2011, 01:52 PM
The only suggestion is to base your code on the ShippingZZencart area for //Get product weight, or take a look at ShippingZOscommerce for how that is dealt with from a different php backend, //Get product weight & calculate total product weight. Of course it will have to modified for your custom cart solution.

SYSOPS

SYSOPR
11-14-2011, 03:46 PM
Sure, it is there. Look at the zen cart implementation:

$product_weight

and search the Classes file for "weight"