A
A
Anto2021-02-16 17:00:27
1C-Bitrix
Anto, 2021-02-16 17:00:27

How to change the link on the "Order" button?

Good afternoon!
There is a website in three languages ​​(FR, EN, RU). And such a button "Buy goods" (the output of the goods is implemented through the News component):

<a class="btn paket-button add2baskett2" data-id="<?=$arFields["ID"];?>" data-price="<?=ceil($arFields["PROPERTY_PRICE_RUB6_VALUE"]);?>">
  <span><?=Loc::getMessage('BUY_NOW')?></span>
 </a>

  • EN - is the root
  • FR - separate folder at the root
  • RU - separate folder at the root


When adding a product in the FR, EN version of the site, it redirects to the Russian basket /ru/personal/order/
Tell me how to change the link on the button so that it redirects to the desired version of the basket?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question