Issue with a mockup button not adding to cart

New Member
1 0 0


We had a site customised a few years ago and we have a few issues.

Our Mockup button is not adding the item to the cart. Here is the link to a product 

Here is the code

{% unless product.url contains "products/gift-card" %}
<div class="mockup_container">
<h5>Would you like to see how this looks in your home prior to purchase? Purchase a mock-up, send us a photo of your space to, and we will create a digital impression. Limit 2 per customer.</h5>

<input id="mockup_btn" class="mockup_btn" type="button" name="" value="Yes, I want a Mockup" data-PTitle='{{product.title}}'>
{% endunless %}

<form action="/cart/add" id="addtocartform" method="post" enctype="multipart/form-data" class="product-form product-form-{{ }}{% unless section.settings.show_variant_labels %} product-form--hide-variant-labels{% endunless %}" data-section="{{ }}">
{% include 'skt_gc_lineitems' %}
<div class="skt_gc_button_container"></div><div class="skt_gc_preview_button_container"></div>

{% unless product.options.size == 1 and product.variants[0].title == 'Default Title' %}
{% for option in product.options_with_values %}
<div class="selector-wrapper js product-form__item">
<label {% if == 'default' %}class="label--hidden" {% endif %}for="SingleOptionSelector-{{ forloop.index0 }}">
{{ }}
<select class="single-option-selector single-option-selector-{{ }} product-form__input" id="SingleOptionSelector-{{ forloop.index0 }}" data-index="option{{ forloop.index }}">
{% for value in option.values %}
<option value="{{ value | escape }}"{% if option.selected_value == value %} selected="selected"{% endif %}>{{ value }}</option>
{% endfor %}

{% endfor %}

Any help would be much appreciated.