Change magento transactional emails logo_url to external linkMagento Multi-Store with Domain Alias - 404...
What options are left, if Britain cannot decide?
Do I need life insurance if I can cover my own funeral costs?
Most cost effective thermostat setting: consistent temperature vs. lowest temperature possible
A diagram about partial derivatives of f(x,y)
How to get the n-th line after a grepped one?
Happy pi day, everyone!
Are all passive ability checks floors for active ability checks?
Custom alignment for GeoMarkers
Aluminum electrolytic or ceramic capacitors for linear regulator input and output?
What's the meaning of a knight fighting a snail in medieval book illustrations?
Recruiter wants very extensive technical details about all of my previous work
Why is a white electrical wire connected to 2 black wires?
Is there a hypothetical scenario that would make Earth uninhabitable for humans, but not for (the majority of) other animals?
Is it normal that my co-workers at a fitness company criticize my food choices?
How to make healing in an exploration game interesting
When to use a slotted vs. solid turner?
This word with a lot of past tenses
A single argument pattern definition applies to multiple-argument patterns?
Did Ender ever learn that he killed Stilson and/or Bonzo?
Can I use USB data pins as a power source?
Could the Saturn V actually have launched astronauts around Venus?
About the actual radiative impact of greenhouse gas emission over time
What is a ^ b and (a & b) << 1?
How do I hide Chekhov's Gun?
Change magento transactional emails logo_url to external link
Magento Multi-Store with Domain Alias - 404 Error on 2nd StoreChange lowercase to uppercase in transactional emailssite not loading properly after adding ssl certificateGet Full Image path on frontend uploaded from custom field in databaseSite Logo Missing under SSLImages are not showing in WYISWYG editorMagento Community form key from external site urlForce HTTP on all URLs except what required like checkout, adminAfter Enabling SSL magento still loads default Javascript and CSS files with unsecure URLsMagento 1.9.3.2 Transactional Email style
I need to change
logo_url
for transactional emails with external link, for example
https://exampledomainname.com/image.png
but I can't hardcode all or even one file in
app/locale
Is there any way to add external url as logo_url? As when I go here:
System > Configuration > General > Design > Transactional Emails
I can only add image to hosting area
magento-1.9 php
bumped to the homepage by Community♦ 13 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I need to change
logo_url
for transactional emails with external link, for example
https://exampledomainname.com/image.png
but I can't hardcode all or even one file in
app/locale
Is there any way to add external url as logo_url? As when I go here:
System > Configuration > General > Design > Transactional Emails
I can only add image to hosting area
magento-1.9 php
bumped to the homepage by Community♦ 13 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I need to change
logo_url
for transactional emails with external link, for example
https://exampledomainname.com/image.png
but I can't hardcode all or even one file in
app/locale
Is there any way to add external url as logo_url? As when I go here:
System > Configuration > General > Design > Transactional Emails
I can only add image to hosting area
magento-1.9 php
I need to change
logo_url
for transactional emails with external link, for example
https://exampledomainname.com/image.png
but I can't hardcode all or even one file in
app/locale
Is there any way to add external url as logo_url? As when I go here:
System > Configuration > General > Design > Transactional Emails
I can only add image to hosting area
magento-1.9 php
magento-1.9 php
asked Jan 20 '16 at 21:02
Oleg SapishchukOleg Sapishchuk
1062
1062
bumped to the homepage by Community♦ 13 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 13 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
As far as I was looking into the web there is no best practice
way to directly rewrite logo_url
, but we can create custom variable and then use it into email templates. We can do it manually from admin or using programming way. My requirements is to implement this in programming way, so we start with shell script(shellexternal_logo_url.php
) to create custom variable:
<?php
require_once '../abstract.php';
class External_Logo_Url extends Mage_Shell_Abstract
{
public function run()
{
$variable = Mage::getModel('core/variable')
->setCode('variable-code')
->setName('variable-name')
->setPlainValue('variable-value')
->save();
}
}
$shell = new External_Logo_Url();
$shell->run();
Also we need to change template files in applocale
, so you need replace all template files or custom templates that you need. You should look for {{var logo_url}}
and replace with {{customVar code=variable-code}}
.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "479"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f98230%2fchange-magento-transactional-emails-logo-url-to-external-link%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
As far as I was looking into the web there is no best practice
way to directly rewrite logo_url
, but we can create custom variable and then use it into email templates. We can do it manually from admin or using programming way. My requirements is to implement this in programming way, so we start with shell script(shellexternal_logo_url.php
) to create custom variable:
<?php
require_once '../abstract.php';
class External_Logo_Url extends Mage_Shell_Abstract
{
public function run()
{
$variable = Mage::getModel('core/variable')
->setCode('variable-code')
->setName('variable-name')
->setPlainValue('variable-value')
->save();
}
}
$shell = new External_Logo_Url();
$shell->run();
Also we need to change template files in applocale
, so you need replace all template files or custom templates that you need. You should look for {{var logo_url}}
and replace with {{customVar code=variable-code}}
.
add a comment |
As far as I was looking into the web there is no best practice
way to directly rewrite logo_url
, but we can create custom variable and then use it into email templates. We can do it manually from admin or using programming way. My requirements is to implement this in programming way, so we start with shell script(shellexternal_logo_url.php
) to create custom variable:
<?php
require_once '../abstract.php';
class External_Logo_Url extends Mage_Shell_Abstract
{
public function run()
{
$variable = Mage::getModel('core/variable')
->setCode('variable-code')
->setName('variable-name')
->setPlainValue('variable-value')
->save();
}
}
$shell = new External_Logo_Url();
$shell->run();
Also we need to change template files in applocale
, so you need replace all template files or custom templates that you need. You should look for {{var logo_url}}
and replace with {{customVar code=variable-code}}
.
add a comment |
As far as I was looking into the web there is no best practice
way to directly rewrite logo_url
, but we can create custom variable and then use it into email templates. We can do it manually from admin or using programming way. My requirements is to implement this in programming way, so we start with shell script(shellexternal_logo_url.php
) to create custom variable:
<?php
require_once '../abstract.php';
class External_Logo_Url extends Mage_Shell_Abstract
{
public function run()
{
$variable = Mage::getModel('core/variable')
->setCode('variable-code')
->setName('variable-name')
->setPlainValue('variable-value')
->save();
}
}
$shell = new External_Logo_Url();
$shell->run();
Also we need to change template files in applocale
, so you need replace all template files or custom templates that you need. You should look for {{var logo_url}}
and replace with {{customVar code=variable-code}}
.
As far as I was looking into the web there is no best practice
way to directly rewrite logo_url
, but we can create custom variable and then use it into email templates. We can do it manually from admin or using programming way. My requirements is to implement this in programming way, so we start with shell script(shellexternal_logo_url.php
) to create custom variable:
<?php
require_once '../abstract.php';
class External_Logo_Url extends Mage_Shell_Abstract
{
public function run()
{
$variable = Mage::getModel('core/variable')
->setCode('variable-code')
->setName('variable-name')
->setPlainValue('variable-value')
->save();
}
}
$shell = new External_Logo_Url();
$shell->run();
Also we need to change template files in applocale
, so you need replace all template files or custom templates that you need. You should look for {{var logo_url}}
and replace with {{customVar code=variable-code}}
.
answered Jan 20 '16 at 21:02
Oleg SapishchukOleg Sapishchuk
1062
1062
add a comment |
add a comment |
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f98230%2fchange-magento-transactional-emails-logo-url-to-external-link%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown