Last active
December 24, 2016 22:55
-
-
Save vozhukh/c3845c9637013648fad7c9d803f97544 to your computer and use it in GitHub Desktop.
bx_sku_pages.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? | |
array( | |
"CONDITION" => "#^/catalog/([a-z0-9-]+)/([a-z0-9-]+)/([a-z0-9-]+)/#", | |
"RULE" => "SECTION_CODE=$1&ELEMENT_CODE=$2&SKU_CODE=$3", | |
"ID" => "bitrix:catalog.element", | |
"PATH" => "/catalog/element_sku.php", | |
), | |
// with get params | |
array( | |
"CONDITION" => "#^/([a-z0-9-]+)/([A-Za-z0-9-]+)/([A-Za-z0-9-]+)/((\\?)*([\\.A-Za-z0-9-=])*)$#", | |
"RULE" => "SECTION_CODE=$1&ELEMENT_CODE=$2&SKU_CODE=$3", | |
"ID" => "bitrix:catalog.element", | |
"PATH" => "/catalog/element_sku.php", | |
), | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment