Jump to content

Product and shipment calculation separation


sridhargates

Recommended Posts

Hi

 

When we check the order detail. normal the total cost including with shipment cost, can any one know how to separate the shipping cost without vat and actual cost of the product and total price need to include VAT as show below example:

 

 

Need to shop shipment cost with vat separately 

for example :

each item : 2.00

  discount : 0.30

total value : 1.70

 

Shipping cost : 0.50

 

TOTAL COST : 2.20

 

VAT 20% 0.44

Total cost : 2.64

 

can u please explain where to change the code

 

Rgds

 

 

Link to comment
Share on other sites

The default format PrestaShop may only applicable to Europe I guess, it might be fit with other regions or areas.

 

You may try to customize by your own, all the data are saved in order related tables and you can also access them from loaded Order or related object.

for example, shipping fee, it has following 3 fields in ps_orders table

 

total_shipping_fee

total_shipping_fee_tax_incl

total_shipping_fee_tax_excl

 

for order details page of back office, you will need to modify related theme files below this folder

/adminfolder/themes/default/template/controllers/orders/helpers/view/view.tpl

 

And you may also need to look at some other files like

/adminfolder/themes/default/template/controllers/orders/_product_line.tpl

 

It might be not easy to do if you are not very familiar with PresatShop. 

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...