Skip to content

Commit 8e0ff74

Browse files
committed
MAGETWO-86709: Widget isn't updated on Storefront if related Products are updated
1 parent fb5eccf commit 8e0ff74

File tree

4 files changed

+24
-4
lines changed

4 files changed

+24
-4
lines changed

app/code/Magento/Catalog/etc/widget.xml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,11 @@
6464
</parameter>
6565
<parameter name="cache_lifetime" xsi:type="text" visible="true">
6666
<label translate="true">Cache Lifetime (Seconds)</label>
67-
<description translate="true">86400 by default, if not set. To refresh instantly, clear the Blocks HTML Output cache.</description>
67+
<description translate="true">
68+
<![CDATA[Time in seconds between the widget updates.
69+
<br/>If not set, equals to 86400 seconds (24 hours). To refresh instantly, go to Cache Management and clear Blocks HTML Output cache.
70+
<br/> <br/>Warning! Widget will show disabled or unavailable products if cache is not cleared after updating the product.]]>
71+
</description>
6872
</parameter>
6973
</parameters>
7074
<containers>

app/code/Magento/Catalog/i18n/en_US.csv

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -705,7 +705,13 @@ Template,Template
705705
"New Products Names Only Template","New Products Names Only Template"
706706
"New Products Images Only Template","New Products Images Only Template"
707707
"Cache Lifetime (Seconds)","Cache Lifetime (Seconds)"
708-
"86400 by default, if not set. To refresh instantly, clear the Blocks HTML Output cache.","86400 by default, if not set. To refresh instantly, clear the Blocks HTML Output cache."
708+
"Time in seconds between the widget updates.
709+
<br/>If not set, equals to 86400 seconds (24 hours). To refresh instantly, go to Cache Management and clear Blocks HTML Output cache.
710+
<br/> <br/>Warning! Widget will show disabled or unavailable products if cache is not cleared after updating the product."
711+
,
712+
"Time in seconds between the widget updates.
713+
<br/>If not set, equals to 86400 seconds (24 hours). To refresh instantly, go to Cache Management and clear Blocks HTML Output cache.
714+
<br/> <br/>Warning! Widget will show disabled or unavailable products if cache is not cleared after updating the product."
709715
"Catalog Product Link","Catalog Product Link"
710716
"Link to a Specified Product","Link to a Specified Product"
711717
"Select Product...","Select Product..."

app/code/Magento/CatalogWidget/etc/widget.xml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,11 @@
4040
</parameter>
4141
<parameter name="cache_lifetime" xsi:type="text" visible="true">
4242
<label translate="true">Cache Lifetime (Seconds)</label>
43-
<description translate="true">86400 by default, if not set. To refresh instantly, clear the Blocks HTML Output cache.</description>
43+
<description translate="true">
44+
<![CDATA[Time in seconds between the widget updates.
45+
<br/>If not set, equals to 86400 seconds (24 hours). To refresh instantly, go to Cache Management and clear Blocks HTML Output cache.
46+
<br/> <br/>Warning! Widget will show disabled or unavailable products if cache is not cleared after updating the product.]]>
47+
</description>
4448
</parameter>
4549
<parameter name="condition" xsi:type="conditions" visible="true" required="true" sort_order="10"
4650
class="Magento\CatalogWidget\Block\Product\Widget\Conditions">

app/code/Magento/CatalogWidget/i18n/en_US.csv

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,11 @@ Title,Title
1616
Template,Template
1717
"Products Grid Template","Products Grid Template"
1818
"Cache Lifetime (Seconds)","Cache Lifetime (Seconds)"
19-
"86400 by default, if not set. To refresh instantly, clear the Blocks HTML Output cache.","86400 by default, if not set. To refresh instantly, clear the Blocks HTML Output cache."
19+
"Time in seconds between the widget updates.
20+
<br/>If not set, equals to 86400 seconds (24 hours). To refresh instantly, go to Cache Management and clear Blocks HTML Output cache.
21+
<br/> <br/>Warning! Widget will show disabled or unavailable products if cache is not cleared after updating the product."
22+
,
23+
"Time in seconds between the widget updates.
24+
<br/>If not set, equals to 86400 seconds (24 hours). To refresh instantly, go to Cache Management and clear Blocks HTML Output cache.
25+
<br/> <br/>Warning! Widget will show disabled or unavailable products if cache is not cleared after updating the product."
2026
Conditions,Conditions

0 commit comments

Comments
 (0)