Hello. Please tell me how can I find the file responsible for the properties? The situation is such that on this page http: //purchase-trubu-spb.rf/products/1/41/ I need to change the structure, I need to on the pages of a detailed view of the goods there were no photos and other things. That there was only a description + price tags, as in the screenshot - http://radikal.ru/big/8ow4n39qq86gk . When I click on the page to look at the code, I see classes, about three that need to be commented out, but when I go through ftp, I just can’t find these files, files with these classes ..... Maybe someone has come across or knows the solution Problems....
2 answers
It's simple. Copy the item template, then edit it, here is the instruction - https://dev.1c-bitrix.ru/learning/course/index.php?COURSE_ID=43&CHAPTER_ID=04778&LESSON_PATH=3913.4565.4790.4778
|
Perhaps, the redirection in the root / urlrewrite.php file is configured. We need to find a rule that rewrites / products /, it says in which folder the main file is located.
If in the page code you see something like
<?$APPLICATION->IncludeComponent("bitrix:news.list", "reviews", Array( "IBLOCK_TYPE" => "news", // Тип инфоблока "IBLOCK_ID" => "5", // Инфоблок ...... and you are looking for where it is corrected, then the files that display this component on the page can be:
1. /bitrix/components/bitrix/news.list/templates/reviews (если вместо "reviews" стоит "", то .default) если там нет, то 2. /bitrix/templates/ название_вашго_шаблона_англ /components/bitrix/news.list/reviews если там нет, то 3. /bitrix/templates/ название_вашго_шаблона_англ /components/bitrix/news.list/reviews The file is called template.php.
There is also a local folder, but this is if some company has provided a ready-made site.
|