File: /var/www/vhost/disk-apps/magento.bikenow.co/vendor/magento/module-catalog/etc/widget.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="new_products" class="Magento\Catalog\Block\Product\Widget\NewWidget" is_email_compatible="true"
placeholder_image="Magento_Catalog::images/product_widget_new.png" ttl="86400">
<label translate="true">Catalog New Products List</label>
<description translate="true">List of Products that are set as New</description>
<parameters>
<parameter name="display_type" xsi:type="select" required="true" visible="true">
<label translate="true">Display Type</label>
<description translate="true">All products - recently added products, New products - products marked as new</description>
<options>
<option name="default" value="all_products" selected="true">
<label translate="true">All products</label>
</option>
<option name="item" value="new_products">
<label translate="true">New products</label>
</option>
</options>
</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="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="product/widget/new/content/new_grid.phtml" selected="true">
<label translate="true">New Products Grid Template</label>
</option>
<option name="list" value="product/widget/new/content/new_list.phtml">
<label translate="true">New Products List Template</label>
</option>
<option name="list_default"
value="product/widget/new/column/new_default_list.phtml">
<label translate="true">New Products Images and Names Template</label>
</option>
<option name="list_names"
value="product/widget/new/column/new_names_list.phtml">
<label translate="true">New Products Names Only Template</label>
</option>
<option name="list_images"
value="product/widget/new/column/new_images_list.phtml">
<label translate="true">New Products Images Only Template</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>
</parameters>
<containers>
<container name="sidebar.main">
<template name="default" value="list_default" />
<template name="names_only" value="list_names" />
<template name="images_only" value="list_images" />
</container>
<container name="content">
<template name="grid" value="default" />
<template name="list" value="list" />
</container>
<container name="sidebar.additional">
<template name="default" value="list_default" />
<template name="names_only" value="list_names" />
<template name="images_only" value="list_images" />
</container>
</containers>
</widget>
<widget id="catalog_product_link"
class="Magento\Catalog\Block\Product\Widget\Link"
is_email_compatible="true"
placeholder_image="Magento_Catalog::images/product_widget_link.png">
<label translate="true">Catalog Product Link</label>
<description translate="true">Link to a Specified Product</description>
<parameters>
<parameter name="id_path" xsi:type="block" visible="true" required="true" sort_order="10">
<label translate="true">Product</label>
<block class="Magento\Catalog\Block\Adminhtml\Product\Widget\Chooser">
<data>
<item name="button" xsi:type="array">
<item name="open" xsi:type="string" translate="true">Select Product...</item>
</item>
</data>
</block>
</parameter>
<parameter name="anchor_text" xsi:type="text" visible="true">
<label translate="true">Anchor Custom Text</label>
<description translate="true">If empty, we'll use the product name here.</description>
</parameter>
<parameter name="title" xsi:type="text" visible="true">
<label translate="true">Anchor Custom Title</label>
</parameter>
<parameter name="template" xsi:type="select" visible="true">
<label translate="true">Template</label>
<options>
<option name="default"
value="product/widget/link/link_block.phtml"
selected="true">
<label translate="true">Product Link Block Template</label>
</option>
<option name="link_inline" value="product/widget/link/link_inline.phtml">
<label translate="true">Product Link Inline Template</label>
</option>
</options>
</parameter>
</parameters>
</widget>
<widget id="catalog_category_link"
class="Magento\Catalog\Block\Category\Widget\Link"
is_email_compatible="true"
placeholder_image="Magento_Catalog::images/category_widget_link.png">
<label translate="true">Catalog Category Link</label>
<description translate="true">Link to a Specified Category</description>
<parameters>
<parameter name="id_path" xsi:type="block" visible="true" required="true" sort_order="10">
<label translate="true">Category</label>
<block class="Magento\Catalog\Block\Adminhtml\Category\Widget\Chooser">
<data>
<item name="button" xsi:type="array">
<item name="open" xsi:type="string" translate="true">Select Category...</item>
</item>
</data>
</block>
</parameter>
<parameter name="anchor_text" xsi:type="text" visible="true">
<label translate="true">Anchor Custom Text</label>
<description translate="true">If empty, we'll use the category name here.</description>
</parameter>
<parameter name="title" xsi:type="text" visible="true">
<label translate="true">Anchor Custom Title</label>
</parameter>
<parameter name="template" xsi:type="select" visible="true">
<label translate="true">Template</label>
<options>
<option name="default"
value="category/widget/link/link_block.phtml"
selected="true">
<label translate="true">Category Link Block Template</label>
</option>
<option name="link_inline" value="category/widget/link/link_inline.phtml">
<label translate="true">Category Link Inline Template</label>
</option>
</options>
</parameter>
</parameters>
</widget>
<widget id="catalog_recently_viewed" class="Magento\Catalog\Block\Widget\RecentlyViewed"
placeholder_image="Magento_Catalog::images/product_widget_viewed.png">
<label translate="true">Recently Viewed Products</label>
<description translate="true">List of Products Recently Viewed by Visitor</description>
<parameters>
<parameter name="uiComponent" xsi:type="text" required="false" visible="false">
<label translate="true">UI Component</label>
<value>widget_recently_viewed</value>
</parameter>
<parameter name="page_size" xsi:type="text" required="true" visible="true">
<label translate="true">Number of Products to display</label>
<value>5</value>
</parameter>
<parameter name="show_attributes" xsi:type="multiselect" required="true" visible="true">
<label translate="true">Product attributes to show</label>
<options>
<option name="name" value="name">
<label translate="true">Name</label>
</option>
<option name="image" value="image">
<label translate="true">Image</label>
</option>
<option name="price" value="price">
<label translate="true">Price</label>
</option>
<option name="learn_more" value="learn_more">
<label translate="true">Learn More Link</label>
</option>
</options>
</parameter>
<parameter name="show_buttons" xsi:type="multiselect" required="true" visible="true">
<label translate="true">Buttons to show</label>
<options>
<option name="add_to_cart" value="add_to_cart">
<label translate="true">Add to Cart</label>
</option>
<option name="add_to_compare" value="add_to_compare">
<label translate="true">Add to Compare</label>
</option>
<option name="add_to_wishlist" value="add_to_wishlist">
<label translate="true">Add to Wishlist</label>
</option>
</options>
</parameter>
<parameter name="template" xsi:type="select" required="true" visible="true">
<label>Template</label>
<options>
<option name="grid" value="product/widget/viewed/grid.phtml" selected="true">
<label translate="true">Viewed Products Grid Template</label>
</option>
<option name="list" value="product/widget/viewed/list.phtml">
<label translate="true">Viewed Products List Template</label>
</option>
<option name="sidebar" value="product/widget/viewed/sidebar.phtml">
<label translate="true">Viewed Products Sidebar Template</label>
</option>
</options>
</parameter>
</parameters>
<containers>
<container name="sidebar.main">
<template name="default" value="sidebar" />
</container>
<container name="content">
<template name="grid" value="grid" />
<template name="list" value="list" />
</container>
<container name="sidebar.additional">
<template name="default" value="sidebar" />
</container>
</containers>
</widget>
<widget id="catalog_recently_compared" class="Magento\Catalog\Block\Widget\RecentlyCompared"
placeholder_image="Magento_Catalog::images/product_widget_viewed.png">
<label translate="true">Recently Compared Products</label>
<description translate="true">List of Products Recently Compared by Visitor</description>
<parameters>
<parameter name="uiComponent" xsi:type="text" required="false" visible="false">
<label translate="true">UI Component</label>
<value>widget_recently_compared</value>
</parameter>
<parameter name="page_size" xsi:type="text" required="true" visible="true">
<label translate="true">Number of Products to display</label>
<value>5</value>
</parameter>
<parameter name="show_attributes" xsi:type="multiselect" required="true" visible="true">
<label translate="true">Product attributes to show</label>
<options>
<option name="name" value="name">
<label translate="true">Name</label>
</option>
<option name="image" value="image">
<label translate="true">Image</label>
</option>
<option name="price" value="price">
<label translate="true">Price</label>
</option>
</options>
</parameter>
<parameter name="show_buttons" xsi:type="multiselect" required="true" visible="true">
<label translate="true">Buttons to show</label>
<options>
<option name="add_to_cart" value="add_to_cart">
<label translate="true">Add to Cart</label>
</option>
<option name="add_to_compare" value="add_to_compare">
<label translate="true">Add to Compare</label>
</option>
<option name="add_to_wishlist" value="add_to_wishlist">
<label translate="true">Add to Wishlist</label>
</option>
</options>
</parameter>
<parameter name="template" xsi:type="select" required="true" visible="true">
<label>Template</label>
<options>
<option name="grid" value="product/widget/compared/grid.phtml" selected="true">
<label translate="true">Compared Products Grid Template</label>
</option>
<option name="list" value="product/widget/compared/list.phtml">
<label translate="true">Compared Products List Template</label>
</option>
<option name="sidebar" value="product/widget/compared/sidebar.phtml">
<label translate="true">Viewed Products Sidebar Template</label>
</option>
</options>
</parameter>
</parameters>
<containers>
<container name="sidebar.main">
<template name="default" value="sidebar" />
</container>
<container name="content">
<template name="grid" value="grid" />
<template name="list" value="list" />
</container>
<container name="sidebar.additional">
<template name="default" value="sidebar" />
</container>
</containers>
</widget>
</widgets>