Skip to main content

Store address variable

12 years 4 months ago #165375 by DavidThor
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.

12 years 4 months ago #165383 by DavidThor
Replied by DavidThor on topic Store address variable
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.049 seconds
Powered by Kunena Forum