I updated to Theme: Studio 4.0.0 and my Custom Product Templates using line items is no longer showing in the cart and at checkout.
I have done the following:
- Clicked Online Store → Theme → Customize (after duplicating so I don’t mess up the live site)
- Top of the Screen → Clicked Products → Create Template "car-seat-ponchos’
- Went back into my product list and assigned product to this template
- Online Store → Theme → Edit Code
Searched the “main-product.liquid” for the following code
{%- assign product_form_installment_id = 'product-form-installment-' | append: section.id -%}
{%- form 'product', product, id: product_form_installment_id, class: 'installment caption-large' -%}
Added the following code just below it (created using Line Item Property )
{% if product.template_suffix == 'car-seat-ponchos' %}
{% endif %}
The options show up on the correct product when I go to my website (seen here: Product Page on Website). However, the options down not show at checkout (nor on my end when purchased).
What am I doing wrong? How can I get this working?
Do I need to edit the following product (I did not create this - it showed up when I added the custom product template).
product.car-seat-ponchos.json