This plugin enables you to create products representing days of the year. The products are listed for sale as simple products using WooCommerce.
The plugin :
- Creates a simple product for every day of the year upon plugin activation.
- Adds a price starting at $1 incrementing by $1 for each day of the year.
- Creates a category named calendar and assigns the new products to this category.
- Adds a shortcode you can use in any page to display a table of products.
- Dynamically updates the tables availability for each product with the buyers name and disables the purchase link.
- Dynamically adds the buyers name to the single product page once the orders status is completed and disables purchase.
- Changes the add to cart button to purchased once the order is complete.
Installation
Once activated, paste the shortcode [fundraiser_calendar] into a page or post where you want your table to display.
The table updates dynamically based on products assigned to the calendar category and order status. Any product with a status other than completed will be available for purchase directly from the table, shop page or single product page.