Skip to content

Releases: Nera-Marketing/nera-prize-risk-plugin

Release list

v0.1.0

Choose a tag to compare

@nera-duytran nera-duytran released this 09 Oct 06:10
650c52a

First release of Nera – Prize Risk: prize cost, break-even and live exposure figures for Lottery for WooCommerce competitions. Admin only; nothing loads on the front end. Requires WooCommerce and Lottery for WooCommerce; HPOS compatible.

New

  • Shared PHP/JS calculation engine; the net ticket price is never rounded before use.
  • Prize Risk tab on lottery products: prize cost and other costs fields, with a break-even line that updates while typing and warns when break-even is out of reach.
  • Prize Risk menu for administrators and shop managers, with a payment fee % setting.
  • Competitions report with live sold, free and paid tickets, revenue, position and break-even from LTY and order data, cached per product and cleared when order lines change.
  • Status, category and month filters, and a CSV export of the filtered rows with formula-safe text cells.
  • Category and month rollups, an Items view that groups competitions by title, a summary totals strip and sortable columns.
  • What-if calculator in a modal next to Export CSV and on its own Calculator page, with a "Model this" row action that prefills it from a competition.
  • "Postal entry" tag on orders: an edit-order checkbox, auto-ticked for wp-admin orders whose lottery lines are all £0, and a "Postal" label in the orders list. Tagged orders and £0 lines count as free entries and add no revenue.
  • Strict money inputs: thousand separators only in valid positions; exponent, hex and sign input rejected.

Install

Upload nera-prize-risk-0.1.0.zip in Plugins → Add New → Upload. Later releases arrive through the WordPress updates screen.