Jump to content

% of $price_without_specific_price = $shipping_cost


Recommended Posts

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 by brandonc503 (see edit history)
Link to comment
Share on other sites

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...