Store address variable

  • Posts: 43
  • Thank you received: 0
10 years 10 months ago #165375

Hi,

I'm customising order confirmation and invoice emails and want to add the store address. I tried using {VAR:STORE_ADDRESS}, but that doesn't work. Is there no variable for the store address, or do I have to hard code the address?

Thanks,
David

Please Log in or Create an account to join the conversation.

  • Posts: 43
  • Thank you received: 0
10 years 10 months ago #165383

Got it ... added the following line in the $vars in the Preload section:

'STORE_ADDRESS' => str_replace(array("\r\n","\n","\r"),array('<br/>','<br/>','<br/>'),$config->get('store_address','')),

Please Log in or Create an account to join the conversation.

Time to create page: 0.034 seconds
Powered by Kunena Forum