73 lines
3.7 KiB
XML
73 lines
3.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
/**
|
|
* Copyright © Magento, Inc. All rights reserved.
|
|
* See COPYING.txt for license details.
|
|
*/
|
|
-->
|
|
<widgets xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Widget:etc/widget.xsd">
|
|
<widget id="products_list_with_more" class="Stemcell\Customer\Block\Widget\Product\ProductsList" is_email_compatible="true"
|
|
placeholder_image="Magento_CatalogWidget::images/products_list.png" ttl="86400">
|
|
<label translate="true">Catalog Products List With More</label>
|
|
<description translate="true">List of Products With More</description>
|
|
<parameters>
|
|
<parameter name="title" xsi:type="text" required="false" visible="true">
|
|
<label translate="true">Title</label>
|
|
</parameter>
|
|
<parameter name="show_pager" xsi:type="select" visible="true"
|
|
source_model="Magento\Config\Model\Config\Source\Yesno">
|
|
<label translate="true">Display Page Control</label>
|
|
</parameter>
|
|
<parameter name="more" xsi:type="text" visible="true">
|
|
<label translate="true">More</label>
|
|
<description translate="true">
|
|
<![CDATA[External url or internal path]]>
|
|
</description>
|
|
</parameter>
|
|
<parameter name="products_per_page" xsi:type="text" required="true" visible="true">
|
|
<label translate="true">Number of Products per Page</label>
|
|
<depends>
|
|
<parameter name="show_pager" value="1" />
|
|
</depends>
|
|
<value>5</value>
|
|
</parameter>
|
|
<parameter name="products_count" xsi:type="text" required="true" visible="true">
|
|
<label translate="true">Number of Products to Display</label>
|
|
<value>10</value>
|
|
</parameter>
|
|
<parameter name="template" xsi:type="select" required="true" visible="true">
|
|
<label translate="true">Template</label>
|
|
<options>
|
|
<option name="default" value="Stemcell_Customer::product/widget/content/grid.phtml" selected="true">
|
|
<label translate="true">Products Grid Template With More</label>
|
|
</option>
|
|
</options>
|
|
</parameter>
|
|
<parameter name="cache_lifetime" xsi:type="text" visible="true">
|
|
<label translate="true">Cache Lifetime (Seconds)</label>
|
|
<description translate="true">
|
|
<![CDATA[Time in seconds between the widget updates.
|
|
<br/>If not set, equals to 86400 seconds (24 hours). To update widget instantly, go to Cache Management and clear Blocks HTML Output cache.
|
|
<br/>Widget will not show products that begin to match the specified conditions until cache is refreshed.]]>
|
|
</description>
|
|
</parameter>
|
|
<parameter name="condition" xsi:type="conditions" visible="true" required="true" sort_order="10"
|
|
class="Magento\CatalogWidget\Block\Product\Widget\Conditions">
|
|
<label translate="true">Conditions</label>
|
|
</parameter>
|
|
</parameters>
|
|
<containers>
|
|
<container name="content">
|
|
<template name="grid" value="default" />
|
|
</container>
|
|
<container name="content.top">
|
|
<template name="grid" value="default" />
|
|
</container>
|
|
<container name="content.bottom">
|
|
<template name="grid" value="default" />
|
|
</container>
|
|
</containers>
|
|
</widget>
|
|
</widgets>
|