I don’t know why you would need that. You can just write
" {query_results_count:yfdvhg} Product" in the Textinput field. that should work fine.
Best regards!
The reason is that it makes the code cleaner. Of course, this is not something that is unreasonable. Because on several websites I have seen the text render next to the counter but only the counter is updated.
What you mentioned is the conventional solution. We can use it in elements like Basic Text. But in that case the output will be as follows. What you mentioned is the conventional solution. We can use it in elements like Basic Text. But in that case the code will be like this.
But the question is, what is the solution if we want to render only <span data-brx-qr-count="oxnsus">4</span>?
The only way is to put the dynamic data inside the code element. But there is still a problem. Because the phrase “Product” is outside the span tag. So we can’t style it. If it were possible to add the desired text in the counter span tag, there would be no challenge.