79675223

Date: 2025-06-22 15:01:39
Score: 2.5
Natty:
Report link

concerning the Filter message about product not having enough stock accounting for what's already in the cart.

How can we use this code to insert a variable and get the product name in the message ? I'd like to get : "You are currently trying to order "Product name", You cannot add that amount to the cart — we have %1$s in stock and you already have %2$s in your cart."

Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): How can we
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Gsan