View Single Post
  #179  
Old 12-24-2016, 07:26 AM
 
anandat anandat is offline
 

X-Adept
  
Join Date: Jan 2004
Posts: 914
 

Exclamation Re: common if/then modifications I make to x-cart...

I want to display extra field #6 (name = publisher) in admin email invoice. I tried adding following code in skin\common_files\mail\html\order_data.tpl
PHP Code:
{if $show_order_details eq 'Y'}<span> - {$product.extra_fields|$product.Publisher} {/if} 
But that doesn't display value of extra field id 6 (Publisher).

Does any one know how to achieve this ?
__________________
X-Cart: 4.7.7 LIVE
Skin:Ultra by xcartmods.co.uk
X-cart Modules: | ACR, Rich Google Search, Customer Testimonials | Cloud Search, | Websitecm: CDSEO (2.1.9)
---------------
Server: Linux
php: 5.3
mysql: 5.0.89
----------------
Reply With Quote