View Single Post
  #5  
Old 04-12-2014, 07:41 PM
 
anandat anandat is offline
 

X-Adept
  
Join Date: Jan 2004
Posts: 914
 

Default Re: Change subject line in "Ask a question about this product"

Hi Mike,
Thanks a lot. It's working now like a charm
I don't know why x-cart team have not done such a way. We are receiving many inquires via "ask a question" form now it will be very easy to manage the questions as it's more effective & time saver method.

If any one wants to achieve this. just open your \skin\common_files\mail\ask_question_subj.tpl & replace the entire code with
PHP Code:
{config_load file="$skin_config"}{$config.Company.company_name}:{$lng.eml_someone_ask_question_subj|substitute:"STOREFRONT":$current_location:"productid":$productid:"product_name":$product

Now find language label eml_someone_ask_question_subj & replace with this code
PHP Code:
Question about {{product_name}} product code: {{productid}} 
__________________
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