Problem in ADD CART. Help

Satoo
New Member
1 0 0

Hello, I need to delete the ID code that shows me in ADD CART. I don't know how to remove it.

Thanks for help.

 

hram sa.png

0 Likes
Guleria
Shopify Partner
1360 278 384

Hello,

It's may be with app you are using or a custom field you are using in product template.
And to get rid of it. You have to add a condition in cart template in 'properties' loop 
e.g For if you are using Debut theme the you have to edit cart-template.liquid under 'sections'

Now at line no. 68  after this code {%- for p in properties -%}
add a if condition like this

{% if  p.first contains 'test' %}
leave it blank
 {% else %}
Your exiting code will go here
{% endif %}

 

I'm using 'test' as a example but you have to first find out the key of the custom field you are using after that this code will work.

Note: If you are using another theme then you have to modify the code a/to your need.

Thanks

Want to modify or custom changes on store hire me.
Email: guleriathakur43@gmail.com, Skype: navrocks1
If helpful then please Like and Accept Solution.
0 Likes