Product Grid Item errors qty-error message appeared on all products

Highlighted
New Member
2 0 0

Hi, 

Kindly requesting for help on my problem. On product grid, if I added an item that is already in my cart, the message "All {Item.description} are in your cart" displayed on all products in the grid (See screenshot below).

I just wanted to display this message under the product that I just added only. I think below code is displaying the message?

Screen Shot 2020-10-19 at 2.43.18 PM.png

Screen Shot 2020-10-19 at 2.44.22 PM.png

Thank you for your response.

0 Likes
Highlighted
Shopify Partner
1151 232 299

Hello,

Yes you are right code append in the div having class="error qty-error" 
But if this a static the you have to write a callback function so whenever button clicked message appears under the target product.
And if it's already dynamic then check the existing callback function and do modification accordingly. From customization I mean change dynamic message and target it clicked button product.

Thanks

Want to modify or custom changes on store hire me.
My Email: guleriathakur43@gmail.com
Skype: navrocks1
If helpful then please Like and Accept Solution.
If you are happy and want to donate small Click here (Its my paypal)
0 Likes
Highlighted
New Member
2 0 0
Thanks for reply, I don't known what file should I edit. I think this is a
dynamic message.
0 Likes
Highlighted
Shopify Partner
1151 232 299

Actually every theme have different standard of code. And the feature you are talking about, so far I don't see it in any free theme. 
btw you can check in your theme JS files, file name depends on theme you are using. And most probably it should be in theme.js



Want to modify or custom changes on store hire me.
My Email: guleriathakur43@gmail.com
Skype: navrocks1
If helpful then please Like and Accept Solution.
If you are happy and want to donate small Click here (Its my paypal)
0 Likes