Why are line item properties inconsistent in Dawn theme?

Hi,

I’m facing an issue with the line item properties in Dawn theme. Sometimes it works and I get the line item properties in the order and sometimes it doesn’t work (nothing is added with the order). Do you have an idea on what is causing this issue ?

Also I noted a weird behavior with the buy now button. When we link the line item property using the “form” attribute, this latter is not added, so I had to add the input element inside the form element to make it work (however as I said, this do not always work).

Can you provide any help on this ?

Thank you.

Regards.

HI @Aghiles ,

Please contact Shopify support on this. I notice this also. I have a customer with the same problem and it started just a few days ago. Everything works fine before that, no change in code

Hi @Aghiles ,

Please send your site and if your site is password protected, please send me the password. I will check it.

Hi @made4Uo ,

Thank you for your feedback. Thus, I’m not the only one facing this strange behavior.

I just contacted the Shopify support team, I will let you know if they provide me any tips to avoid this behavior.

On your side, was it resolved ? or do your customer still face this issue ?

Thank you.

Hi @LitExtension ,

Thank you for your proposition. I just send you the link to my store.
I maybe wrong but I think it is more an issue on the shopify plateforme since it started few days ago.

Hi @Aghiles ,

I tested and it works fine. Can you try adding properties directly in the form instead of passing variables?

Hope it helps!

Hi @LitExtension ,

Thank you for your feedback.

Yes, this is why the behavior is strange as mentionned by @made4Uo . It works, but sometimes the line item properties are not added to the order without knowing why. Since the line item property is added later on by the shopify platform (after submitting the form), maybe the issue is there…

I also tried your suggestion, but the behavior is the same.

Since yesterday, I tried to add the “name” attribute as the last attribute in the input tag (I read that it may have an impact), I will see if this resolves the issue.

Hi @Aghiles ,

Yes, I have tested and it works fine.

So you should try contacting Shopify, they will probably double check it in more detail.

@Aghiles

It was fine now, but I went and contact Shopify support still. Just hoping we can prevent it from happening again. They said to contact again if we found the issue again. I think the more people see this an issue, the more Shopify will resolve this and hopefully prevent it from happening in the future.

I am experiencing the same issue and its intermittent. This thread seems to explain a case where it does happen and is still not fixed by Shopify:

https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=&cad=rja&uact=8&ved=2ahUKEwjfnoaVqJz7AhWiHUQIHdkCCrwQFnoECBAQAQ&url=https%3A%2F%2Fcommunity.shopify.com%2Fc%2Ftechnical-q-a%2Fcustom-line-item-properties-disappear-with-shop-pay%2Ftd-p%2F1521220&usg=AOvVaw3sZGVMtEzckkz2e1cO1DuQ