Fix bug in zen cart Australia Post shipping module

Анульовано Опубліковано %project.relative_time Оплачується при отриманні
Анульовано Оплачується при отриманні

I need help fixing a bug in the Australia Post shipping module for zen cart.

When more than one product is added to the cart, the weights are not being added together and only the weight for the last item in the cart is being sent the Australia Post server.

I suspect the problem is with the $parcelweight variable in: includes/modules/shipping/[login to view URL] on lines 153 - 173:

$myorder = $_SESSION['cart']->get_products();

for($x = 0 ; $x < count($myorder) ; $x++ )

{

$t = $myorder[$x]['id'] ;

$q = $myorder[$x]['quantity'];

$w = $myorder[$x]['weight'];

$parcelweight = $w * $q;

I have attached a copy of the shipping module so you can look at the code. I can give you access to a zen cart install to test it out.

Thanks,

Luke

HTML JavaScript MySQL PHP Архітектура ПЗ

ID Проекту: #16729400

Про проект

4 заявок(-ки) Дистанційний проект Остання активність 5 роки(ів) тому

4 фрілансерів(-и) готові виконати цю роботу у середньому за $27

saiSoftIndia

I have read your requirements and think that I would be a great fit for this project, Ready to start I offer you quality work and time based completion

$30 AUD за 1 день
(425 відгуків(и))
7.6
Balaje20sep

Dear, Team Greetings! I possess 13 years of rich IT industrial experience working in diversified technology. Kindly give me an opportunity to start looking at the solution for the mentioned requirement. I believe, Більше

$23 AUD за 1 день
(0 відгуків(и))
0.0