Hi, I have successfully added a line item property to my Dawn 9.0 Theme in the buy-buttons.liquid, however this has added the line item property to all products instead of just a selected few. I did end up creating a custom product section in which I could apply to custom templates for these particular products, which did show up on the selected products only however the information gathered was not added to the cart. If someone could please let me know how to resolve this issue. Thanks
This is David atSalesHunterThemes.
I have checked your store and found that the property already added to the cart.
what wrong on here, have you fixed that?
The property shows up in the cart which is great but I only want the property added to specific products on my website not all of them. I only need the drop down line item property to be visible on my Cannoli products not the cupcakes.
Hi @k8king
In this case I think you should add some condition in code to make function as you want.
You can add tag for product you want to show property.
And in the code you can add the custom code between condition
Example:
{% if product.tags contains 'pickupdate' %}
add your custom code in here
{% endif %}
The code I added had to be added into the buy-button.liquid as i am running Dawn 9.0. Where would I add the above code plus the custom code for just these particular products. I have created custom templates and custom sections but aren’t too sure on where to add it for it to work.