I want to add a line item properties, drop down list on one of my product pages. The problem I am having is that the item selected from the list does NOT get submitted to the cart. Any ideas what I’m doing wrong? Here’s the product page: https://www.palmettowoodshop.com/products/tf606ws
Since I am having trouble getting this to work, I don’t have the drop down list on the live page, but here are the relevant code sections:
{%- when 'custom_properties' -%}
{% if block.settings.prop_label != blank %}{% endif %}
{% if block.settings.prop_name != blank %}
{% if block.settings.multiline %}
{% if block.settings.showcharacters %}
{% endif %}
{% else %}
{% if block.settings.showcharacters %}
{% endif %}
{% endif %}
{% endif %}
{%- form 'product', product, id: product_form_id, class: 'form', data-type: 'add-to-cart-form' -%}
{% assign block_show = false %}
{% for block in section.blocks %}
{% if block.type == "custom_properties" %}
{% assign block_show = true %}
{% endif %}
{% endfor %}