Skip to content

Commit 1dda567

Browse files
author
Anna Bukatar
committed
ACP2E-1181: Browser cache not updating product price on home page based on customer group tax rule.
1 parent 2bb47f8 commit 1dda567

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

app/code/Magento/CatalogWidget/Block/Product/ProductsList.php

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -43,28 +43,27 @@ class ProductsList extends AbstractProduct implements BlockInterface, IdentityIn
4343
/**
4444
* Default value for products count that will be shown
4545
*/
46-
const DEFAULT_PRODUCTS_COUNT = 10;
46+
public const DEFAULT_PRODUCTS_COUNT = 10;
4747

4848
/**
4949
* Name of request parameter for page number value
5050
*
51-
* @deprecated @see $this->getData('page_var_name')
51+
* @deprecated
52+
* @see $this->getData('page_var_name')
5253
*/
53-
const PAGE_VAR_NAME = 'np';
54+
public const PAGE_VAR_NAME = 'np';
5455

5556
/**
5657
* Default value for products per page
5758
*/
58-
const DEFAULT_PRODUCTS_PER_PAGE = 5;
59+
public const DEFAULT_PRODUCTS_PER_PAGE = 5;
5960

6061
/**
6162
* Default value whether show pager or not
6263
*/
63-
const DEFAULT_SHOW_PAGER = false;
64+
public const DEFAULT_SHOW_PAGER = false;
6465

6566
/**
66-
* Instance of pager block
67-
*
6867
* @var Pager
6968
*/
7069
protected $pager;
@@ -75,15 +74,11 @@ class ProductsList extends AbstractProduct implements BlockInterface, IdentityIn
7574
protected $httpContext;
7675

7776
/**
78-
* Catalog product visibility
79-
*
8077
* @var Visibility
8178
*/
8279
protected $catalogProductVisibility;
8380

8481
/**
85-
* Product collection factory
86-
*
8782
* @var CollectionFactory
8883
*/
8984
protected $productCollectionFactory;
@@ -538,7 +533,8 @@ public function getTitle()
538533
* Get currency of product
539534
*
540535
* @return PriceCurrencyInterface
541-
* @deprecated 100.2.0
536+
* @deprecated
537+
* @see Constructor injection
542538
*/
543539
private function getPriceCurrency()
544540
{

0 commit comments

Comments
 (0)