Answer the question
In order to leave comments, you need to log in
Where do extra quotes come from in #PODUCT_URL# in Bitrix?
The problem is this: #PRODUCT_URL# is passed in the mail template when ordering in 1 click, everything comes to the mail, but an extra quote (") is added to the URL at the end,
that is, the url looks like this:
https://site.ru/catalog/product.html "
A new order was received from the site #SITE# in 1 click.
Item: #PRODUCT#
Name: #NAME#
Phone: #PHONE#
Link: #PRODUCT_URL#
Comment: #COMMENT#
Answer the question
In order to leave comments, you need to log in
Somehow I see this is not a standard mail event, but something self-written. Most likely the quote is where the event is generated. Look for the place where CEvent::Send is called ( or Bitrix\Main\Mail\Event::send ).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question