How to get available variables in language editor?

Hello,

I want to edit the messages in the language editor, but how do I know which variables are available? E.g. there is a system message for Only n items available which says

You can only add {{ count }} {{ name }} to your cart.

but if I want to use {{ count }} in the next line at Too many items in cart I get the error

I18n Error: Missing interpolation value "count" for...

best regards

Kevin

Hello @Berger did you ever get an answer for this issue? I came across the same issue.

Thanks!

Hi @julie_p

unfortunately not :disappointed_face: I didn’t solve this problem.

Too bad! I’ll let you know if I have any luck :blush: Thanks for the reply!