Hello I added a product Template to a few of my Product that has a contact Form so the customer can message me for further informations. The Problem is that I dont know what the product was the request was sent for. I just get an Mail with the request and contact information. I appreciate any help, Thank you very much. I will link an example product: https://waffen-paar.at/products/magtech-9-mm-luger-fmj-8g-124grs-1000-stk?contact_posted=true#contact_form
I used this code for the template:
{% comment %}
The contents of the product.liquid template can be found in /sections/product-template.liquid
{% endcomment %}
{% section 'product-template-requires-contact' %}
{% section 'product-recommendations' %}
{% if collection %}
{% include 'icon-arrow-left' %}
{{ 'products.product.back_to_collection' | t: title: collection.title }}
{% endif %}
{% assign current_variant = product.selected_or_first_available_variant %}
This is the information I get in the mail: