Guest Posted August 8, 2010 Posted August 8, 2010 Dear osc team and "forumers" Writing here to ask you about how to charge shipping cost according to weight. Guess youre a customer so if you buy 1kg or less you pay 7.5 but if you buy 2 kg you pay 7.5 + 0,44 and if you buy 4 kg you pay 7.5 + 0.44 + 0.44 + 0.44. First kg of weight is always 7.5 rest is add 0.44 by kg. Any idea how to get weight of product as variable and calculate? Thank you in advance. Quote
ssk2k10 Posted September 4, 2010 Posted September 4, 2010 (edited) Dear osc team and "forumers" Writing here to ask you about how to charge shipping cost according to weight. Guess youre a customer so if you buy 1kg or less you pay 7.5 but if you buy 2 kg you pay 7.5 + 0,44 and if you buy 4 kg you pay 7.5 + 0.44 + 0.44 + 0.44. First kg of weight is always 7.5 rest is add 0.44 by kg. Any idea how to get weight of product as variable and calculate? Thank you in advance. You can get the product weight in the product table. if product weight is more than 1 kg, then you can calculate the product weight as given flow Example product weight 3kg then price is price=0; for(i=1; i<3;i++){ if(i=1){ price= 7.5; }else{ price=price+0.44; } } Hope it will help you Edited September 4, 2010 by ssk2k10 Quote
♥geoffreywalton Posted September 4, 2010 Posted September 4, 2010 Each product can have a wt held for it. There are shipping methods that already allow you to set charges by wt. HTH G Quote Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>.
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.