I have a custom theme site that forces the shopper to sign into the site if allowed, they will be provided a budget to spend.
The problem I’m running into is at the “Proceed to checkout” page, I have two required fields that must be completed to checkout. If either one of them is skipped, the page locks and once the shopper completes the two required fields, the system will not correct itself and allow them to check out.
I’m stumped.
Thanks,
J
Here is the code:
{{ 'cart.general.title' | t }}
| {{ 'cart.label.product' | t }} | {{ 'cart.label.price' | t }} | {{ 'cart.label.quantity' | t }} | {{ 'cart.label.total' | t }} | ||
|---|---|---|---|---|---|
|
{%- if item.image -%}
|
{%- if item.product.handle == 'gift-wrapping' %}
{{ item.product.title }}
{%- else -%}
{% comment %}{% if item.properties.product %}{{ all_products[item.properties.product].title }} → {% endif %}{% endcomment %}{{ item.product.title }}
{%- endif -%}
{% unless item.variant.title contains 'Default' %}
{% for p in item.properties %}
{% unless p.last == blank %}
{%- if p.first != '_bundle' and p.first != 'pid' -%}
{{ p.first | capitalize }}:
{% if p.last contains '/uploads/' %}
{{ p.last | split: '/' | last | split: '_' | last }}
{% else %}
{{ p.last | split: '_' | last }}
{% endif %}
{%- endif -%}
{% endunless %}
{% endfor %}
{% endif %}
|
{{ item.price | money }} | {% if item.original_line_price != item.line_price %} |
× | |
| {%- if settings.cart_clear_enable -%}{{ 'cart.general.clear_cart' | t }}{%- endif -%} | |||||
NOTE: Any order that exceeds the allocated budget must obtain special permission before placing order. Please contact sample@sample.com for permission
{% endif %} {%- include 'shipping-calculator' -%}{{ 'cart.general.total_title' | t }}
{% comment %} ---data-title="{{ 'Account Balance Left:' | t }}" {% endcomment %}| {{ 'cart.general.subtotal' | t }} | {{ cart.total_price | money }} |
|---|---|
| {{ 'cart.general.shipping' | t }} | |
| Saving | {{ total_saving | money }} |
| Budget | |
| {{ 'cart.general.total_title' | t }} | {{ cart.total_price | money }} |
| {{ 'cart.general.coupon' | t }} |
|---|
{%- if settings.link_conditions != blank -%}{{ 'cart.general.link_conditions_html' | t: link:page_url }}{%- else -%}{{ 'cart.general.link_conditions_emty' | t }}{%- endif -%}
{%- endif -%} {%- endcomment -%} {%- if settings.explain_code -%}{{ 'cart.general.explain_code' | t }}
{%- endif -%} {%- if settings.explain_curency -%}{{ 'cart.general.explain_currency_html' | t:currency:shop.currency }}
{%- endif -%} {% if customer %} .auto-style1 { text-align: right; } .auto-style2 { color: #FF0000; }
*What type of event/request is this for?
<input required class=“required” type=“radio” name=“attributes[What type of event/request is this for?]” value=“TSD Event”{% if cart.attributes[“What type of event/request is this for?”] == “TSD Event” %} checked{% endif %}> TSD Event
<input required class=“required” type=“radio” name=“attributes[What type of event/request is this for?]” value=“Industry Tradeshow”{% if cart.attributes[“What type of event/request is this for?”] == “Industry Tradeshow” %} checked{% endif %}> Industry Tradeshow
<input required class=“required” type=“radio” name=“attributes[What type of event/request is this for?]” value=“Regional Partner Event”{% if cart.attributes[“What type of event/request is this for?”] == “Regional Partner Event” %} checked{% endif %}> Regional Partner Event
<input required class=“required” type=“radio” name=“attributes[What type of event/request is this for?]” value=“Partner Appreciation/Executive”{% if cart.attributes[“What type of event/request is this for?”] == “Partner Appreciation/Executive” %} checked{% endif %}> Partner Appreciation/Executive
<input required class=“required” type=“radio” name=“attributes[What type of event/request is this for?]” value=“Distribution/VAR Event”{% if cart.attributes[“What type of event/request is this for?”] == “Distribution/VAR Event” %} checked{% endif %}> Distribution/VAR Event
<input required class=“required” type=“radio” name=“attributes[What type of event/request is this for?]” value=“New Employee/Work Use”{% if cart.attributes[“What type of event/request is this for?”] == “New Employee/Work Use” %} checked{% endif %}> New Employee/Work Use
<input required class=“required” type=“radio” name=“attributes[What type of event/request is this for?]” value=“Internal Recognition”{% if cart.attributes[“What type of event/request is this for?”] == “Internal Recognition” %} checked{% endif %}> Internal Recognition
{%- if settings.link_conditions != blank -%}{{ 'cart.general.link_conditions_html' | t: link:page_url }}{%- else -%}{{ 'cart.general.link_conditions_emty' | t }}{%- endif -%}
{%- endif -%}
{%- if settings.show_cart_trust_seal_page and settings.cart_img_trust_seal_page != blank -%}
{%- assign image = settings.cart_img_trust_seal_page -%}
{{ settings.monitor_warning }}
{% endif %} {% if settings.use_additional_checkout_buttons and additional_checkout_buttons and settings.monitor_rewardify == false %}{%- else -%}
{{ 'cart.general.empty' | t }}