define('IS_ALABABIC', true); require($_SERVER["DOCUMENT_ROOT"]."/bitrix/header.php"); $APPLICATION->SetPageProperty("description", "هنا تجد كل ما تريد.. جرب احساسك وذوقك، وفر وقتك ومالك.."); $APPLICATION->SetTitle("على بابك"); ?> $tmpl = "new-catalog"; //$tmpl = ".default"; ?> $APPLICATION->IncludeComponent("bitrix:catalog", $tmpl, Array( "IBLOCK_TYPE" => "catalog", // Type of information block "IBLOCK_ID" => "2", // Information block "TEMPLATE_THEME" => "site", // Color theme "HIDE_NOT_AVAILABLE" => "N", // Hide items not in stock "BASKET_URL" => "/personal/cart/", // URL of the page with the customer cart "ACTION_VARIABLE" => "action", // "Actions" parameter name "PRODUCT_ID_VARIABLE" => "id", // "Product code" parameter name "SECTION_ID_VARIABLE" => "SECTION_ID", // "Section code" parameter name "PRODUCT_QUANTITY_VARIABLE" => "quantity", // Product Quantity Parameter Name "PRODUCT_PROPS_VARIABLE" => "prop", // Variable containing the product properties "SEF_MODE" => "Y", // Enable SEF (Search Engine Friendly Urls) support "SEF_FOLDER" => "#SITE_DIR#catalog/", // Folder for SEF (site-root-relative) "AJAX_MODE" => "N", // Enable AJAX mode "AJAX_OPTION_JUMP" => "N", // Enable scrolling to component's top "AJAX_OPTION_STYLE" => "Y", // Enable styles loading "AJAX_OPTION_HISTORY" => "N", // Emulate browser navigation "CACHE_TYPE" => "A", // Cache type "CACHE_TIME" => "36000000", // Cache time (sec.) "CACHE_FILTER" => "Y", // Cache if the filter is active "CACHE_GROUPS" => "Y", // Respect Access Permissions "SET_TITLE" => "Y", // Set page title "ADD_SECTION_CHAIN" => "Y", "ADD_ELEMENT_CHAIN" => "Y", // Add element name to breadcrumbs "SET_STATUS_404" => "N", // Set status 404 "DETAIL_DISPLAY_NAME" => "N", // Display element title "USE_ELEMENT_COUNTER" => "Y", // Use view counter "USE_FILTER" => "Y", // Show filter "FILTER_NAME" => "", // Filter "FILTER_VIEW_MODE" => "VERTICAL", // Smart filter layout "FILTER_FIELD_CODE" => array( // Fields 0 => "", 1 => "", ), "FILTER_PROPERTY_CODE" => array( // Properties 0 => "", 1 => "", ), "FILTER_PRICE_CODE" => array( // Price type 0 => "BASE", ), "FILTER_OFFERS_FIELD_CODE" => array( // SKU Fields 0 => "PREVIEW_PICTURE", 1 => "DETAIL_PICTURE", 2 => "", ), "FILTER_OFFERS_PROPERTY_CODE" => array( // SKU Properties 0 => "", 1 => "", ), "USE_REVIEW" => "Y", // Allow Writing Reviews "MESSAGES_PER_PAGE" => "10", // Messages per page "USE_CAPTCHA" => "Y", // Use CAPTCHA "REVIEW_AJAX_POST" => "Y", // Use AJAX in dialogs "PATH_TO_SMILE" => "/bitrix/images/forum/smile/", // Path to the folder with the smile images "FORUM_ID" => "1", // Forum ID "URL_TEMPLATES_READ" => "", // Topic Read page (empty value - get from the forum settings) "SHOW_LINK_TO_FORUM" => "Y", // Show link to forum "USE_COMPARE" => "N", // Enable product comparison "PRICE_CODE" => array( // Price type 0 => "BASE", ), "USE_PRICE_COUNT" => "N", // Show quantity range prices "SHOW_PRICE_COUNT" => "1", // Show price for quantity "PRICE_VAT_INCLUDE" => "Y", // Include tax rate in price "PRICE_VAT_SHOW_VALUE" => "N", // Display tax rate "PRODUCT_PROPERTIES" => "", // Product properties in shipping cart "USE_PRODUCT_QUANTITY" => "Y", // Enable Product Quantity Field "CONVERT_CURRENCY" => "Y", // Use only one currency to show prices "CURRENCY_ID" => "USD", // Convert all prices to currency "QUANTITY_FLOAT" => "N", "OFFERS_CART_PROPERTIES" => array( // SKU Properties In Shopping Cart 0 => "COLOR_REF", 1 => "SIZES_SHOES", 2 => "SIZES_CLOTHES", ), "SHOW_TOP_ELEMENTS" => "N", // Display Top of elements "SECTION_COUNT_ELEMENTS" => "N", // Show number of elements in section "SECTION_TOP_DEPTH" => "1", // Maximum visible child sections "SECTIONS_VIEW_MODE" => "TILE", // Section list view "SECTIONS_SHOW_PARENT_NAME" => "N", // Show section name "PAGE_ELEMENT_COUNT" => "15", // Number of elements per page "LINE_ELEMENT_COUNT" => "3", // Number of elements to display in a table row "ELEMENT_SORT_FIELD" => "desc", // Field to sort products in a section "ELEMENT_SORT_ORDER" => "asc", // Sort order of the products in a section "ELEMENT_SORT_FIELD2" => "id", // Second sort field for products "ELEMENT_SORT_ORDER2" => "desc", // Second sort order for products "LIST_PROPERTY_CODE" => array( // Properties 0 => "NEWPRODUCT", 1 => "SALELEADER", 2 => "SPECIALOFFER", 3 => "", ), "INCLUDE_SUBSECTIONS" => "Y", // Show elements from subsections "LIST_META_KEYWORDS" => "UF_KEYWORDS", // Set page keywords from section custom field "LIST_META_DESCRIPTION" => "UF_META_DESCRIPTION", // Set page description from section custom field "LIST_BROWSER_TITLE" => "UF_BROWSER_TITLE", // Set browser window title from section custom field "LIST_OFFERS_FIELD_CODE" => array( // SKU Fields 0 => "NAME", 1 => "PREVIEW_PICTURE", 2 => "DETAIL_PICTURE", 3 => "", ), "LIST_OFFERS_PROPERTY_CODE" => array( // SKU Properties 0 => "ARTNUMBER", 1 => "COLOR_REF", 2 => "SIZES_SHOES", 3 => "SIZES_CLOTHES", 4 => "MORE_PHOTO", 5 => "", ), "LIST_OFFERS_LIMIT" => "0", // Maximum SKU's To Show (use 0 to show all) "SECTION_BACKGROUND_IMAGE" => "UF_BACKGROUND_IMAGE", // Use property provided background image as background "DETAIL_PROPERTY_CODE" => array( // Properties 0 => "NEWPRODUCT", 1 => "MANUFACTURER", 2 => "MATERIAL", 3 => "", ), "DETAIL_META_KEYWORDS" => "KEYWORDS", // Set page keywords from property "DETAIL_META_DESCRIPTION" => "META_DESCRIPTION", // Set page description from property "DETAIL_BROWSER_TITLE" => "TITLE", // Set browser window title from property value "DETAIL_OFFERS_FIELD_CODE" => array( // SKU Fields 0 => "NAME", 1 => "", ), "DETAIL_OFFERS_PROPERTY_CODE" => array( // SKU Properties 0 => "ARTNUMBER", 1 => "COLOR_REF", 2 => "SIZES_SHOES", 3 => "SIZES_CLOTHES", 4 => "MORE_PHOTO", 5 => "", ), "DETAIL_BACKGROUND_IMAGE" => "BACKGROUND_IMAGE", // Use property provided background image as background "LINK_IBLOCK_TYPE" => "", // Type of information block with elements linked to the current element "LINK_IBLOCK_ID" => "", // Information block ID with elements to the current element "LINK_PROPERTY_SID" => "", // Property to store the link "LINK_ELEMENTS_URL" => "link.php?PARENT_ELEMENT_ID=#ELEMENT_ID#", // URL of the page with a list of linked elements "USE_ALSO_BUY" => "Y", // Display Customers Also Buy section "ALSO_BUY_ELEMENT_COUNT" => "4", // Number of elements to display "ALSO_BUY_MIN_BUYES" => "1", // Min. purchases of goods "OFFERS_SORT_FIELD" => "sort", // Sort SKU By Field "OFFERS_SORT_ORDER" => "desc", // SKU Sort Order "OFFERS_SORT_FIELD2" => "id", // Second sort field for SKU's "OFFERS_SORT_ORDER2" => "desc", // Second sort order for SKU's "PAGER_TEMPLATE" => "round", // Breadcrumb navigation template "DISPLAY_TOP_PAGER" => "N", // Display at the top of the list "DISPLAY_BOTTOM_PAGER" => "Y", // Display at the bottom of the list "PAGER_TITLE" => "Товары", // Category name "PAGER_SHOW_ALWAYS" => "N", // Always show the pager "PAGER_DESC_NUMBERING" => "N", // Use reverse page navigation "PAGER_DESC_NUMBERING_CACHE_TIME" => "36000000", // Cache time for pages with reverse page navigation "PAGER_SHOW_ALL" => "N", // Show the ALL link "ADD_PICT_PROP" => "MORE_PHOTO", // Additional image of main item "LABEL_PROP" => "NEWPRODUCT", // Product tag property "PRODUCT_DISPLAY_MODE" => "Y", // View mode "OFFER_ADD_PICT_PROP" => "MORE_PHOTO", // Additional image property of SKU "OFFER_TREE_PROPS" => array( // Properties for grouping of SKUs 0 => "COLOR_REF", 1 => "SIZES_SHOES", 2 => "SIZES_CLOTHES", ), "SHOW_DISCOUNT_PERCENT" => "Y", // Show discount value "SHOW_OLD_PRICE" => "Y", // Show previous price "MESS_BTN_BUY" => "Купить", // "Buy" button text "MESS_BTN_ADD_TO_BASKET" => "В корзину", // "Add to cart" button text "MESS_BTN_COMPARE" => "Сравнение", // "Compare" button text "MESS_BTN_DETAIL" => "Подробнее", // "Details" button text "MESS_NOT_AVAILABLE" => "Нет в наличии", // Item not available message "DETAIL_USE_VOTE_RATING" => "Y", // Enable product rating "DETAIL_VOTE_DISPLAY_AS_RATING" => "rating", // Show in rating "DETAIL_USE_COMMENTS" => "Y", // Enable product comments "DETAIL_BLOG_USE" => "Y", // Use comments "DETAIL_VK_USE" => "N", // Use VK "DETAIL_FB_USE" => "Y", // Use Facebook "AJAX_OPTION_ADDITIONAL" => "", // Additional ID "USE_STORE" => "Y", // Show "Warehouse Stock" information block "USE_STORE_PHONE" => "Y", "USE_STORE_SCHEDULE" => "Y", "USE_MIN_AMOUNT" => "N", // Show text instead of numbers "STORE_PATH" => "/store/#store_id#", // STORE directory path template (relative to website root) "MAIN_TITLE" => "Наличие на складах", // Information block title "MIN_AMOUNT" => "10", "DETAIL_BRAND_USE" => "Y", // Use "Brands" component "DETAIL_BRAND_PROP_CODE" => array( // Information block containing brand data 0 => "BRAND_REF", 1 => "", ), "SIDEBAR_SECTION_SHOW" => "Y", // Show side bar in product list "SIDEBAR_DETAIL_SHOW" => "Y", // Show side bar on product details page "SIDEBAR_PATH" => "/catalog/sidebar.php", // Path to the side bar include area "COMPONENT_TEMPLATE" => ".default", "COMMON_SHOW_CLOSE_POPUP" => "N", // Show "Continue Shopping" button in popup windows "DETAIL_SHOW_MAX_QUANTITY" => "N", // Show product total quantity "DETAIL_BLOG_URL" => "catalog_comments", // Blog name (Latin only) "DETAIL_BLOG_EMAIL_NOTIFY" => "N", // E-mail notification "DETAIL_FB_APP_ID" => "", // APP_ID "USE_MAIN_ELEMENT_SECTION" => "N", // Use main section to show element "SET_LAST_MODIFIED" => "N", // Set page last modified date to response header "ADD_SECTIONS_CHAIN" => "Y", // Add Section name to breadcrumb navigation "USE_SALE_BESTSELLERS" => "Y", // Show best selling products "ADD_PROPERTIES_TO_BASKET" => "Y", // Pass item and SKU properties to shipping cart "PARTIAL_PRODUCT_PROPERTIES" => "N", // Shopping cart can contain items with partially specified properties "USE_COMMON_SETTINGS_BASKET_POPUP" => "N", // All pages use common display settings for "Add to Cart" and "Buy Now" buttons "COMMON_ADD_TO_BASKET_ACTION" => "undefined", // Show "Add to Cart" or "Buy Now" button "TOP_ADD_TO_BASKET_ACTION" => "ADD", // Show "Add to Cart" or "Buy Now" button on top (best selling) products page "SECTION_ADD_TO_BASKET_ACTION" => "ADD", // Show "Add to Cart" or "Buy Now" button on product list page "DETAIL_ADD_TO_BASKET_ACTION" => array( // Show "Add to Cart" and "Buy Now" buttons on product details page 0 => "BUY", ), "DETAIL_SHOW_BASIS_PRICE" => "Y", // Show product item price on product detail page "SECTIONS_HIDE_SECTION_NAME" => "N", // Hide subsection names "DETAIL_SET_CANONICAL_URL" => "N", // Set canonical URL "DETAIL_CHECK_SECTION_ID_VARIABLE" => "N", // Use group ID on variable if element section is missing "SHOW_DEACTIVATED" => "N", // Show deactivated products "DETAIL_DETAIL_PICTURE_MODE" => "IMG", // Detailed image view mode "DETAIL_ADD_DETAIL_TO_SLIDER" => "N", // Add detailed image to slider "DETAIL_DISPLAY_PREVIEW_TEXT_MODE" => "E", // Show short description on details page "STORES" => "", // Warehouses "USER_FIELDS" => array( // Custom fields 0 => "", 1 => "", ), "FIELDS" => array( // Fields 0 => "", 1 => "", ), "SHOW_EMPTY_STORE" => "Y", // Show warehouse when empty "SHOW_GENERAL_STORE_INFORMATION" => "N", // Show warehouse summary "USE_BIG_DATA" => "Y", // Display personal recommendations "BIG_DATA_RCM_TYPE" => "bestsell", // Recommendation type "PAGER_BASE_LINK_ENABLE" => "N", // Enable link processing "SHOW_404" => "N", // Show page "MESSAGE_404" => "", // Show this message (a component provided message is used by default) "SEF_URL_TEMPLATES" => array( "sections" => "", "section" => "#SECTION_CODE#/", "element" => "#SECTION_CODE#/#ELEMENT_CODE#/", "compare" => "compare/", "smart_filter" => "#SECTION_CODE#/filter/#SMART_FILTER_PATH#/apply/", ) ), false );?> /* global $arrFilter; $arrFilter = array('!SECTION_ID' => array(37, 35, 36, 57, 39, 17, 41, 63, 87, 19, 20, 21, 22, 23, 24, 25, 48, 58, 62, 764, 765, 44, 296, 43, 59)); $APPLICATION->IncludeComponent("bitrix:catalog.section", "recommended", Array( "IBLOCK_TYPE_ID" => "catalog", "IBLOCK_ID" => "2", // Infoblock "BASKET_URL" => "/personal/cart/", // URL of the page with the customer cart "COMPONENT_TEMPLATE" => "", "IBLOCK_TYPE" => "catalog", // Infoblock type "SECTION_ID" => $_REQUEST["SECTION_ID"], // Section ID "SECTION_CODE" => "", // Section code "SECTION_USER_FIELDS" => array( // Section Properties 0 => "", 1 => "", ), "ELEMENT_SORT_FIELD" => "id", // Field to sort elements "ELEMENT_SORT_ORDER" => "desc", // Sort order for elements "ELEMENT_SORT_FIELD2" => "sort", // Second sort field "ELEMENT_SORT_ORDER2" => "desc", // Second sort order "FILTER_NAME" => "arrFilter", // Name of the array with values used to filter elements "INCLUDE_SUBSECTIONS" => "Y", // Show elements from subsections "SHOW_ALL_WO_SECTION" => "Y", // Show all elements if no section is specified "HIDE_NOT_AVAILABLE" => "N", // Hide items not in stock "PAGE_ELEMENT_COUNT" => "12", // Number of elements per page "LINE_ELEMENT_COUNT" => "3", // Number of elements to display in a table row "PROPERTY_CODE" => array( // Properties 0 => "", 1 => "", ), "OFFERS_FIELD_CODE" => array( // SKU Fields 0 => "", 1 => "", ), "OFFERS_PROPERTY_CODE" => array( // SKU Properties 0 => "COLOR_REF", 1 => "SIZES_SHOES", 2 => "SIZES_CLOTHES", 3 => "", ), "OFFERS_SORT_FIELD" => "sort", // Sort SKU By Field "OFFERS_SORT_ORDER" => "desc", // SKU Sort Order "OFFERS_SORT_FIELD2" => "id", // Second sort field for SKU's "OFFERS_SORT_ORDER2" => "desc", // Second sort order for SKU's "OFFERS_LIMIT" => "5", // Maximum SKU's to Show (use 0 to show all) "TEMPLATE_THEME" => "site", // Color theme "PRODUCT_DISPLAY_MODE" => "Y", // View mode "ADD_PICT_PROP" => "MORE_PHOTO", // Additional image of main item "LABEL_PROP" => "-", // Product tag property "OFFER_ADD_PICT_PROP" => "-", // Additional image property of SKU "OFFER_TREE_PROPS" => array( // Properties for grouping of SKUs 0 => "COLOR_REF", 1 => "SIZES_SHOES", 2 => "SIZES_CLOTHES", ), "PRODUCT_SUBSCRIPTION" => "N", // Enable back-in-stock notifications "SHOW_DISCOUNT_PERCENT" => "N", // Show discount value "SHOW_OLD_PRICE" => "Y", // Show previous price "SHOW_CLOSE_POPUP" => "N", // Show "Continue Shopping" button in popup windows "MESS_BTN_BUY" => "Купить", // "Buy" button text "MESS_BTN_ADD_TO_BASKET" => "В корзину", // "Add to cart" button text "MESS_BTN_SUBSCRIBE" => "Подписаться", // "Notify when back in stock" button text "MESS_BTN_DETAIL" => "Подробнее", // "Details" button text "MESS_NOT_AVAILABLE" => "Нет в наличии", // Item not available message "SECTION_URL" => "", // URL of the page with the section contents "DETAIL_URL" => "", // URL of the page with the detail contents "SECTION_ID_VARIABLE" => "SECTION_ID", // "Section code" parameter name "SEF_MODE" => "N", // Enable SEF (Search Engine Friendly Urls) support "AJAX_MODE" => "N", // Enable AJAX mode "AJAX_OPTION_JUMP" => "N", // Enable scrolling to component's top "AJAX_OPTION_STYLE" => "Y", // Enable styles loading "AJAX_OPTION_HISTORY" => "N", // Emulate browser navigation "AJAX_OPTION_ADDITIONAL" => "", // Additional ID "CACHE_TYPE" => "A", // Cache type "CACHE_TIME" => "36000000", // Cache time (sec.) "CACHE_GROUPS" => "Y", // Respect Access Permissions "SET_TITLE" => "Y", // Set page title "SET_BROWSER_TITLE" => "Y", // Set browser window title "BROWSER_TITLE" => "-", // Set browser window title from property value "SET_META_KEYWORDS" => "Y", // Set page keywords "META_KEYWORDS" => "-", // Set page keywords from property "SET_META_DESCRIPTION" => "Y", // Set page description "META_DESCRIPTION" => "-", // Set page description from property "SET_LAST_MODIFIED" => "N", // Set page last modified date to response header "USE_MAIN_ELEMENT_SECTION" => "N", // Use main section to show element "ADD_SECTIONS_CHAIN" => "N", // Add Section name to breadcrumb navigation "CACHE_FILTER" => "N", // Cache if the filter is active "ACTION_VARIABLE" => "action", // "Actions" parameter name "PRODUCT_ID_VARIABLE" => "id", // "Product code" parameter name "PRICE_CODE" => array( // Price type //0 => "BASE", 0 => "ARAB", ), "USE_PRICE_COUNT" => "N", // Show quantity range prices "SHOW_PRICE_COUNT" => "1", // Show price for quantity "PRICE_VAT_INCLUDE" => "Y", // Include tax rate in price "CONVERT_CURRENCY" => "N", // Use only one currency to show prices "USE_PRODUCT_QUANTITY" => "N", // Enable Product Quantity Field "PRODUCT_QUANTITY_VARIABLE" => "", // Product Quantity Parameter Name "ADD_PROPERTIES_TO_BASKET" => "Y", // Pass item and SKU properties to shipping cart "PRODUCT_PROPS_VARIABLE" => "prop", // Product Properties Parameter Name "PARTIAL_PRODUCT_PROPERTIES" => "N", // Shopping cart can contain items with partially specified properties "PRODUCT_PROPERTIES" => "", // Product Properties "OFFERS_CART_PROPERTIES" => array( // SKU Properties In Shopping Cart 0 => "COLOR_REF", 1 => "SIZES_SHOES", 2 => "SIZES_CLOTHES", ), "ADD_TO_BASKET_ACTION" => "ADD", // Show "Add to Cart" or "Buy Now" button "PAGER_TEMPLATE" => "round", // Breadcrumb navigation template "DISPLAY_TOP_PAGER" => "N", // Display at the top of the list "DISPLAY_BOTTOM_PAGER" => "Y", // Display at the bottom of the list "PAGER_TITLE" => "Товары", // Category name "PAGER_SHOW_ALWAYS" => "N", // Always show the pager "PAGER_DESC_NUMBERING" => "N", // Use reverse page navigation "PAGER_DESC_NUMBERING_CACHE_TIME" => "36000", // Cache time for pages with reverse page navigation "PAGER_SHOW_ALL" => "N", // Show the ALL link "PAGER_BASE_LINK_ENABLE" => "N", // Enable link processing "SET_STATUS_404" => "N", // Set status 404 "SHOW_404" => "N", // Show page "MESSAGE_404" => "", // Show this message (a component provided message is used by default) "TITLE" => "موصى به" ), false );*/?>