diff --git a/admin-dev/themes/template/orders/_customized_data.tpl b/admin-dev/themes/template/orders/_customized_data.tpl
index 139298c9e..d1fc80a64 100755
--- a/admin-dev/themes/template/orders/_customized_data.tpl
+++ b/admin-dev/themes/template/orders/_customized_data.tpl
@@ -38,7 +38,7 @@
{if ($order->hasBeenDelivered())}
{$product['customizationQuantityReturned']} | {/if}
- |
- {if ($order->getTaxCalculationMethod() == PS_TAX_EXC)}
+ {if ($order->getTaxCalculationMethod() == $smarty.const.PS_TAX_EXC)}
{displayPrice price=Tools::ps_round($product['product_price'] * $product['customizationQuantityTotal'], 2) currency=$currency->id}
{else}
{displayPrice price=Tools::ps_round($product['product_price_wt'] * $product['customizationQuantityTotal'], 2) currency=$currency->id}
@@ -73,7 +73,7 @@
{if ($order->hasBeenDelivered())} | {$customization['quantity_returned']} | {/if}
- |
- {if ($order->getTaxCalculationMethod() == PS_TAX_EXC)}
+ {if ($order->getTaxCalculationMethod() == $smarty.const.PS_TAX_EXC)}
{displayPrice price=Tools::ps_round($product['product_price'] * $customization['quantity'], 2) currency=$currency->id}
{else}
{displayPrice price=Tools::ps_round($product['product_price_wt'] * $customization['quantity'], 2) currency=$currency->id}
diff --git a/admin-dev/themes/template/orders/_product_line.tpl b/admin-dev/themes/template/orders/_product_line.tpl
index cd0ee33c9..3d6416da5 100755
--- a/admin-dev/themes/template/orders/_product_line.tpl
+++ b/admin-dev/themes/template/orders/_product_line.tpl
@@ -25,7 +25,7 @@
*}
{* Assign product price *}
-{if ($order->getTaxCalculationMethod() == PS_TAX_EXC)}
+{if ($order->getTaxCalculationMethod() == $smarty.const.PS_TAX_EXC)}
{assign var=product_price value=($product['product_price'] + $product['ecotax'])}
{else}
{assign var=product_price value=$product['product_price_wt']}
diff --git a/admin-dev/themes/template/orders/view.tpl b/admin-dev/themes/template/orders/view.tpl
index dc35bf19c..009f745cf 100755
--- a/admin-dev/themes/template/orders/view.tpl
+++ b/admin-dev/themes/template/orders/view.tpl
@@ -141,7 +141,7 @@
{foreach from=$sources item=source}
{dateFormat date=$source['date_add'] full=true}
- {l s='From:'} {parse_url($source['http_referer'], PHP_URL_HOST)|regex_replace:'/^www./':''}
+ {l s='From:'} {parse_url($source['http_referer'], $smarty.const.PHP_URL_HOST)|regex_replace:'/^www./':''}
{l s='To:'} {$source['request_uri']}
{if $source['keywords']}{l s='Keywords:'} {$source['keywords']} {/if}
@@ -159,7 +159,7 @@
|