Personalised products in 'Highlight' theme

Hello,

I am trying to add personalisation to one of my products - here. Specifically, I am looking to use line item properties to let customers enter the text that they want on the product.

I have been following this Shopify guide for how to make this work for my theme, but unfortunately, it doesn’t seem to be showing the line item properties in the cart.

Based on some simple analysis, it seems as though ‘property_size’ is 0. As per my code below, the property_size should actually be one given that there is 1 property being set on the product page (initials).

Can somebody please advise on where I might be going wrong?

Thanks in advance,

Liam

Product page form
-----------------

{%- form 'product', product -%}

         
      
      

  		
  		
	  

      
         

          {%- render 'product-variants', product: product, color_swatches: section.settings.show_color_swatches -%}

          

            

              {%- if section.settings.show_quantity_selector -%}
                
              {%- endif -%}

              

            

            
            {%- liquid
              unless product.tags contains 'preorder'
                if section.settings.enable_payment_button
                  echo form | payment_button
                endif
              endunless
              echo form | payment_terms
            -%}

          

          {%- if section.settings.show_quantities -%}
            
          {%- endif -%}

          {%- if product.tags contains 'preorder' -%}
            {{ 'product.preorder.description' | t }}
          {%- endif -%}

          {%- if section.settings.show_local_pickup -%}
            

          {%- endif -%}

        

      {%- endform -%}
cart-form.liquid (snippet within template)
------------------------------------------

Hi Liam, I have check your website you have added a line item property field on product page, also I have check you have added the code just after form tag. But in the this doc they have added the code just before the “Add to cart” button. So can you give a try and check if it’s work.

For further concern you can connect on Whatsapp via this link:- https://chat.whatsapp.com/EFgRCPfCmDjHoZBNcINTEJ

Hi,

Thank you for the response. I have tried this previously and it changed the position of the text field on the product page, but still did not solve the problem so I moved it back.

Do you have any other ideas?

Kind regards,

Liam