Answer the question
In order to leave comments, you need to log in
How to display new products on the page in Bitrix?
How to display on the page products with the New property marked?
Answer the question
In order to leave comments, you need to log in
define a filter for the component, create a filter, add the condition of the marked New property there.
PS What question is such an answer.
news.list or catalog.section or any component for displaying infoblock elements with $arfilter set by the New property. First, you form the $arfilter you need, then you call the component with this filter in the parameters.
Issue resolved.
Before calling the bitrix:catalog.top component, you need to insert the following code:
<?
global $arrFilter;
$arrFilter = array('PROPERTY_NEWPRODUCT_VALUE' => 'YES');
?>
<?$APPLICATION->IncludeComponent(
"bitrix:catalog.top",
"catalog_top",
Array(
...
"FILTER_NAME" => "arrFilter",
...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question