Hello!
I’ve been working on our gaming community website and are in need of making a registration form as a product or as a requirement to purchase.
essentially we are running tournaments with entrance fee’s and need people to fill out specific information when purchasing their entrance ticket.
I thought about making it a requirement at the end either during or after checkout but I feel like running it as the product itself would work best but im open to ideas.
I used to write code 10 years ago so im knowledgeable but also quite rusty. I tried creating a product template as seen here https://ksmgaming.com/products/single-registration
Even though code is written as certain fields are required you can still skip entire process and hit add to cart.
would maybea link an external form from a form hosting website to be the actual product itself?
The important part is having the payment information linked with the information on the form but also not receive any form information if they don’t actually purchase. last thing we need is a whole bunch of registered teams who haven’t paid.
I’m not sure if I am over thinking it, can somebody please give me some help / advice.
this is code I have for template.
Team Name
Activision Account (#numbers included)
K/D Ratio
Stream URL (Only 1 required per team)
Discord name (Check in member required only)
Players 2-4 Activision name - KD Ratio (if applicable) {{ cart.attributes["Players 2-4 Activision name - KD Ratio (if applicable)"] }}
{% unless current_variant.available %} {{ 'products.product.sold_out' | t }} {% else %} {{ 'products.product.add_to_cart' | t }} {% endunless %} {% include 'icon-spinner' %} {% if section.settings.enable_payment_button %} {{ form | payment_button }} {% endif %} {% endform %}