The Patronage form block and shortcode display a form to subscribe to your tiers.
Block options
(Coming soon)
Shortcode options
You can also use the [patronstips_tier_form] shortcode to display a list of your patrons and use this table to configure it:
| Attribute | Expected value |
|---|---|
| redirect | A URL to redirect to after submitting the form. Default: checkout page with WooCommerce, or the “Patron area” page if the user is logged in, or no redirect otherwise. |
| submit_label | Submit button label. |
| tiers | Tier IDs (comma separated) that will be displayed in the form. Default: all tiers. |
| frequencies | Tier frequency identifiers to include in the form (one_off, month) (comma separated). Default : all frequencies. |
| default_tier | Tier ID selected by default. |
| default_frequency | Frequency identifier selected by default: one_off, month. |
| include_tax | Set it to 1 to include tax to the displayed price. Default: use WooCommerce settings. |
| decimals | The number of decimals to display the tier price (integer). Default: 0 / WooCommerce settings. |
| image_size | Set the desired tier icon size: full, large, medium, thumbnail. Default: medium / full if image_only is set to 1. |
| order_by | id, title, user_id, creation_date, active, price. |
| order | Possible values are desc (descending: highest to lowest) or asc (ascending: lowest to highest). Designates the ascending or descending order of the “order_by” parameter. You must specify the “order_by” parameter (see above). Default: desc. |
Shortcode examples
Display a patronage form with a call-to-action “Become my patron”.
[patronstips_tier_form submit_label="Become my patron"]
Display a patronage form containing tiers with IDs 2, 3 and 5.
[patronstips_tier_form tiers="2, 3, 5"]
