brandonc503 Posted December 26, 2012 Share Posted December 26, 2012 help. i need to have $shipping_cost = a % of $price_without_specific_price(whole price) of each item. tnx Link to comment Share on other sites More sharing options...
brandonc503 Posted December 26, 2012 Author Share Posted December 26, 2012 (edited) so my shipping_cost is the percent of order_total from zone/range table,right now im using near line 2683 of classes/Cart.php $shipping_cost += $order_total*(($carrier->getDeliveryPriceByPrice($order_total, $id_zone, (int)$this->id_currency))/100); 1. i need the shipping_cost to be a % of the whole sale prices... insted of order total, i need sum of all $price_without_specific_prices. i can see that in the smarty debugger in front office, there are variables of $products->price_without_specific_prices. I found in front\ParentOrderContoller.php Edited December 30, 2012 by brandonc503 (see edit history) Link to comment Share on other sites More sharing options...
Davie Smith Posted December 30, 2012 Share Posted December 30, 2012 so my shipping_cost is the percent of order_total from zone/range table,right now im using near line 2683 of classes/Cart.php $shipping_cost += $order_total*(($carrier->getDeliveryPriceByPrice($order_total, $id_zone, (int)$this->id_currency))/100); 1. i need insted the shipping_cost to be a % of the whole sale prices... insted of order total, i need sum of all $price_without_specific_prices. i can see that in the smarty debugger in front office, there are variables of $products->price_without_specific_prices. I found in front\ParentOrderContoller.php Hi Brandon, Have you managed to work this out yet? I'm afraid that I cannot help you with the issue that you have, but I myself have the same issue. David. Link to comment Share on other sites More sharing options...
brandonc503 Posted December 30, 2012 Author Share Posted December 30, 2012 Not yet David Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now