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
magento2-base
dev
tests
functional
tests
app
Magento
Weee
Test
Block
Cart
CartItem.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Weee\Test\Block\Cart
;
8
9
use Magento\Mtf\Client\Locator;
10
14
class
CartItem
extends
\Magento\Checkout\Test\Block\Cart\CartItem
15
{
22
protected
$priceFptBlock
=
'.//td[@class="col price"]'
;
23
29
protected
$subtotalFptBlock
=
'.//td[@class="col subtotal"]'
;
30
36
public
function
getPriceFptBlock
()
37
{
38
return
$this->blockFactory->create(
39
\
Magento
\Weee\Test\Block\
Cart
\
CartItem
\Fpt::class,
40
[
'element'
=> $this->_rootElement->find($this->priceFptBlock, Locator::SELECTOR_XPATH)]
41
);
42
}
43
49
public
function
getSubtotalFptBlock
()
50
{
51
return
$this->blockFactory->create(
52
\
Magento
\Weee\Test\Block\
Cart
\
CartItem
\Fpt::class,
53
[
'element'
=> $this->_rootElement->find($this->subtotalFptBlock, Locator::SELECTOR_XPATH)]
54
);
55
}
56
}
Magento\Weee\Test\Block\Cart\CartItem\$priceFptBlock
$priceFptBlock
Definition:
CartItem.php:22
Magento\Weee\Test\Block\Cart\CartItem\getPriceFptBlock
getPriceFptBlock()
Definition:
CartItem.php:36
Magento\Weee\Test\Block\Cart\CartItem
Definition:
CartItem.php:14
Magento\Weee\Test\Block\Cart\CartItem\getSubtotalFptBlock
getSubtotalFptBlock()
Definition:
CartItem.php:49
Magento
Magento\Weee\Test\Block\Cart
Magento\Weee\Test\Block\Cart\CartItem\$subtotalFptBlock
$subtotalFptBlock
Definition:
CartItem.php:29
Magento\Weee\Test\Block\Cart
Definition:
Cart.php:16