Fix bug in zen cart Australia Post shipping module

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.



Compétences : HTML, Javascript, MySQL, PHP, Architecture Logicielle

en voir plus : australia post shipping module zen cart, zen cart australia post shipping module, zen cart shipping module database, zen cart shipping module work, zen cart shipping module orange button, zen cart shipping module custom, zen cart ups xml shipping module, zen cart shipping module postcode, zen cart shipping module php, zen cart shipping module multiple maker, zen cart canda post shipping setup, free zen cart australia post shipping modules, custom zen cart shipping module, australia post shipping module osc, add zen cart shipping module, oscommerce australia post shipping module, zen cart checkout stuck shipping module, creloaded australia post shipping module, zen cart per item shipping module, zen cart australia post modules

Concernant l'employeur :
( 7 commentaires ) Billinudgel, Australia

Nº du projet : #16729400

4 freelance font une offre moyenne de $27 pour ce travail


Hello, My name is Sergey. I am Freelancer from [login to view URL], Russia. I can help you as ZenCart programmer to calculate total weight properly. 1000+ successfully completed projects speak for me. Links and review Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% AUD en 1 jour
(1782 Commentaires)

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

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% AUD en 1 jour
(425 Commentaires)

I Read Your Project Description I can do it in your project please ping me more discussion about your project. I will provide 1-day free work. I am an Expert team of India. We are a well-known company offering profe Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% AUD en 1 jour
(0 Commentaires)

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, Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% AUD en 1 jour
(0 Commentaires)