Loading

The plugin has additional helpers that can be useful to you when working with templates.

Let's look at all available helper plugins and examples of their use.

Checking whether a contact exists in the user's categories

Contact categories can be created in the application Contacts


Let's assume that you want to check whether a customer belongs to the following user groups: Wholesalers and VIPs.

To do this, you need to find out the ID of the categories (let's say it's 4 and 9) and use the helper:


Output the template of the certificate

The helper has a built-in certificate availability check


Let's say you need to display a certificate knowing its ID (let's say it's 5).


If the certificate has limitations or its status does not allow using the certificate, nothing will be displayed.

Cancel the availability check if you want to always display the certificate:


Output the template of the certificate with dummy data

Use the helper if you want to see what your certificate template will look like


Template IDs and specified construction available on the page Shop - Plugins - Gift certificates - Templates.

Output the template with ID template2.


Creating a certificate and getting it's data

Read more about the helper in the article about generating.


Creating a certificate and output it's template

Read more about the helper in the article about generating.


Creating a certificate based on validations

Read more about the helper in the article about generating and about the helper generateOneCertificate.


Output of the certificate order form

Read more about the helper in the article selling of the certificates.

Helper allows you to sell the certificates on the storefront.


Output of the form for entering the certificate in the shopping cart

Read more about the helper in the article.

The helper allows you to change the location of the form output in the shopping cart.


Additional information about the certificate in the shopping cart

Read more about the helper in the article.


Posted: November 15, 2020
0
Feedback form

Fill the form, and we will contact you.

Your name:
Email
Message: