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-product-alert
Block
Email
Price.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\ProductAlert\Block\Email
;
7
13
class
Price
extends
\Magento\ProductAlert\Block\Email\AbstractEmail
14
{
18
protected
$_template
=
'Magento_ProductAlert::email/price.phtml'
;
19
26
public
function
getProductUnsubscribeUrl
(
$productId
)
27
{
28
$params
= $this->
_getUrlParams
();
29
$params
[
'product'
] =
$productId
;
30
return
$this->
getUrl
(
'productalert/unsubscribe/price'
,
$params
);
31
}
32
38
public
function
getUnsubscribeUrl
()
39
{
40
return
$this->
getUrl
(
'productalert/unsubscribe/priceAll'
, $this->
_getUrlParams
());
41
}
42
}
$productId
$productId
Definition:
website_attribute_sync.php:26
Magento\ProductAlert\Block\Email\Price\getUnsubscribeUrl
getUnsubscribeUrl()
Definition:
Price.php:38
Magento\ProductAlert\Block\Email\AbstractEmail
Definition:
AbstractEmail.php:15
Magento\Framework\View\Element\AbstractBlock\getUrl
getUrl($route='', $params=[])
Definition:
AbstractBlock.php:773
Magento\ProductAlert\Block\Email\Price\getProductUnsubscribeUrl
getProductUnsubscribeUrl($productId)
Definition:
Price.php:26
Magento\ProductAlert\Block\Email\Price
Definition:
Price.php:13
$params
$params[\Magento\Store\Model\StoreManager::PARAM_RUN_CODE]
Definition:
website.php:18
Magento\ProductAlert\Block\Email\Price\$_template
$_template
Definition:
Price.php:18
Magento\ProductAlert\Block\Email
Definition:
AbstractEmail.php:6
Magento\ProductAlert\Block\Email\AbstractEmail\_getUrlParams
_getUrlParams()
Definition:
AbstractEmail.php:170