NeroCommerce Lottery Shortcodes

Here is a list of all available plugin shortcodes. Some shortcodes accept optional orderby and order attributes.

  • show lottery winners - [lotteries_winners], [lotteries_winners per_page="12" order="desc"]
  • show featured lotteries -[featured_lotteries per_page="12" columns="4" orderby="date" order="desc"]
  • show ending soon lotteries - [ending_soon_lotteries per_page="12" columns="4" order="desc" future="no"]
  • show recent lotteries - [recent_lotteries per_page="12" columns="4" orderby="date" order="desc"]
  • show future lotteries - [future_lotteries], [future_lotteries per_page="12" columns="4" orderby="date" order="desc"]
  • show lotteries with specific product ID - [lotteries ids="1,2,3,4,5"] this shortcode supports attributes (pagination and sort) just like NeroCommerce [product] shortcode list.
  • show user's lotteries (active lotteries in which user participates and list of user's won lotteries) - [my_lotteries], [my_lotteries show_buy_it_now="true"]
  • show past / ended lotteries - [finished_lotteries], [finished_lotteries per_page="12" columns="4" order="desc"]


    Note:

    Please note that there is no paging when you use shortcodes (same as with NeroCommerce shortcodes). Per page attribute means how many items will be displayed on that particular page without paging!

Did you find this article useful?

  • Quick Lottery Setup

    Setting up new lottery is easy: go to Products => Add Products add title, description, imag...
  • Changes in NeroCommerce

    After you activate NeroCommerce Lottery plugin couple new options will appear: NeroCommerce product...
  • Lottery Options

    Settings are mostly self explainable, please see screenshot below. You can enable or disable showing...
  • NeroCommerce Lottery FAQ's

    Here you can find answers to frequently asked questions. Feel free to contact us if you can't find a...
  • NeroCommerce Lottery Overview

    NeroCommerce Lottery is a extension for popular NeroCommerce module and extends it with lottery feat...