Jump to content

PS 1.7: How to add Products+Discounts price to BO


DanielaPetkova

Recommended Posts

Hi,

When i open an order in BO i want to be able to see the exact amount of the order without the shipping cost. Only the sum of the products ordered plus the discounts applied.
So a quick way to do that (bare in mind i spend 3 days till i figure out how) is to go to:

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

 and search for 


{assign var=order_discount_price value=$order->total_discounts_tax_excl}

After that just edit it like that 

{assign var=order_discount_price value=$order->total_discounts_tax_excl-($order->total_products)}

And that is the final result. It should not mess up with anything in your statistic just shows you the amount. And you can see only the discount just above.

https://tinyurl.com/ybjbxk9n

If you like it "Thumbs up"

Ciao.

Edited by DanielaPetkova (see edit history)
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...