товар уже добавлен битрикс

<div class=»add_company»>
<?
if (CModule::IncludeModule(«sale»))
{
$arBasketItems = array();

$dbBasketItems = CSaleBasket::GetList(
array(),
array(
«FUSER_ID» => CSaleBasket::GetBasketUserID(),
«LID» => SITE_ID,
«ORDER_ID» => «NULL»
),
false,
false,
array(«*»)
);

$i = 0;
while ($arItems = $dbBasketItems->Fetch())
{
$t = $arItems;
}

if ($t[‘QUANTITY’] > 0) {?>
товар уже добавлен

<? } else { ?>

<a href=»<?=$arResult[‘ADD_URL’];?>»>Положить в корзину</a>

<? }?>
<? }?>
</div>

товар уже добавлен битрикс

2 мыслей о “товар уже добавлен битрикс

  • 12.03.2024 в 23:30
    Permalink

    Wow, wonderful blog structure! How long have you ever
    been running a blog for? you make running a blog glance easy.
    The whole look of your web site is great, let alone the content material!
    You can see similar here sklep internetowy

  • 06.04.2024 в 06:03
    Permalink

    Hey there! Do you know if they make any plugins to assist with
    Search Engine Optimization? I’m trying to get my blog to rank for some targeted
    keywords but I’m not seeing very good gains. If you know of any please share.
    Appreciate it! I saw similar text here: Auto Approve List

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *