Add a shipping calc by weight feature

Get help with nopcart formatting or style related issues.

Moderators: Koibito, Stefko, Randy

Add a shipping calc by weight feature

Postby BluewaterSales » Wed Jan 13, 2010 11:17 pm

I have been calculating the shipping costs by the number of items up until now but I have taken on a new line of products that have a wide range of weights and need top add a weigh consideration to the nopcart. Because I have customized the nopcart quite a bit to suit our needs I would like to find out how to add a weight multiplier some how. I know how to add
<input type=hidden name=WEIGHT value="2"> (for a 2 pound item for example)to the html form but am a bit confused as to how to pull it over and have it as part of the calculation for the shipping in the nopcart.js
Any help would be greatly appreciated.
I have attached my existing nopcart.js which works great otherwise.

Thank you in advance,
John C. Allen
The Bluewater Group
http://www.kakadutrader,com
Attachments
nopcart.txt
(51.7 KiB) Downloaded 52 times
BluewaterSales
WebMaster
 
Posts: 5
Joined: Tue Feb 12, 2008 11:09 pm

Re: Add a shipping calc by weight feature

Postby Randy » Tue Mar 02, 2010 4:02 am

Search the modification section for "shipping by weight and zone"
Stefko did the original code, but it has been modified for weight only and zone only as well.

You will find all kinds of ideas there!
Randy
Randy
Guru
 
Posts: 1511
Joined: Tue Apr 22, 2003 12:21 pm
Location: Thunder Bay, Ontario


Return to Help: Formatting and Style

Who is online

Users browsing this forum: No registered users and 1 guest

cron