Bestsellers – WPPizza Documentation https://docs.wp-pizza.com documentation for the wordpress wppizza plugin (version 3.x) Tue, 13 Jun 2017 09:07:50 +0000 en-US hourly 1 https://wordpress.org/?v=6.8.2 Bestsellers https://docs.wp-pizza.com/bestsellers/ Tue, 13 Jun 2017 08:31:10 +0000 http://v3x.wp-pizza.com/?p=42 …]]> Bestsellers Note: You can also use all other non-category related attributes as listed in “By Category”   bestsellers=’5′ required integer Number of bestsellers to display (Sales > 0 in descending order) ifempty=’5,9,8,11′ optional menu item id’s, comma separated display menu items with ids 5,9,8 and 11 when no bestselleres exist yet (typically only displayed on fairly new installations) include=’8,12′ optional menu item id’s, comma separated distinctly include menu items with ids 8,12. included/inserted according to menu items order set
Examples
 
[wppizza bestsellers='6' ifempty='5,9,8,11']
– display top 6 bestsellers
– display menu item id’s 5,9,8 and 11 if no bestsellers exist yet
[wppizza bestsellers='10' include='5,9,8,11']
– displays top 10 bestsellers (or fewer if less than 10 items were sold)
– distinctly add menu items with id’s 5,9,8 and 11 to list. These additionally included items will be included/inserted according to order set
]]>
Powered by atecplugins.com