...
For advanced customization please see the Developer Documentation.
RSS feeds
The plugin also provides the ability to create custom Maileon compatible RSS feeds. You can create filtered list of products and reference them in Maileon. The RSS feeds are available under WooCommerce Maileon > Manage RSS feeds
.
...
To used a feed defined here simply copy the link in the Link
column, and use that as Maileon RSS SmartContent. For more information about how to set this up in Maileon please contact your Maileon distributor.
There are two filters defined by default:
All products - display a feed of all shop products
All products in stock - display a feed of all products that are in stock
To define a custom filter click the New configuration
button under RSS configuration
. This opens a filter editor.
...
To add a filter criteria select it from the dropdown near the Add filter
button and then click the button. Then use the input in the settings column for the given criteria to edit the settings.
...
After you have defined your configuration don’t forget to save it by clicking the Save configuration
button.
After the configuration was saved it should appear in the list of configurations.
...
Using the newly created configuration you can get the same list of products in Maileon by using the feed link:
...
The available fields in this RSS are the following for each product:
Title - The name of the product
Description - The short description of the product
Content - The full description of the product
Link - The link to the product page
Image - The full resolution image for the product
Custom properties (maileon:):
sku - The product SKU
product_id - The ID of the product
status - The stock status of the product: instock/outofstock
single_price - The price of the product
categories - A comma separated list of categories for the product (e.g.: Accessories, Clothing)
width - Product width (if available)
height - Product height (if available)
weight - Product weight (if available)
attributes - A comma separated list of product attributes (e.g.: Product Color: Red, Logo: Yes)
Code Block | ||
---|---|---|
| ||
<item>
<title>
<![CDATA[The name of the product]]>
</title>
<description>
<![CDATA[The short description of the product]]>
</description>
<link>http://woocommerce.maileon.hu/product/beanie-with-logo/</link>
<enclosure type="image/jpeg" url="http://woocommerce.maileon.hu/wp-content/uploads/2020/05/beanie-with-logo-1.jpg" length="45371"/>
<content:encoded>
<![CDATA[The full description of the product]]>
</content:encoded>
<guid>http://woocommerce.maileon.hu/product/beanie-with-logo/</guid>
<maileon:sku>
<![CDATA[Woo-beanie-logo]]>
</maileon:sku>
<maileon:product_id>
<![CDATA[32]]>
</maileon:product_id>
<maileon:status>
<![CDATA[instock]]>
</maileon:status>
<maileon:single_price>
<![CDATA[18]]>
</maileon:single_price>
<maileon:categories>
<![CDATA[Accessories]]>
</maileon:categories>
<maileon:width>
<![CDATA[]]>
</maileon:width>
<maileon:height>
<![CDATA[]]>
</maileon:height>
<maileon:weight>
<![CDATA[]]>
</maileon:weight>
<maileon:attributes>
<![CDATA[Product Color: Red]]>
</maileon:attributes>
</item> |