Functional description
Difficulty level:
Variables punchcard fields
To use variables for punch cards and display them, you have the variables below available. Note that the [ID] must not be replaced unless a specific punch card is meant.
Format variable | Description | Example |
---|---|---|
{knipkaart attribute=knip_id id=[ID]} | This is the punch card ID of the punch card types | 2 |
{knipkaart attribute=knip_duration id=[ID]} | The number of days this punch card is valid | 2 |
{knipkaart attribute=knip_price id=[ID]} | The price of the punch card the customer paid | 190 |
{knipkaart attribute=knip_currency id=[ID]} | The currency of the punch card amount | EUR |
{knipkaart attribute=knip_img_ext id=[ID]} | ||
{knipkaart attribute=knip_img_height id=[ID]} | The height in pixels of the punch card image | 180 |
{knipkaart attribute=knip_img_width id=[ID]} | The width in pixels of the punch card image | 180 |
{knipkaart attribute=knip_credit_periods id=[ID]} | No longer in use | 0 |
{knipkaart attribute=knip_credit_bookings id=[ID]} | The number of bookings that can be made with the punch card | 0 |
{knipkaart attribute=knip_credit_price id=[ID]} | The price balance of the punch card | 190 |
{knipkaart attribute=knip_name id=[ID]} | The name of the punch card | Gift card |
{knipkaart attribute=knip_desc id=[ID]} | The short description of the punch card | This gift card can be used for anything |
{knipkaart attribute=knip_long_desc id=[ID]} | The long description of the punch card | This gift card can be used for all kinds of things |
{knipkaart attribute=knip_long_memo id=[ID]} | The memo of the punch card | This memo can contain anything |
{knipkaart attribute=knip_obj_id id=[ID]} | The ID of the product for which this punch card is valid | 0 |
{knipkaart attribute=image id=[ID]} | The link to the punch card image | front?mod=downloadfile&task=showimage& entity=knipkaart&document_id=1230245 |
{knipkaart attribute=detaillink id=[ID]} | The link to the punch card details page | https://daniel.i-reserve.net/front?mod=knipkaart&id=2 |
{knipkaart attribute=orderlink id=[ID]} | The link to the punch card order page | https://daniel.i-reserve.net/front?mod=checkout&knip_id=2 |
It may be that not all variables in this list are activated yet. Please contact us to discuss the possibilities.