WeBid Bug Tracking

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000475WeBidAuctionspublic2014-09-05 07:102015-03-19 22:19
Reporterathera 
Assigned To 
Priority@0@SeverityminorReproducibilityhave not tried
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version1.1.1 
Target VersionFixed in Version1.1.2 
Summary0000475: shipping fee and additional shipping bug
DescriptionThe shipping fee and additional shipping fees are not calculated in pay.php and order_print.php



And here is why



Somewhere around line 75 pay.php



               [PHP] $additional_shipping = $data['additional_shipping_cost'] * ($data['qty'] - 1);

        $shipping_cost = ($shipping == 1) ? ($data['shipping_cost'] + $additional_shipping) : 0;[/PHP]



data['additional_shipping_cost'] should be $data['shipping_cost_additional']

and $shipping is never set so

replace above code with



               [PHP] $additional_shipping = $data['shipping_cost_additional'] * ($data['qty'] - 1);

        $shipping_cost = ($data['shipping'] == 1) ? ($data['shipping_cost'] + $additional_shipping) : 0;[/PHP]



For the order_print.php

search for:

   additional_shipping_cost

and replace it with:

   shipping_cost_additional
TagsNo tags attached.
import_id481
Thread
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2015-04-01 13:17 renlok New Issue
2015-04-01 13:17 renlok import_id => 481
2015-04-01 13:17 renlok Date Submitted 2015-04-01 13:17 => 2014-09-05 07:10
2015-04-01 13:17 renlok Last Update 2015-04-01 13:17 => 2015-03-19 22:19


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker