L
L
lexstile2018-04-25 18:46:27
1C-Bitrix
lexstile, 2018-04-25 18:46:27

DETAIL_PICTURE_SRC does not come to the cart template from some products, what could be the reason?

?><?$APPLICATION->IncludeComponent(
  "bitrix:sale.basket.basket", 
  ".default", 
  array(
    "COUNT_DISCOUNT_4_ALL_QUANTITY" => "N",
    "COLUMNS_LIST" => array(
      0 => "NAME",
      1 => "PROPS",
      2 => "DELETE",
      3 => "DELAY",
      4 => "QUANTITY",
      5 => "SUM",
      6 => "PROPERTY_CML2_ARTICLE",
    ),
    "AJAX_MODE" => "N",
    "AJAX_OPTION_JUMP" => "N",
    "AJAX_OPTION_STYLE" => "Y",
    "AJAX_OPTION_HISTORY" => "N",
    "PATH_TO_ORDER" => "/personal/order/make/",
    "HIDE_COUPON" => "Y",
    "QUANTITY_FLOAT" => "N",
    "PRICE_VAT_SHOW_VALUE" => "N",
    "TEMPLATE_THEME" => "site",
    "SET_TITLE" => "Y",
    "AJAX_OPTION_ADDITIONAL" => "",
    "OFFERS_PROPS" => array(
      0 => "SIZES_SHOES",
      1 => "SIZES_CLOTHES",
      2 => "COLOR_REF",
    ),
    "COMPONENT_TEMPLATE" => ".default",
    "USE_PREPAYMENT" => "N",
    "CORRECT_RATIO" => "N",
    "AUTO_CALCULATION" => "Y",
    "ACTION_VARIABLE" => "basketAction",
    "USE_GIFTS" => "Y",
    "GIFTS_PLACE" => "BOTTOM",
    "GIFTS_BLOCK_TITLE" => "Выберите один из подарков",
    "GIFTS_HIDE_BLOCK_TITLE" => "N",
    "GIFTS_TEXT_LABEL_GIFT" => "Подарок",
    "GIFTS_PRODUCT_QUANTITY_VARIABLE" => "quantity",
    "GIFTS_PRODUCT_PROPS_VARIABLE" => "prop",
    "GIFTS_SHOW_OLD_PRICE" => "N",
    "GIFTS_SHOW_DISCOUNT_PERCENT" => "Y",
    "GIFTS_SHOW_NAME" => "Y",
    "GIFTS_SHOW_IMAGE" => "Y",
    "GIFTS_MESS_BTN_BUY" => "Выбрать",
    "GIFTS_MESS_BTN_DETAIL" => "Подробнее",
    "GIFTS_PAGE_ELEMENT_COUNT" => "4",
    "GIFTS_CONVERT_CURRENCY" => "N",
    "GIFTS_HIDE_NOT_AVAILABLE" => "N",
    "USE_ENHANCED_ECOMMERCE" => "N"
  ),
  false
);?>

Products from one section:
[PREVIEW_PICTURE_SRC] => 
            [DETAIL_PICTURE_SRC] => /upload/resize_cache/iblock/197/110_110_1/250A1-PSS-Kin-Long-1.jpg

Goods from other:
[PREVIEW_PICTURE_SRC] => 
            [DETAIL_PICTURE_SRC] =>

It does not yet reach why, with the same filling of goods, a link to the picture comes from one section, but not from the other.
Can anyone suggest?

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