View Issue Details

IDProjectCategoryView StatusLast Update
0006991OXID eShop (all versions)1.05. Userspublic2019-06-06 10:05
Reporterivoba Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionwon't fix 
Product Version6.1.3 
Summary0006991: Shop variables in CMS oxident=oxemailfooter doesnt work with registration & passwordForgot mails
DescriptionShop variables in CMS oxident=oxemailfooter doesnt work with registration & passwordForgot mails.

When entering in CMS oxident=oxemailfooter:

[{$oxcmp_shop->oxshops__oxcompany->value}] [{$oxcmp_shop->oxshops__oxstreet->value}]
[{$oxcmp_shop->oxshops__oxzip->value}] [{$oxcmp_shop->oxshops__oxcity->value}]
[{$oxcmp_shop->oxshops__oxcountry->value}]
[{if $oxcmp_shop->oxshops__oxtelefon->value}] [{oxmultilang ident="PHONE"}] [{$oxcmp_shop->oxshops__oxtelefon->value}]
[{/if}] [{if $oxcmp_shop->oxshops__oxtelefax->value}] [{oxmultilang ident="FAX"}] [{$oxcmp_shop->oxshops__oxtelefax->value}]
[{/if}] [{if $oxcmp_shop->oxshops__oxinfoemail->value}] [{oxmultilang ident="EMAIL"}] [{oxmailto address=$oxcmp_shop->oxshops__oxinfoemail->value encode="javascript"}][{/if}]

This works for the order email and will show the shop contact details in the sent email, it will however not work for registration emails and forgotPassword emails.

Steps To ReproduceEnter

 in CMS oxident=oxemailfooter:

[{$oxcmp_shop->oxshops__oxcompany->value}] [{$oxcmp_shop->oxshops__oxstreet->value}]
[{$oxcmp_shop->oxshops__oxzip->value}] [{$oxcmp_shop->oxshops__oxcity->value}]
[{$oxcmp_shop->oxshops__oxcountry->value}]
[{if $oxcmp_shop->oxshops__oxtelefon->value}] [{oxmultilang ident="PHONE"}] [{$oxcmp_shop->oxshops__oxtelefon->value}]
[{/if}] [{if $oxcmp_shop->oxshops__oxtelefax->value}] [{oxmultilang ident="FAX"}] [{$oxcmp_shop->oxshops__oxtelefax->value}]
[{/if}] [{if $oxcmp_shop->oxshops__oxinfoemail->value}] [{oxmultilang ident="EMAIL"}] [{oxmailto address=$oxcmp_shop->oxshops__oxinfoemail->value encode="javascript"}][{/if}]

Request Password forgotten email. Contact section from Email footer is empty.
Additional InformationWhen adding:

$this->_aViewData['oxcmp_shop'] = $shop;
$this->_processViewArray();

to sendForgotPwdEmail method in /vendor/oxid-esales/oxideshop-ce/source/Core/Email.php it will work.
TagsNo tags attached.
ThemeNot defined
BrowserNot defined
PHP Version7.1
Database VersionNot defined

Activities

QA

2019-06-06 10:05

administrator   ~0012907

If you want have access to more data than the shop provides for this function, you can write an own controller module to extend the sendForgotPwdEmail function.