Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
module-customer
view
frontend
templates
account
dashboard
info.phtml
Go to the documentation of this file.
1
<?php
7
// @codingStandardsIgnoreFile
8
10
?>
11
<div
class
=
"block block-dashboard-info"
>
12
<div
class
=
"block-title"
><strong><?=
$block
->escapeHtml(
__
(
'Account Information'
)) ?></strong></div>
13
<div
class
=
"block-content"
>
14
<div
class
=
"box box-information"
>
15
<strong
class
=
"box-title"
>
16
<span><?=
$block
->escapeHtml(
__
(
'Contact Information'
)) ?></span>
17
</strong>
18
<div
class
=
"box-content"
>
19
<p>
20
<?=
$block
->escapeHtml(
$block
->getName()) ?><br>
21
<?=
$block
->escapeHtml(
$block
->getCustomer()->getEmail()) ?><br>
22
</p>
23
<?=
$block
->getChildHtml(
'customer.account.dashboard.info.extra'
); ?>
24
</div>
25
<div
class
=
"box-actions"
>
26
<a
class
=
"action edit"
href=
"<?= $block->escapeUrl($block->getUrl('customer/account/edit')) ?>"
>
27
<span><?=
$block
->escapeHtml(
__
(
'Edit'
)) ?></span>
28
</a>
29
<a href=
"<?= $block->escapeUrl($block->getChangePasswordUrl()) ?>"
class
=
"action change-password"
>
30
<?=
$block
->escapeHtml(
__
(
'Change Password'
)) ?>
31
</a>
32
</div>
33
</div>
34
<?php
if
(
$block
->isNewsletterEnabled()): ?>
35
<div
class
=
"box box-newsletter"
>
36
<strong
class
=
"box-title"
>
37
<span><?=
$block
->escapeHtml(
__
(
'Newsletters'
)) ?></span>
38
</strong>
39
<div
class
=
"box-content"
>
40
<p>
41
<?php
if
(
$block
->getIsSubscribed()): ?>
42
<?=
$block
->escapeHtml(
__
(
'You are subscribed to "General Subscription".'
)) ?>
43
<?php
else
: ?>
44
<?=
$block
->escapeHtml(
__
(
'You aren\'t subscribed to our newsletter.'
)) ?>
45
<?php
endif
; ?>
46
</p>
47
</div>
48
<div
class
=
"box-actions"
>
49
<a
class
=
"action edit"
href=
"<?= $block->escapeUrl($block->getUrl('newsletter/manage')) ?>"
><span><?=
$block
->escapeHtml(
__
(
'Edit'
)) ?></span></a>
50
</div>
51
</div>
52
<?php
endif
; ?>
53
</div>
54
</div>
endif
foreach( $block->getCcAvailableTypes() as $typeCode=> $typeName)( $typeCode) ?>" <?php if ($typeCode endif
Definition:
info.phtml:44
__
__()
Definition:
__.php:13
$block
$block
Definition:
block.php:8