Jump to content

Edit History

DanielaPetkova

DanielaPetkova

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.

DanielaPetkova

DanielaPetkova

Hi,
When i open an order in BO i want to see the exact value without the sipping. Only the sum of products and 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.

×
×
  • Create New...