-
-
Save anonymous/e892db371a69fec6e997b055531fbbe1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
====functionsphp=== | |
new GW_Inventory( array( | |
'form_id' => 34, | |
'field_id' => 4, | |
'stock_qty' => 25, | |
'out_of_stock_message' => 'Helaas, er zijn geen kaarten meer beschikbaar voor deze sessie! Probeer een andere sessie', | |
// 'not_enough_stock_message' => 'U heeft %1$s kaarten besteld. Er zijn nog maar %2$s kaart(en) beschikbaar.', | |
'not_enough_stock_message' => 'U heeft %1$s kaarten besteld. Er is echter nog maar 1 kaart beschikbaar. Wijzig het aantal in 1 of annuleer de bestelling.', | |
'approved_payments_only' => true, | |
'hide_form' => true, | |
'enable_notifications' => true | |
) ); | |
===HTML Block in form === | |
<strong><p><font size="4" color="red">Nog beschikbaar voor deze sessie: [gravityforms action="remaining" id="34" input_id="4" limit="25" /] kaarten</font></p></strong> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment