ingenerks Posted July 16, 2012 Share Posted July 16, 2012 Добрый день. Подскажиет как в категории, где идет краткое описание товара, вместо описание выводить характеристики товара. Тоесть вместо 1 выводить 2. Как на рисунке. Спасибо!!!! 1 Link to comment Share on other sites More sharing options... RGB Posted July 16, 2012 Share Posted July 16, 2012 Если вы характеристики храните в поле модель, то: В файле catalogcontrollerproductcategory.php добавить в районе 200 строки: 'model' => $result['model'], А потом в шаблоне вывода категории (catalogviewthemedefaulttemplateproductcategory.tpl) в нужном вам месте добавить <?php echo $product['model']; ?> Link to comment Share on other sites More sharing options... ingenerks Posted July 16, 2012 Author Share Posted July 16, 2012 Если вы характеристики храните в поле модель, то: В файле catalogcontrollerproductcategory.php добавить в районе 200 строки: 'model' => $result['model'], А потом в шаблоне вывода категории (catalogviewthemedefaulttemplateproductcategory.tpl) в нужном вам месте добавить <?php echo $product['model']; ?> Нет я не храню в поле модель. В том то и прикол, что нужно склеивать из поля характеристики и через слеш выводить их. То есть выводить каждый атрибут, потом через слеш новый атрибут и так все атрибуты которые встречаются в товаре. А какой смысл выводить краткое описание. Человеку важнее увидеть технические характеристики товара!!!! 1 Link to comment Share on other sites More sharing options... RGB Posted July 16, 2012 Share Posted July 16, 2012 И что мешает упростить задачу, используя поле модели, чтобы хранить эти характеристики там? Все равно модель товара указывается обычно в его названии, и получается бесполезное дублирование. Link to comment Share on other sites More sharing options... ingenerks Posted July 16, 2012 Author Share Posted July 16, 2012 И что мешает упростить задачу, используя поле модели, чтобы хранить эти характеристики там? Все равно модель товара указывается обычно в его названии, и получается бесполезное дублирование.Например при вводе товара на сайт вводится его описание. Оно есть у любого товара. Дальше забиваются атрибуты. Которые потом будут использоватся в фильтрации. Вот именно эти атрибуты нужно выносить вместо краткого описания товара. Так как на картинке. Link to comment Share on other sites More sharing options... ingenerks Posted July 16, 2012 Author Share Posted July 16, 2012 Уважаемые гуру помогите плиз!!!!! Link to comment Share on other sites More sharing options... freelancer Posted July 17, 2012 Share Posted July 17, 2012 catalog\controller\product\category.php, 199 'description' => utf8_substr(strip_tags(html_entity_decode($result['description'], ENT_QUOTES, 'UTF-8')), 0, 100) . '..', 'attribute_groups' => $this->model_catalog_product->getProductAttributes($result['product_id']), 'price' => $price, catalog\view\theme\default\template\product\category.tpl, 76 <div class="description"> <?php if($product['attribute_groups']) { ?> <table> <?php foreach($product['attribute_groups'] as $attribute_group) { ?> <thead><!--названия групп--> <tr> <td colspan="2"><?php echo $attribute_group['name']; ?></td> </tr> </thead><!----> <tbody> <?php foreach($attribute_group['attribute'] as $attribute) { ?> <tr> <td><?php echo $attribute['name']; ?></td> <td><?php echo $attribute['text']; ?></td> </tr> <?php } ?> </tbody> <?php } ?> </table> <?php } ?> </div> 9 Link to comment Share on other sites More sharing options... ingenerks Posted July 17, 2012 Author Share Posted July 17, 2012 catalogcontrollerproductcategory.php, 199 'description' => utf8_substr(strip_tags(html_entity_decode($result['description'], ENT_QUOTES, 'UTF-8')), 0, 100) . '..', 'attribute_groups' => $this->model_catalog_product->getProductAttributes($result['product_id']), 'price' => $price, catalogviewthemedefaulttemplateproductcategory.tpl, 76 <div class="description"> <?php if($product['attribute_groups']) { ?> <table> <?php foreach($product['attribute_groups'] as $attribute_group) { ?> <thead><!--названия групп--> <tr> <td colspan="2"><?php echo $attribute_group['name']; ?></td> </tr> </thead><!----> <tbody> <?php foreach($attribute_group['attribute'] as $attribute) { ?> <tr> <td><?php echo $attribute['name']; ?></td> <td><?php echo $attribute['text']; ?></td> </tr> <?php } ?> </tbody> <?php } ?> </table> <?php } ?> </div> Ура получилось спасибо. Единственный вопрос как выводить все в строчку и после каждого нового атрибута ставить разделитель слешь с пробьелами, что бы было такЭкран 11.6” (1366x768) LED, глянцевый / AMD Dual-Core E-450 (1.65 ГГц) / RAM 2 ГБ / HDD 500 ГБ / AMD Radeon HD 6320 / без ОДД / LAN / Wi-Fi / Bluetooth / веб-камера / DOS / 1 Link to comment Share on other sites More sharing options... Einshtein Posted July 18, 2012 Share Posted July 18, 2012 Ура получилось спасибо. Единственный вопрос как выводить все в строчку и после каждого нового атрибута ставить разделитель слешь с пробьелами, что бы было так Экран 11.6” (1366x768) LED, глянцевый / AMD Dual-Core E-450 (1.65 ГГц) / RAM 2 ГБ / HDD 500 ГБ / AMD Radeon HD 6320 / без ОДД / LAN / Wi-Fi / Bluetooth / веб-камера / DOS / catalogviewthemedefaulttemplateproductcategory.tpl, 76Заменяем этот код: <div class="description"> <?php if($product['attribute_groups']) { ?> <table> <?php foreach($product['attribute_groups'] as $attribute_group) { ?> <thead><!--названия групп--> <tr> <td colspan="2"><?php echo $attribute_group['name']; ?></td> </tr> </thead><!----> <tbody> <?php foreach($attribute_group['attribute'] as $attribute) { ?> <tr> <td><?php echo $attribute['name']; ?></td> <td><?php echo $attribute['text']; ?></td> </tr> <?php } ?> </tbody> <?php } ?> </table> <?php } ?> </div> на: <div class="description"> <?php if($product['attribute_groups']) { ?> <table> <?php foreach($product['attribute_groups'] as $attribute_group) { ?> <tbody> <?php foreach($attribute_group['attribute'] as $attribute) { ?> <tr> <?php echo $attribute['name']; ?> - <?php echo $attribute['text']; ?> <font color="#0000FF">|</font> </tr> <?php } ?> </tbody> <?php } ?> </table> <?php } ?> </div> Я сделал вертикальную разделительную палочку, мне кажется так органичней. И так же добавил стиль для этой палочки (синий цвет color="#0000FF"), чтобы было более заметно где заканчивается один атрибут и начинается другой.Так же убрал название груп характеристик Зы В ИЕ некрасиво получается. МБ ктонить поэкспериментирует и чёнить порекомендует? 2 Link to comment Share on other sites More sharing options... ingenerks Posted July 18, 2012 Author Share Posted July 18, 2012 Код что бы отображалось нормально в IE. <div class="description"> <?php if($product['attribute_groups']) { ?> <ul> <?php foreach($product['attribute_groups'] as $attribute_group) { ?> <tbody> <?php foreach($attribute_group['attribute'] as $attribute) { ?><?php echo $attribute['name']; ?> - <?php echo $attribute['text']; ?> <font color="#0000FF">|</font> <?php } ?> </tbody> <?php } ?> </ul> <?php } ?> </div> 1 Link to comment Share on other sites More sharing options... ingenerks Posted July 22, 2012 Author Share Posted July 22, 2012 Может кому то понадобится сделал vqmod atributs.xml 3 Link to comment Share on other sites More sharing options... 3 weeks later... fjeka Posted August 11, 2012 Share Posted August 11, 2012 Может кому то понадобится сделал vqmodНа версии 1.5.1.3 не работает.А можно сделать так чтобы при отображении сеткой атрибуты выводились в столбик как в модуле Product Display Settings ? Link to comment Share on other sites More sharing options... 2 months later... onyx Posted November 8, 2012 Share Posted November 8, 2012 Не подскажете как сделать что бы можно еще в это описание вывести наличие. Делаю по анологии - выскакивает ошибка. Посмотрел как это сделано в catalogcontrollerproductproduct.php там вывод с помощью следующего блока: if ($product_info['quantity'] <= 0) { $this->data['stock'] = $product_info['stock_status']; } elseif ($this->config->get('config_stock_display')) { $this->data['stock'] = $product_info['quantity']; } else { $this->data['stock'] = $this->language->get('text_instock'); } Но к catalogcontrollerproductcategory.php так подключить и не удалось. Помогите кто знает Link to comment Share on other sites More sharing options... ingenerks Posted November 8, 2012 Author Share Posted November 8, 2012 Не подскажете как сделать что бы можно еще в это описание вывести наличие. Делаю по анологии - выскакивает ошибка. Посмотрел как это сделано в catalogcontrollerproductproduct.php там вывод с помощью следующего блока: if ($product_info['quantity'] <= 0) { $this->data['stock'] = $product_info['stock_status']; } elseif ($this->config->get('config_stock_display')) { $this->data['stock'] = $product_info['quantity']; } else { $this->data['stock'] = $this->language->get('text_instock'); } Но к catalogcontrollerproductcategory.php так подключить и не удалось. Помогите кто знает https://opencartforum.com/topic/10263-%D0%BC%D0%BE%D0%B4%D1%83%D0%BB%D1%8C-%D0%B4%D0%BE%D0%B1%D0%B0%D0%B2%D0%BB%D1%8F%D0%B5%D1%82-%D0%B2%D0%BE%D0%B7%D0%BC%D0%BE%D0%B6%D0%BD%D0%BE%D1%81%D1%82%D1%8C-%D0%B2%D1%8B%D0%B1%D0%BE%D1%80%D0%B0-%D0%BA%D0%BE%D0%BB%D0%B8%D1%87%D0%B5%D1%81%D1%82%D0%B2/ тут описано Link to comment Share on other sites More sharing options... onyx Posted November 8, 2012 Share Posted November 8, 2012 Мне нужно НАЛИЧИЕ, тоесть что бы на странице категории в описании товара можно было вывести: "Есть в наличи", "Предзаказ" и тп. По анологии как это сделано в карточке товара Link to comment Share on other sites More sharing options... Einshtein Posted November 9, 2012 Share Posted November 9, 2012 Мне нужно НАЛИЧИЕ, тоесть что бы на странице категории в описании товара можно было вывести: "Есть в наличи", "Предзаказ" и тп. По анологии как это сделано в карточке товараэто легко делается...наличие ещё можно вывести на витрину по аналогии...вот ссылка на блог пользователя этого форума:http://rb.labtodo.com/page/opencart-151-vyvod-informacii-o-nalichii-pod-kartinkoj-v-kataloge-tovarov (не баньте) 1 Link to comment Share on other sites More sharing options... sv2109 Posted November 9, 2012 Share Posted November 9, 2012 Сделал вывод текстового блока с атрибутами отдельным модулем для тех, кому нужно более правильное и функциональное решение данной проблемы и не жалко за это заплатить 150 рублей. Почему лучше это делать модулем я немного описал в этом сообщении. 1 Link to comment Share on other sites More sharing options... 1 month later... TigerHunter777 Posted December 27, 2012 Share Posted December 27, 2012 Подскажите как из всех характеристик вывести одну если известен ее ID? Link to comment Share on other sites More sharing options... 2 weeks later... sholazar Posted January 8, 2013 Share Posted January 8, 2013 Подскажите как из всех характеристик вывести одну если известен ее ID? Исключить все ненужные. Я задавался этим вопросом тут РЕШЕНО Link to comment Share on other sites More sharing options... 2 weeks later... Rashpil Posted January 16, 2013 Share Posted January 16, 2013 Очень помогла данная тема Link to comment Share on other sites More sharing options... 2 weeks later... sbupravi Posted January 30, 2013 Share Posted January 30, 2013 А как вывести атрибуты в produсt.tpl (v 1.5.4.1)? Что-то никак не получается там сделать. Конкретно, в блоке <div class="description">, где модель, наличие...: <div class="description"> <?php if ($manufacturer) { ?> <span><?php echo $text_manufacturer; ?></span> <a href="<?php echo $manufacturers; ?>"><?php echo $manufacturer; ?></a><br /> <?php } ?> <span><?php echo $text_model; ?></span> <?php echo $model; ?><br /> <span><?php echo $text_reward; ?></span> <?php echo $reward; ?><br /> <span><?php echo $text_stock; ?></span> <?php echo $stock; ?></div> Link to comment Share on other sites More sharing options... sbupravi Posted January 30, 2013 Share Posted January 30, 2013 Никто не делал разве? Link to comment Share on other sites More sharing options... 2 months later... Juli Posted April 10, 2013 Share Posted April 10, 2013 А как вывести атрибуты в produсt.tpl (v 1.5.4.1)? Что-то никак не получается там сделать. Поддерживаю вопрос. 1.5.4.1 не работает. Кто нибудь решил? 1 Link to comment Share on other sites More sharing options... 2 weeks later... ReBurn Posted April 21, 2013 Share Posted April 21, 2013 Кто сделает это за деньгу? Писать ценник в личку Link to comment Share on other sites More sharing options... sv2109 Posted April 21, 2013 Share Posted April 21, 2013 Кто сделает это за деньгу? Писать ценник в личку Я буквально пару постов выше давал ссылку на готовый модуль https://opencartforum.com/files/file/693-tekstovyi-blok-s-atributami/ Link to comment Share on other sites More sharing options... Prev 1 2 3 4 5 6 Next Page 1 of 6 Create an account or sign in to comment You need to be a member in order to leave a comment Create an account Sign up for a new account in our community. It's easy! Register a new account Sign in Already have an account? Sign in here. Sign In Now Share More sharing options... Followers 2 Go to topic listing Similar Content Вывод паролей БД вместе с ошибкой By zhizherinv, September 8 3 replies 208 views WarStyle September 8 Дополнительное описание Категории By vier, January 16, 2018 описание категория 0 comments 9,822 views vier January 16, 2018 Attribute Category - Атрибуты категории By sv2109, January 21, 2016 атрибут атрибуты (and 3 more) Tagged with: атрибут атрибуты attribute фильтр категория 0 comments 16,198 views sv2109 January 21, 2016 Дополнительное Описание Категориям + Настройки By RoS, June 5, 2021 описание дополнительное описание (and 13 more) Tagged with: описание дополнительное описание категории описание категорий добавить дополнительный текст дополнительное описание категориям добавить текстовое поле добавить дополнительный html extra category description additional description categories additional description readmore read more подробнее читать далее 0 comments 5,039 views RoS June 5, 2021 вывод опций в карточку товара на страницу категорий By arromanus, September 7 0 replies 162 views arromanus September 7 Recently Browsing 0 members No registered users viewing this page. Последние темы Последние дополнения Последние новости All Activity Home Поддержка и ответы на вопросы Песочница Вывод атрибутов вместо описания в категориях Покупателям Оплата дополнений физическими лицами Оплата дополнений юридическими лицами Политика возвратов Разработчикам Регламент размещения дополнений Регламент продаж и поддержки дополнений Виртуальный аккаунт автора Политика продвижения объявлений API каталога дополнений Урегулирование споров по авторским правам Полезная информация Публичная оферта Политика возвратов Политика конфиденциальности Платежная политика Политика Передачи Персональных Данных Политика прозрачности Последние дополнения Monopay від Monobank Polia - By monopay All inclusive By octemplates Знак равно в цене опции товара By web_bond MonoPay оплата для Opencart - модуль для подключения эквайринга Monobank к Opencart By bogdan281989 footer cache By kJlukOo × Existing user? Sign In Sign Up Shopping section Back Purchased extensions Invoices Whishlist Alternative Contacts Forums News ocStore Back Official site Demo ocStore 3.0.3.2 Demo ocStore 2.3.0.2.4 Download ocStore Docs Release History Blogs Extensions Templates Back Free templates Paid templates Where to buy modules? Services FAQ OpenCart.Pro Back Demo Buy Compare × Create New... Important Information On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice. I accept
RGB Posted July 16, 2012 Share Posted July 16, 2012 Если вы характеристики храните в поле модель, то: В файле catalogcontrollerproductcategory.php добавить в районе 200 строки: 'model' => $result['model'], А потом в шаблоне вывода категории (catalogviewthemedefaulttemplateproductcategory.tpl) в нужном вам месте добавить <?php echo $product['model']; ?> Link to comment Share on other sites More sharing options... ingenerks Posted July 16, 2012 Author Share Posted July 16, 2012 Если вы характеристики храните в поле модель, то: В файле catalogcontrollerproductcategory.php добавить в районе 200 строки: 'model' => $result['model'], А потом в шаблоне вывода категории (catalogviewthemedefaulttemplateproductcategory.tpl) в нужном вам месте добавить <?php echo $product['model']; ?> Нет я не храню в поле модель. В том то и прикол, что нужно склеивать из поля характеристики и через слеш выводить их. То есть выводить каждый атрибут, потом через слеш новый атрибут и так все атрибуты которые встречаются в товаре. А какой смысл выводить краткое описание. Человеку важнее увидеть технические характеристики товара!!!! 1 Link to comment Share on other sites More sharing options... RGB Posted July 16, 2012 Share Posted July 16, 2012 И что мешает упростить задачу, используя поле модели, чтобы хранить эти характеристики там? Все равно модель товара указывается обычно в его названии, и получается бесполезное дублирование. Link to comment Share on other sites More sharing options... ingenerks Posted July 16, 2012 Author Share Posted July 16, 2012 И что мешает упростить задачу, используя поле модели, чтобы хранить эти характеристики там? Все равно модель товара указывается обычно в его названии, и получается бесполезное дублирование.Например при вводе товара на сайт вводится его описание. Оно есть у любого товара. Дальше забиваются атрибуты. Которые потом будут использоватся в фильтрации. Вот именно эти атрибуты нужно выносить вместо краткого описания товара. Так как на картинке. Link to comment Share on other sites More sharing options... ingenerks Posted July 16, 2012 Author Share Posted July 16, 2012 Уважаемые гуру помогите плиз!!!!! Link to comment Share on other sites More sharing options... freelancer Posted July 17, 2012 Share Posted July 17, 2012 catalog\controller\product\category.php, 199 'description' => utf8_substr(strip_tags(html_entity_decode($result['description'], ENT_QUOTES, 'UTF-8')), 0, 100) . '..', 'attribute_groups' => $this->model_catalog_product->getProductAttributes($result['product_id']), 'price' => $price, catalog\view\theme\default\template\product\category.tpl, 76 <div class="description"> <?php if($product['attribute_groups']) { ?> <table> <?php foreach($product['attribute_groups'] as $attribute_group) { ?> <thead><!--названия групп--> <tr> <td colspan="2"><?php echo $attribute_group['name']; ?></td> </tr> </thead><!----> <tbody> <?php foreach($attribute_group['attribute'] as $attribute) { ?> <tr> <td><?php echo $attribute['name']; ?></td> <td><?php echo $attribute['text']; ?></td> </tr> <?php } ?> </tbody> <?php } ?> </table> <?php } ?> </div> 9 Link to comment Share on other sites More sharing options... ingenerks Posted July 17, 2012 Author Share Posted July 17, 2012 catalogcontrollerproductcategory.php, 199 'description' => utf8_substr(strip_tags(html_entity_decode($result['description'], ENT_QUOTES, 'UTF-8')), 0, 100) . '..', 'attribute_groups' => $this->model_catalog_product->getProductAttributes($result['product_id']), 'price' => $price, catalogviewthemedefaulttemplateproductcategory.tpl, 76 <div class="description"> <?php if($product['attribute_groups']) { ?> <table> <?php foreach($product['attribute_groups'] as $attribute_group) { ?> <thead><!--названия групп--> <tr> <td colspan="2"><?php echo $attribute_group['name']; ?></td> </tr> </thead><!----> <tbody> <?php foreach($attribute_group['attribute'] as $attribute) { ?> <tr> <td><?php echo $attribute['name']; ?></td> <td><?php echo $attribute['text']; ?></td> </tr> <?php } ?> </tbody> <?php } ?> </table> <?php } ?> </div> Ура получилось спасибо. Единственный вопрос как выводить все в строчку и после каждого нового атрибута ставить разделитель слешь с пробьелами, что бы было такЭкран 11.6” (1366x768) LED, глянцевый / AMD Dual-Core E-450 (1.65 ГГц) / RAM 2 ГБ / HDD 500 ГБ / AMD Radeon HD 6320 / без ОДД / LAN / Wi-Fi / Bluetooth / веб-камера / DOS / 1 Link to comment Share on other sites More sharing options... Einshtein Posted July 18, 2012 Share Posted July 18, 2012 Ура получилось спасибо. Единственный вопрос как выводить все в строчку и после каждого нового атрибута ставить разделитель слешь с пробьелами, что бы было так Экран 11.6” (1366x768) LED, глянцевый / AMD Dual-Core E-450 (1.65 ГГц) / RAM 2 ГБ / HDD 500 ГБ / AMD Radeon HD 6320 / без ОДД / LAN / Wi-Fi / Bluetooth / веб-камера / DOS / catalogviewthemedefaulttemplateproductcategory.tpl, 76Заменяем этот код: <div class="description"> <?php if($product['attribute_groups']) { ?> <table> <?php foreach($product['attribute_groups'] as $attribute_group) { ?> <thead><!--названия групп--> <tr> <td colspan="2"><?php echo $attribute_group['name']; ?></td> </tr> </thead><!----> <tbody> <?php foreach($attribute_group['attribute'] as $attribute) { ?> <tr> <td><?php echo $attribute['name']; ?></td> <td><?php echo $attribute['text']; ?></td> </tr> <?php } ?> </tbody> <?php } ?> </table> <?php } ?> </div> на: <div class="description"> <?php if($product['attribute_groups']) { ?> <table> <?php foreach($product['attribute_groups'] as $attribute_group) { ?> <tbody> <?php foreach($attribute_group['attribute'] as $attribute) { ?> <tr> <?php echo $attribute['name']; ?> - <?php echo $attribute['text']; ?> <font color="#0000FF">|</font> </tr> <?php } ?> </tbody> <?php } ?> </table> <?php } ?> </div> Я сделал вертикальную разделительную палочку, мне кажется так органичней. И так же добавил стиль для этой палочки (синий цвет color="#0000FF"), чтобы было более заметно где заканчивается один атрибут и начинается другой.Так же убрал название груп характеристик Зы В ИЕ некрасиво получается. МБ ктонить поэкспериментирует и чёнить порекомендует? 2 Link to comment Share on other sites More sharing options... ingenerks Posted July 18, 2012 Author Share Posted July 18, 2012 Код что бы отображалось нормально в IE. <div class="description"> <?php if($product['attribute_groups']) { ?> <ul> <?php foreach($product['attribute_groups'] as $attribute_group) { ?> <tbody> <?php foreach($attribute_group['attribute'] as $attribute) { ?><?php echo $attribute['name']; ?> - <?php echo $attribute['text']; ?> <font color="#0000FF">|</font> <?php } ?> </tbody> <?php } ?> </ul> <?php } ?> </div> 1 Link to comment Share on other sites More sharing options... ingenerks Posted July 22, 2012 Author Share Posted July 22, 2012 Может кому то понадобится сделал vqmod atributs.xml 3 Link to comment Share on other sites More sharing options... 3 weeks later... fjeka Posted August 11, 2012 Share Posted August 11, 2012 Может кому то понадобится сделал vqmodНа версии 1.5.1.3 не работает.А можно сделать так чтобы при отображении сеткой атрибуты выводились в столбик как в модуле Product Display Settings ? Link to comment Share on other sites More sharing options... 2 months later... onyx Posted November 8, 2012 Share Posted November 8, 2012 Не подскажете как сделать что бы можно еще в это описание вывести наличие. Делаю по анологии - выскакивает ошибка. Посмотрел как это сделано в catalogcontrollerproductproduct.php там вывод с помощью следующего блока: if ($product_info['quantity'] <= 0) { $this->data['stock'] = $product_info['stock_status']; } elseif ($this->config->get('config_stock_display')) { $this->data['stock'] = $product_info['quantity']; } else { $this->data['stock'] = $this->language->get('text_instock'); } Но к catalogcontrollerproductcategory.php так подключить и не удалось. Помогите кто знает Link to comment Share on other sites More sharing options... ingenerks Posted November 8, 2012 Author Share Posted November 8, 2012 Не подскажете как сделать что бы можно еще в это описание вывести наличие. Делаю по анологии - выскакивает ошибка. Посмотрел как это сделано в catalogcontrollerproductproduct.php там вывод с помощью следующего блока: if ($product_info['quantity'] <= 0) { $this->data['stock'] = $product_info['stock_status']; } elseif ($this->config->get('config_stock_display')) { $this->data['stock'] = $product_info['quantity']; } else { $this->data['stock'] = $this->language->get('text_instock'); } Но к catalogcontrollerproductcategory.php так подключить и не удалось. Помогите кто знает https://opencartforum.com/topic/10263-%D0%BC%D0%BE%D0%B4%D1%83%D0%BB%D1%8C-%D0%B4%D0%BE%D0%B1%D0%B0%D0%B2%D0%BB%D1%8F%D0%B5%D1%82-%D0%B2%D0%BE%D0%B7%D0%BC%D0%BE%D0%B6%D0%BD%D0%BE%D1%81%D1%82%D1%8C-%D0%B2%D1%8B%D0%B1%D0%BE%D1%80%D0%B0-%D0%BA%D0%BE%D0%BB%D0%B8%D1%87%D0%B5%D1%81%D1%82%D0%B2/ тут описано Link to comment Share on other sites More sharing options... onyx Posted November 8, 2012 Share Posted November 8, 2012 Мне нужно НАЛИЧИЕ, тоесть что бы на странице категории в описании товара можно было вывести: "Есть в наличи", "Предзаказ" и тп. По анологии как это сделано в карточке товара Link to comment Share on other sites More sharing options... Einshtein Posted November 9, 2012 Share Posted November 9, 2012 Мне нужно НАЛИЧИЕ, тоесть что бы на странице категории в описании товара можно было вывести: "Есть в наличи", "Предзаказ" и тп. По анологии как это сделано в карточке товараэто легко делается...наличие ещё можно вывести на витрину по аналогии...вот ссылка на блог пользователя этого форума:http://rb.labtodo.com/page/opencart-151-vyvod-informacii-o-nalichii-pod-kartinkoj-v-kataloge-tovarov (не баньте) 1 Link to comment Share on other sites More sharing options... sv2109 Posted November 9, 2012 Share Posted November 9, 2012 Сделал вывод текстового блока с атрибутами отдельным модулем для тех, кому нужно более правильное и функциональное решение данной проблемы и не жалко за это заплатить 150 рублей. Почему лучше это делать модулем я немного описал в этом сообщении. 1 Link to comment Share on other sites More sharing options... 1 month later... TigerHunter777 Posted December 27, 2012 Share Posted December 27, 2012 Подскажите как из всех характеристик вывести одну если известен ее ID? Link to comment Share on other sites More sharing options... 2 weeks later... sholazar Posted January 8, 2013 Share Posted January 8, 2013 Подскажите как из всех характеристик вывести одну если известен ее ID? Исключить все ненужные. Я задавался этим вопросом тут РЕШЕНО Link to comment Share on other sites More sharing options... 2 weeks later... Rashpil Posted January 16, 2013 Share Posted January 16, 2013 Очень помогла данная тема Link to comment Share on other sites More sharing options... 2 weeks later... sbupravi Posted January 30, 2013 Share Posted January 30, 2013 А как вывести атрибуты в produсt.tpl (v 1.5.4.1)? Что-то никак не получается там сделать. Конкретно, в блоке <div class="description">, где модель, наличие...: <div class="description"> <?php if ($manufacturer) { ?> <span><?php echo $text_manufacturer; ?></span> <a href="<?php echo $manufacturers; ?>"><?php echo $manufacturer; ?></a><br /> <?php } ?> <span><?php echo $text_model; ?></span> <?php echo $model; ?><br /> <span><?php echo $text_reward; ?></span> <?php echo $reward; ?><br /> <span><?php echo $text_stock; ?></span> <?php echo $stock; ?></div> Link to comment Share on other sites More sharing options... sbupravi Posted January 30, 2013 Share Posted January 30, 2013 Никто не делал разве? Link to comment Share on other sites More sharing options... 2 months later... Juli Posted April 10, 2013 Share Posted April 10, 2013 А как вывести атрибуты в produсt.tpl (v 1.5.4.1)? Что-то никак не получается там сделать. Поддерживаю вопрос. 1.5.4.1 не работает. Кто нибудь решил? 1 Link to comment Share on other sites More sharing options... 2 weeks later... ReBurn Posted April 21, 2013 Share Posted April 21, 2013 Кто сделает это за деньгу? Писать ценник в личку Link to comment Share on other sites More sharing options... sv2109 Posted April 21, 2013 Share Posted April 21, 2013 Кто сделает это за деньгу? Писать ценник в личку Я буквально пару постов выше давал ссылку на готовый модуль https://opencartforum.com/files/file/693-tekstovyi-blok-s-atributami/ Link to comment Share on other sites More sharing options... Prev 1 2 3 4 5 6 Next Page 1 of 6 Create an account or sign in to comment You need to be a member in order to leave a comment Create an account Sign up for a new account in our community. It's easy! Register a new account Sign in Already have an account? Sign in here. Sign In Now Share More sharing options... Followers 2 Go to topic listing Similar Content Вывод паролей БД вместе с ошибкой By zhizherinv, September 8 3 replies 208 views WarStyle September 8 Дополнительное описание Категории By vier, January 16, 2018 описание категория 0 comments 9,822 views vier January 16, 2018 Attribute Category - Атрибуты категории By sv2109, January 21, 2016 атрибут атрибуты (and 3 more) Tagged with: атрибут атрибуты attribute фильтр категория 0 comments 16,198 views sv2109 January 21, 2016 Дополнительное Описание Категориям + Настройки By RoS, June 5, 2021 описание дополнительное описание (and 13 more) Tagged with: описание дополнительное описание категории описание категорий добавить дополнительный текст дополнительное описание категориям добавить текстовое поле добавить дополнительный html extra category description additional description categories additional description readmore read more подробнее читать далее 0 comments 5,039 views RoS June 5, 2021 вывод опций в карточку товара на страницу категорий By arromanus, September 7 0 replies 162 views arromanus September 7 Recently Browsing 0 members No registered users viewing this page. Последние темы Последние дополнения Последние новости All Activity Home Поддержка и ответы на вопросы Песочница Вывод атрибутов вместо описания в категориях Покупателям Оплата дополнений физическими лицами Оплата дополнений юридическими лицами Политика возвратов Разработчикам Регламент размещения дополнений Регламент продаж и поддержки дополнений Виртуальный аккаунт автора Политика продвижения объявлений API каталога дополнений Урегулирование споров по авторским правам Полезная информация Публичная оферта Политика возвратов Политика конфиденциальности Платежная политика Политика Передачи Персональных Данных Политика прозрачности Последние дополнения Monopay від Monobank Polia - By monopay All inclusive By octemplates Знак равно в цене опции товара By web_bond MonoPay оплата для Opencart - модуль для подключения эквайринга Monobank к Opencart By bogdan281989 footer cache By kJlukOo × Existing user? Sign In Sign Up Shopping section Back Purchased extensions Invoices Whishlist Alternative Contacts Forums News ocStore Back Official site Demo ocStore 3.0.3.2 Demo ocStore 2.3.0.2.4 Download ocStore Docs Release History Blogs Extensions Templates Back Free templates Paid templates Where to buy modules? Services FAQ OpenCart.Pro Back Demo Buy Compare × Create New... Important Information On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice. I accept
ingenerks Posted July 16, 2012 Author Share Posted July 16, 2012 Если вы характеристики храните в поле модель, то: В файле catalogcontrollerproductcategory.php добавить в районе 200 строки: 'model' => $result['model'], А потом в шаблоне вывода категории (catalogviewthemedefaulttemplateproductcategory.tpl) в нужном вам месте добавить <?php echo $product['model']; ?> Нет я не храню в поле модель. В том то и прикол, что нужно склеивать из поля характеристики и через слеш выводить их. То есть выводить каждый атрибут, потом через слеш новый атрибут и так все атрибуты которые встречаются в товаре. А какой смысл выводить краткое описание. Человеку важнее увидеть технические характеристики товара!!!! 1 Link to comment Share on other sites More sharing options... RGB Posted July 16, 2012 Share Posted July 16, 2012 И что мешает упростить задачу, используя поле модели, чтобы хранить эти характеристики там? Все равно модель товара указывается обычно в его названии, и получается бесполезное дублирование. Link to comment Share on other sites More sharing options... ingenerks Posted July 16, 2012 Author Share Posted July 16, 2012 И что мешает упростить задачу, используя поле модели, чтобы хранить эти характеристики там? Все равно модель товара указывается обычно в его названии, и получается бесполезное дублирование.Например при вводе товара на сайт вводится его описание. Оно есть у любого товара. Дальше забиваются атрибуты. Которые потом будут использоватся в фильтрации. Вот именно эти атрибуты нужно выносить вместо краткого описания товара. Так как на картинке. Link to comment Share on other sites More sharing options... ingenerks Posted July 16, 2012 Author Share Posted July 16, 2012 Уважаемые гуру помогите плиз!!!!! Link to comment Share on other sites More sharing options... freelancer Posted July 17, 2012 Share Posted July 17, 2012 catalog\controller\product\category.php, 199 'description' => utf8_substr(strip_tags(html_entity_decode($result['description'], ENT_QUOTES, 'UTF-8')), 0, 100) . '..', 'attribute_groups' => $this->model_catalog_product->getProductAttributes($result['product_id']), 'price' => $price, catalog\view\theme\default\template\product\category.tpl, 76 <div class="description"> <?php if($product['attribute_groups']) { ?> <table> <?php foreach($product['attribute_groups'] as $attribute_group) { ?> <thead><!--названия групп--> <tr> <td colspan="2"><?php echo $attribute_group['name']; ?></td> </tr> </thead><!----> <tbody> <?php foreach($attribute_group['attribute'] as $attribute) { ?> <tr> <td><?php echo $attribute['name']; ?></td> <td><?php echo $attribute['text']; ?></td> </tr> <?php } ?> </tbody> <?php } ?> </table> <?php } ?> </div> 9 Link to comment Share on other sites More sharing options... ingenerks Posted July 17, 2012 Author Share Posted July 17, 2012 catalogcontrollerproductcategory.php, 199 'description' => utf8_substr(strip_tags(html_entity_decode($result['description'], ENT_QUOTES, 'UTF-8')), 0, 100) . '..', 'attribute_groups' => $this->model_catalog_product->getProductAttributes($result['product_id']), 'price' => $price, catalogviewthemedefaulttemplateproductcategory.tpl, 76 <div class="description"> <?php if($product['attribute_groups']) { ?> <table> <?php foreach($product['attribute_groups'] as $attribute_group) { ?> <thead><!--названия групп--> <tr> <td colspan="2"><?php echo $attribute_group['name']; ?></td> </tr> </thead><!----> <tbody> <?php foreach($attribute_group['attribute'] as $attribute) { ?> <tr> <td><?php echo $attribute['name']; ?></td> <td><?php echo $attribute['text']; ?></td> </tr> <?php } ?> </tbody> <?php } ?> </table> <?php } ?> </div> Ура получилось спасибо. Единственный вопрос как выводить все в строчку и после каждого нового атрибута ставить разделитель слешь с пробьелами, что бы было такЭкран 11.6” (1366x768) LED, глянцевый / AMD Dual-Core E-450 (1.65 ГГц) / RAM 2 ГБ / HDD 500 ГБ / AMD Radeon HD 6320 / без ОДД / LAN / Wi-Fi / Bluetooth / веб-камера / DOS / 1 Link to comment Share on other sites More sharing options... Einshtein Posted July 18, 2012 Share Posted July 18, 2012 Ура получилось спасибо. Единственный вопрос как выводить все в строчку и после каждого нового атрибута ставить разделитель слешь с пробьелами, что бы было так Экран 11.6” (1366x768) LED, глянцевый / AMD Dual-Core E-450 (1.65 ГГц) / RAM 2 ГБ / HDD 500 ГБ / AMD Radeon HD 6320 / без ОДД / LAN / Wi-Fi / Bluetooth / веб-камера / DOS / catalogviewthemedefaulttemplateproductcategory.tpl, 76Заменяем этот код: <div class="description"> <?php if($product['attribute_groups']) { ?> <table> <?php foreach($product['attribute_groups'] as $attribute_group) { ?> <thead><!--названия групп--> <tr> <td colspan="2"><?php echo $attribute_group['name']; ?></td> </tr> </thead><!----> <tbody> <?php foreach($attribute_group['attribute'] as $attribute) { ?> <tr> <td><?php echo $attribute['name']; ?></td> <td><?php echo $attribute['text']; ?></td> </tr> <?php } ?> </tbody> <?php } ?> </table> <?php } ?> </div> на: <div class="description"> <?php if($product['attribute_groups']) { ?> <table> <?php foreach($product['attribute_groups'] as $attribute_group) { ?> <tbody> <?php foreach($attribute_group['attribute'] as $attribute) { ?> <tr> <?php echo $attribute['name']; ?> - <?php echo $attribute['text']; ?> <font color="#0000FF">|</font> </tr> <?php } ?> </tbody> <?php } ?> </table> <?php } ?> </div> Я сделал вертикальную разделительную палочку, мне кажется так органичней. И так же добавил стиль для этой палочки (синий цвет color="#0000FF"), чтобы было более заметно где заканчивается один атрибут и начинается другой.Так же убрал название груп характеристик Зы В ИЕ некрасиво получается. МБ ктонить поэкспериментирует и чёнить порекомендует? 2 Link to comment Share on other sites More sharing options... ingenerks Posted July 18, 2012 Author Share Posted July 18, 2012 Код что бы отображалось нормально в IE. <div class="description"> <?php if($product['attribute_groups']) { ?> <ul> <?php foreach($product['attribute_groups'] as $attribute_group) { ?> <tbody> <?php foreach($attribute_group['attribute'] as $attribute) { ?><?php echo $attribute['name']; ?> - <?php echo $attribute['text']; ?> <font color="#0000FF">|</font> <?php } ?> </tbody> <?php } ?> </ul> <?php } ?> </div> 1 Link to comment Share on other sites More sharing options... ingenerks Posted July 22, 2012 Author Share Posted July 22, 2012 Может кому то понадобится сделал vqmod atributs.xml 3 Link to comment Share on other sites More sharing options... 3 weeks later... fjeka Posted August 11, 2012 Share Posted August 11, 2012 Может кому то понадобится сделал vqmodНа версии 1.5.1.3 не работает.А можно сделать так чтобы при отображении сеткой атрибуты выводились в столбик как в модуле Product Display Settings ? Link to comment Share on other sites More sharing options... 2 months later... onyx Posted November 8, 2012 Share Posted November 8, 2012 Не подскажете как сделать что бы можно еще в это описание вывести наличие. Делаю по анологии - выскакивает ошибка. Посмотрел как это сделано в catalogcontrollerproductproduct.php там вывод с помощью следующего блока: if ($product_info['quantity'] <= 0) { $this->data['stock'] = $product_info['stock_status']; } elseif ($this->config->get('config_stock_display')) { $this->data['stock'] = $product_info['quantity']; } else { $this->data['stock'] = $this->language->get('text_instock'); } Но к catalogcontrollerproductcategory.php так подключить и не удалось. Помогите кто знает Link to comment Share on other sites More sharing options... ingenerks Posted November 8, 2012 Author Share Posted November 8, 2012 Не подскажете как сделать что бы можно еще в это описание вывести наличие. Делаю по анологии - выскакивает ошибка. Посмотрел как это сделано в catalogcontrollerproductproduct.php там вывод с помощью следующего блока: if ($product_info['quantity'] <= 0) { $this->data['stock'] = $product_info['stock_status']; } elseif ($this->config->get('config_stock_display')) { $this->data['stock'] = $product_info['quantity']; } else { $this->data['stock'] = $this->language->get('text_instock'); } Но к catalogcontrollerproductcategory.php так подключить и не удалось. Помогите кто знает https://opencartforum.com/topic/10263-%D0%BC%D0%BE%D0%B4%D1%83%D0%BB%D1%8C-%D0%B4%D0%BE%D0%B1%D0%B0%D0%B2%D0%BB%D1%8F%D0%B5%D1%82-%D0%B2%D0%BE%D0%B7%D0%BC%D0%BE%D0%B6%D0%BD%D0%BE%D1%81%D1%82%D1%8C-%D0%B2%D1%8B%D0%B1%D0%BE%D1%80%D0%B0-%D0%BA%D0%BE%D0%BB%D0%B8%D1%87%D0%B5%D1%81%D1%82%D0%B2/ тут описано Link to comment Share on other sites More sharing options... onyx Posted November 8, 2012 Share Posted November 8, 2012 Мне нужно НАЛИЧИЕ, тоесть что бы на странице категории в описании товара можно было вывести: "Есть в наличи", "Предзаказ" и тп. По анологии как это сделано в карточке товара Link to comment Share on other sites More sharing options... Einshtein Posted November 9, 2012 Share Posted November 9, 2012 Мне нужно НАЛИЧИЕ, тоесть что бы на странице категории в описании товара можно было вывести: "Есть в наличи", "Предзаказ" и тп. По анологии как это сделано в карточке товараэто легко делается...наличие ещё можно вывести на витрину по аналогии...вот ссылка на блог пользователя этого форума:http://rb.labtodo.com/page/opencart-151-vyvod-informacii-o-nalichii-pod-kartinkoj-v-kataloge-tovarov (не баньте) 1 Link to comment Share on other sites More sharing options... sv2109 Posted November 9, 2012 Share Posted November 9, 2012 Сделал вывод текстового блока с атрибутами отдельным модулем для тех, кому нужно более правильное и функциональное решение данной проблемы и не жалко за это заплатить 150 рублей. Почему лучше это делать модулем я немного описал в этом сообщении. 1 Link to comment Share on other sites More sharing options... 1 month later... TigerHunter777 Posted December 27, 2012 Share Posted December 27, 2012 Подскажите как из всех характеристик вывести одну если известен ее ID? Link to comment Share on other sites More sharing options... 2 weeks later... sholazar Posted January 8, 2013 Share Posted January 8, 2013 Подскажите как из всех характеристик вывести одну если известен ее ID? Исключить все ненужные. Я задавался этим вопросом тут РЕШЕНО Link to comment Share on other sites More sharing options... 2 weeks later... Rashpil Posted January 16, 2013 Share Posted January 16, 2013 Очень помогла данная тема Link to comment Share on other sites More sharing options... 2 weeks later... sbupravi Posted January 30, 2013 Share Posted January 30, 2013 А как вывести атрибуты в produсt.tpl (v 1.5.4.1)? Что-то никак не получается там сделать. Конкретно, в блоке <div class="description">, где модель, наличие...: <div class="description"> <?php if ($manufacturer) { ?> <span><?php echo $text_manufacturer; ?></span> <a href="<?php echo $manufacturers; ?>"><?php echo $manufacturer; ?></a><br /> <?php } ?> <span><?php echo $text_model; ?></span> <?php echo $model; ?><br /> <span><?php echo $text_reward; ?></span> <?php echo $reward; ?><br /> <span><?php echo $text_stock; ?></span> <?php echo $stock; ?></div> Link to comment Share on other sites More sharing options... sbupravi Posted January 30, 2013 Share Posted January 30, 2013 Никто не делал разве? Link to comment Share on other sites More sharing options... 2 months later... Juli Posted April 10, 2013 Share Posted April 10, 2013 А как вывести атрибуты в produсt.tpl (v 1.5.4.1)? Что-то никак не получается там сделать. Поддерживаю вопрос. 1.5.4.1 не работает. Кто нибудь решил? 1 Link to comment Share on other sites More sharing options... 2 weeks later... ReBurn Posted April 21, 2013 Share Posted April 21, 2013 Кто сделает это за деньгу? Писать ценник в личку Link to comment Share on other sites More sharing options... sv2109 Posted April 21, 2013 Share Posted April 21, 2013 Кто сделает это за деньгу? Писать ценник в личку Я буквально пару постов выше давал ссылку на готовый модуль https://opencartforum.com/files/file/693-tekstovyi-blok-s-atributami/ Link to comment Share on other sites More sharing options... Prev 1 2 3 4 5 6 Next Page 1 of 6 Create an account or sign in to comment You need to be a member in order to leave a comment Create an account Sign up for a new account in our community. It's easy! Register a new account Sign in Already have an account? Sign in here. Sign In Now Share More sharing options... Followers 2 Go to topic listing Similar Content Вывод паролей БД вместе с ошибкой By zhizherinv, September 8 3 replies 208 views WarStyle September 8 Дополнительное описание Категории By vier, January 16, 2018 описание категория 0 comments 9,822 views vier January 16, 2018 Attribute Category - Атрибуты категории By sv2109, January 21, 2016 атрибут атрибуты (and 3 more) Tagged with: атрибут атрибуты attribute фильтр категория 0 comments 16,198 views sv2109 January 21, 2016 Дополнительное Описание Категориям + Настройки By RoS, June 5, 2021 описание дополнительное описание (and 13 more) Tagged with: описание дополнительное описание категории описание категорий добавить дополнительный текст дополнительное описание категориям добавить текстовое поле добавить дополнительный html extra category description additional description categories additional description readmore read more подробнее читать далее 0 comments 5,039 views RoS June 5, 2021 вывод опций в карточку товара на страницу категорий By arromanus, September 7 0 replies 162 views arromanus September 7 Recently Browsing 0 members No registered users viewing this page. Последние темы Последние дополнения Последние новости All Activity Home Поддержка и ответы на вопросы Песочница Вывод атрибутов вместо описания в категориях Покупателям Оплата дополнений физическими лицами Оплата дополнений юридическими лицами Политика возвратов Разработчикам Регламент размещения дополнений Регламент продаж и поддержки дополнений Виртуальный аккаунт автора Политика продвижения объявлений API каталога дополнений Урегулирование споров по авторским правам Полезная информация Публичная оферта Политика возвратов Политика конфиденциальности Платежная политика Политика Передачи Персональных Данных Политика прозрачности Последние дополнения Monopay від Monobank Polia - By monopay All inclusive By octemplates Знак равно в цене опции товара By web_bond MonoPay оплата для Opencart - модуль для подключения эквайринга Monobank к Opencart By bogdan281989 footer cache By kJlukOo × Existing user? Sign In Sign Up Shopping section Back Purchased extensions Invoices Whishlist Alternative Contacts Forums News ocStore Back Official site Demo ocStore 3.0.3.2 Demo ocStore 2.3.0.2.4 Download ocStore Docs Release History Blogs Extensions Templates Back Free templates Paid templates Where to buy modules? Services FAQ OpenCart.Pro Back Demo Buy Compare × Create New... Important Information On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice. I accept
RGB Posted July 16, 2012 Share Posted July 16, 2012 И что мешает упростить задачу, используя поле модели, чтобы хранить эти характеристики там? Все равно модель товара указывается обычно в его названии, и получается бесполезное дублирование. Link to comment Share on other sites More sharing options... ingenerks Posted July 16, 2012 Author Share Posted July 16, 2012 И что мешает упростить задачу, используя поле модели, чтобы хранить эти характеристики там? Все равно модель товара указывается обычно в его названии, и получается бесполезное дублирование.Например при вводе товара на сайт вводится его описание. Оно есть у любого товара. Дальше забиваются атрибуты. Которые потом будут использоватся в фильтрации. Вот именно эти атрибуты нужно выносить вместо краткого описания товара. Так как на картинке. Link to comment Share on other sites More sharing options... ingenerks Posted July 16, 2012 Author Share Posted July 16, 2012 Уважаемые гуру помогите плиз!!!!! Link to comment Share on other sites More sharing options... freelancer Posted July 17, 2012 Share Posted July 17, 2012 catalog\controller\product\category.php, 199 'description' => utf8_substr(strip_tags(html_entity_decode($result['description'], ENT_QUOTES, 'UTF-8')), 0, 100) . '..', 'attribute_groups' => $this->model_catalog_product->getProductAttributes($result['product_id']), 'price' => $price, catalog\view\theme\default\template\product\category.tpl, 76 <div class="description"> <?php if($product['attribute_groups']) { ?> <table> <?php foreach($product['attribute_groups'] as $attribute_group) { ?> <thead><!--названия групп--> <tr> <td colspan="2"><?php echo $attribute_group['name']; ?></td> </tr> </thead><!----> <tbody> <?php foreach($attribute_group['attribute'] as $attribute) { ?> <tr> <td><?php echo $attribute['name']; ?></td> <td><?php echo $attribute['text']; ?></td> </tr> <?php } ?> </tbody> <?php } ?> </table> <?php } ?> </div> 9 Link to comment Share on other sites More sharing options... ingenerks Posted July 17, 2012 Author Share Posted July 17, 2012 catalogcontrollerproductcategory.php, 199 'description' => utf8_substr(strip_tags(html_entity_decode($result['description'], ENT_QUOTES, 'UTF-8')), 0, 100) . '..', 'attribute_groups' => $this->model_catalog_product->getProductAttributes($result['product_id']), 'price' => $price, catalogviewthemedefaulttemplateproductcategory.tpl, 76 <div class="description"> <?php if($product['attribute_groups']) { ?> <table> <?php foreach($product['attribute_groups'] as $attribute_group) { ?> <thead><!--названия групп--> <tr> <td colspan="2"><?php echo $attribute_group['name']; ?></td> </tr> </thead><!----> <tbody> <?php foreach($attribute_group['attribute'] as $attribute) { ?> <tr> <td><?php echo $attribute['name']; ?></td> <td><?php echo $attribute['text']; ?></td> </tr> <?php } ?> </tbody> <?php } ?> </table> <?php } ?> </div> Ура получилось спасибо. Единственный вопрос как выводить все в строчку и после каждого нового атрибута ставить разделитель слешь с пробьелами, что бы было такЭкран 11.6” (1366x768) LED, глянцевый / AMD Dual-Core E-450 (1.65 ГГц) / RAM 2 ГБ / HDD 500 ГБ / AMD Radeon HD 6320 / без ОДД / LAN / Wi-Fi / Bluetooth / веб-камера / DOS / 1 Link to comment Share on other sites More sharing options... Einshtein Posted July 18, 2012 Share Posted July 18, 2012 Ура получилось спасибо. Единственный вопрос как выводить все в строчку и после каждого нового атрибута ставить разделитель слешь с пробьелами, что бы было так Экран 11.6” (1366x768) LED, глянцевый / AMD Dual-Core E-450 (1.65 ГГц) / RAM 2 ГБ / HDD 500 ГБ / AMD Radeon HD 6320 / без ОДД / LAN / Wi-Fi / Bluetooth / веб-камера / DOS / catalogviewthemedefaulttemplateproductcategory.tpl, 76Заменяем этот код: <div class="description"> <?php if($product['attribute_groups']) { ?> <table> <?php foreach($product['attribute_groups'] as $attribute_group) { ?> <thead><!--названия групп--> <tr> <td colspan="2"><?php echo $attribute_group['name']; ?></td> </tr> </thead><!----> <tbody> <?php foreach($attribute_group['attribute'] as $attribute) { ?> <tr> <td><?php echo $attribute['name']; ?></td> <td><?php echo $attribute['text']; ?></td> </tr> <?php } ?> </tbody> <?php } ?> </table> <?php } ?> </div> на: <div class="description"> <?php if($product['attribute_groups']) { ?> <table> <?php foreach($product['attribute_groups'] as $attribute_group) { ?> <tbody> <?php foreach($attribute_group['attribute'] as $attribute) { ?> <tr> <?php echo $attribute['name']; ?> - <?php echo $attribute['text']; ?> <font color="#0000FF">|</font> </tr> <?php } ?> </tbody> <?php } ?> </table> <?php } ?> </div> Я сделал вертикальную разделительную палочку, мне кажется так органичней. И так же добавил стиль для этой палочки (синий цвет color="#0000FF"), чтобы было более заметно где заканчивается один атрибут и начинается другой.Так же убрал название груп характеристик Зы В ИЕ некрасиво получается. МБ ктонить поэкспериментирует и чёнить порекомендует? 2 Link to comment Share on other sites More sharing options... ingenerks Posted July 18, 2012 Author Share Posted July 18, 2012 Код что бы отображалось нормально в IE. <div class="description"> <?php if($product['attribute_groups']) { ?> <ul> <?php foreach($product['attribute_groups'] as $attribute_group) { ?> <tbody> <?php foreach($attribute_group['attribute'] as $attribute) { ?><?php echo $attribute['name']; ?> - <?php echo $attribute['text']; ?> <font color="#0000FF">|</font> <?php } ?> </tbody> <?php } ?> </ul> <?php } ?> </div> 1 Link to comment Share on other sites More sharing options... ingenerks Posted July 22, 2012 Author Share Posted July 22, 2012 Может кому то понадобится сделал vqmod atributs.xml 3 Link to comment Share on other sites More sharing options... 3 weeks later... fjeka Posted August 11, 2012 Share Posted August 11, 2012 Может кому то понадобится сделал vqmodНа версии 1.5.1.3 не работает.А можно сделать так чтобы при отображении сеткой атрибуты выводились в столбик как в модуле Product Display Settings ? Link to comment Share on other sites More sharing options... 2 months later... onyx Posted November 8, 2012 Share Posted November 8, 2012 Не подскажете как сделать что бы можно еще в это описание вывести наличие. Делаю по анологии - выскакивает ошибка. Посмотрел как это сделано в catalogcontrollerproductproduct.php там вывод с помощью следующего блока: if ($product_info['quantity'] <= 0) { $this->data['stock'] = $product_info['stock_status']; } elseif ($this->config->get('config_stock_display')) { $this->data['stock'] = $product_info['quantity']; } else { $this->data['stock'] = $this->language->get('text_instock'); } Но к catalogcontrollerproductcategory.php так подключить и не удалось. Помогите кто знает Link to comment Share on other sites More sharing options... ingenerks Posted November 8, 2012 Author Share Posted November 8, 2012 Не подскажете как сделать что бы можно еще в это описание вывести наличие. Делаю по анологии - выскакивает ошибка. Посмотрел как это сделано в catalogcontrollerproductproduct.php там вывод с помощью следующего блока: if ($product_info['quantity'] <= 0) { $this->data['stock'] = $product_info['stock_status']; } elseif ($this->config->get('config_stock_display')) { $this->data['stock'] = $product_info['quantity']; } else { $this->data['stock'] = $this->language->get('text_instock'); } Но к catalogcontrollerproductcategory.php так подключить и не удалось. Помогите кто знает https://opencartforum.com/topic/10263-%D0%BC%D0%BE%D0%B4%D1%83%D0%BB%D1%8C-%D0%B4%D0%BE%D0%B1%D0%B0%D0%B2%D0%BB%D1%8F%D0%B5%D1%82-%D0%B2%D0%BE%D0%B7%D0%BC%D0%BE%D0%B6%D0%BD%D0%BE%D1%81%D1%82%D1%8C-%D0%B2%D1%8B%D0%B1%D0%BE%D1%80%D0%B0-%D0%BA%D0%BE%D0%BB%D0%B8%D1%87%D0%B5%D1%81%D1%82%D0%B2/ тут описано Link to comment Share on other sites More sharing options... onyx Posted November 8, 2012 Share Posted November 8, 2012 Мне нужно НАЛИЧИЕ, тоесть что бы на странице категории в описании товара можно было вывести: "Есть в наличи", "Предзаказ" и тп. По анологии как это сделано в карточке товара Link to comment Share on other sites More sharing options... Einshtein Posted November 9, 2012 Share Posted November 9, 2012 Мне нужно НАЛИЧИЕ, тоесть что бы на странице категории в описании товара можно было вывести: "Есть в наличи", "Предзаказ" и тп. По анологии как это сделано в карточке товараэто легко делается...наличие ещё можно вывести на витрину по аналогии...вот ссылка на блог пользователя этого форума:http://rb.labtodo.com/page/opencart-151-vyvod-informacii-o-nalichii-pod-kartinkoj-v-kataloge-tovarov (не баньте) 1 Link to comment Share on other sites More sharing options... sv2109 Posted November 9, 2012 Share Posted November 9, 2012 Сделал вывод текстового блока с атрибутами отдельным модулем для тех, кому нужно более правильное и функциональное решение данной проблемы и не жалко за это заплатить 150 рублей. Почему лучше это делать модулем я немного описал в этом сообщении. 1 Link to comment Share on other sites More sharing options... 1 month later... TigerHunter777 Posted December 27, 2012 Share Posted December 27, 2012 Подскажите как из всех характеристик вывести одну если известен ее ID? Link to comment Share on other sites More sharing options... 2 weeks later... sholazar Posted January 8, 2013 Share Posted January 8, 2013 Подскажите как из всех характеристик вывести одну если известен ее ID? Исключить все ненужные. Я задавался этим вопросом тут РЕШЕНО Link to comment Share on other sites More sharing options... 2 weeks later... Rashpil Posted January 16, 2013 Share Posted January 16, 2013 Очень помогла данная тема Link to comment Share on other sites More sharing options... 2 weeks later... sbupravi Posted January 30, 2013 Share Posted January 30, 2013 А как вывести атрибуты в produсt.tpl (v 1.5.4.1)? Что-то никак не получается там сделать. Конкретно, в блоке <div class="description">, где модель, наличие...: <div class="description"> <?php if ($manufacturer) { ?> <span><?php echo $text_manufacturer; ?></span> <a href="<?php echo $manufacturers; ?>"><?php echo $manufacturer; ?></a><br /> <?php } ?> <span><?php echo $text_model; ?></span> <?php echo $model; ?><br /> <span><?php echo $text_reward; ?></span> <?php echo $reward; ?><br /> <span><?php echo $text_stock; ?></span> <?php echo $stock; ?></div> Link to comment Share on other sites More sharing options... sbupravi Posted January 30, 2013 Share Posted January 30, 2013 Никто не делал разве? Link to comment Share on other sites More sharing options... 2 months later... Juli Posted April 10, 2013 Share Posted April 10, 2013 А как вывести атрибуты в produсt.tpl (v 1.5.4.1)? Что-то никак не получается там сделать. Поддерживаю вопрос. 1.5.4.1 не работает. Кто нибудь решил? 1 Link to comment Share on other sites More sharing options... 2 weeks later... ReBurn Posted April 21, 2013 Share Posted April 21, 2013 Кто сделает это за деньгу? Писать ценник в личку Link to comment Share on other sites More sharing options... sv2109 Posted April 21, 2013 Share Posted April 21, 2013 Кто сделает это за деньгу? Писать ценник в личку Я буквально пару постов выше давал ссылку на готовый модуль https://opencartforum.com/files/file/693-tekstovyi-blok-s-atributami/ Link to comment Share on other sites More sharing options... Prev 1 2 3 4 5 6 Next Page 1 of 6 Create an account or sign in to comment You need to be a member in order to leave a comment Create an account Sign up for a new account in our community. It's easy! Register a new account Sign in Already have an account? Sign in here. Sign In Now Share More sharing options... Followers 2 Go to topic listing Similar Content Вывод паролей БД вместе с ошибкой By zhizherinv, September 8 3 replies 208 views WarStyle September 8 Дополнительное описание Категории By vier, January 16, 2018 описание категория 0 comments 9,822 views vier January 16, 2018 Attribute Category - Атрибуты категории By sv2109, January 21, 2016 атрибут атрибуты (and 3 more) Tagged with: атрибут атрибуты attribute фильтр категория 0 comments 16,198 views sv2109 January 21, 2016 Дополнительное Описание Категориям + Настройки By RoS, June 5, 2021 описание дополнительное описание (and 13 more) Tagged with: описание дополнительное описание категории описание категорий добавить дополнительный текст дополнительное описание категориям добавить текстовое поле добавить дополнительный html extra category description additional description categories additional description readmore read more подробнее читать далее 0 comments 5,039 views RoS June 5, 2021 вывод опций в карточку товара на страницу категорий By arromanus, September 7 0 replies 162 views arromanus September 7 Recently Browsing 0 members No registered users viewing this page. Последние темы Последние дополнения Последние новости All Activity Home Поддержка и ответы на вопросы Песочница Вывод атрибутов вместо описания в категориях Покупателям Оплата дополнений физическими лицами Оплата дополнений юридическими лицами Политика возвратов Разработчикам Регламент размещения дополнений Регламент продаж и поддержки дополнений Виртуальный аккаунт автора Политика продвижения объявлений API каталога дополнений Урегулирование споров по авторским правам Полезная информация Публичная оферта Политика возвратов Политика конфиденциальности Платежная политика Политика Передачи Персональных Данных Политика прозрачности Последние дополнения Monopay від Monobank Polia - By monopay All inclusive By octemplates Знак равно в цене опции товара By web_bond MonoPay оплата для Opencart - модуль для подключения эквайринга Monobank к Opencart By bogdan281989 footer cache By kJlukOo × Existing user? Sign In Sign Up Shopping section Back Purchased extensions Invoices Whishlist Alternative Contacts Forums News ocStore Back Official site Demo ocStore 3.0.3.2 Demo ocStore 2.3.0.2.4 Download ocStore Docs Release History Blogs Extensions Templates Back Free templates Paid templates Where to buy modules? Services FAQ OpenCart.Pro Back Demo Buy Compare × Create New... Important Information On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice. I accept
ingenerks Posted July 16, 2012 Author Share Posted July 16, 2012 И что мешает упростить задачу, используя поле модели, чтобы хранить эти характеристики там? Все равно модель товара указывается обычно в его названии, и получается бесполезное дублирование.Например при вводе товара на сайт вводится его описание. Оно есть у любого товара. Дальше забиваются атрибуты. Которые потом будут использоватся в фильтрации. Вот именно эти атрибуты нужно выносить вместо краткого описания товара. Так как на картинке. Link to comment Share on other sites More sharing options... ingenerks Posted July 16, 2012 Author Share Posted July 16, 2012 Уважаемые гуру помогите плиз!!!!! Link to comment Share on other sites More sharing options... freelancer Posted July 17, 2012 Share Posted July 17, 2012 catalog\controller\product\category.php, 199 'description' => utf8_substr(strip_tags(html_entity_decode($result['description'], ENT_QUOTES, 'UTF-8')), 0, 100) . '..', 'attribute_groups' => $this->model_catalog_product->getProductAttributes($result['product_id']), 'price' => $price, catalog\view\theme\default\template\product\category.tpl, 76 <div class="description"> <?php if($product['attribute_groups']) { ?> <table> <?php foreach($product['attribute_groups'] as $attribute_group) { ?> <thead><!--названия групп--> <tr> <td colspan="2"><?php echo $attribute_group['name']; ?></td> </tr> </thead><!----> <tbody> <?php foreach($attribute_group['attribute'] as $attribute) { ?> <tr> <td><?php echo $attribute['name']; ?></td> <td><?php echo $attribute['text']; ?></td> </tr> <?php } ?> </tbody> <?php } ?> </table> <?php } ?> </div> 9 Link to comment Share on other sites More sharing options... ingenerks Posted July 17, 2012 Author Share Posted July 17, 2012 catalogcontrollerproductcategory.php, 199 'description' => utf8_substr(strip_tags(html_entity_decode($result['description'], ENT_QUOTES, 'UTF-8')), 0, 100) . '..', 'attribute_groups' => $this->model_catalog_product->getProductAttributes($result['product_id']), 'price' => $price, catalogviewthemedefaulttemplateproductcategory.tpl, 76 <div class="description"> <?php if($product['attribute_groups']) { ?> <table> <?php foreach($product['attribute_groups'] as $attribute_group) { ?> <thead><!--названия групп--> <tr> <td colspan="2"><?php echo $attribute_group['name']; ?></td> </tr> </thead><!----> <tbody> <?php foreach($attribute_group['attribute'] as $attribute) { ?> <tr> <td><?php echo $attribute['name']; ?></td> <td><?php echo $attribute['text']; ?></td> </tr> <?php } ?> </tbody> <?php } ?> </table> <?php } ?> </div> Ура получилось спасибо. Единственный вопрос как выводить все в строчку и после каждого нового атрибута ставить разделитель слешь с пробьелами, что бы было такЭкран 11.6” (1366x768) LED, глянцевый / AMD Dual-Core E-450 (1.65 ГГц) / RAM 2 ГБ / HDD 500 ГБ / AMD Radeon HD 6320 / без ОДД / LAN / Wi-Fi / Bluetooth / веб-камера / DOS / 1 Link to comment Share on other sites More sharing options... Einshtein Posted July 18, 2012 Share Posted July 18, 2012 Ура получилось спасибо. Единственный вопрос как выводить все в строчку и после каждого нового атрибута ставить разделитель слешь с пробьелами, что бы было так Экран 11.6” (1366x768) LED, глянцевый / AMD Dual-Core E-450 (1.65 ГГц) / RAM 2 ГБ / HDD 500 ГБ / AMD Radeon HD 6320 / без ОДД / LAN / Wi-Fi / Bluetooth / веб-камера / DOS / catalogviewthemedefaulttemplateproductcategory.tpl, 76Заменяем этот код: <div class="description"> <?php if($product['attribute_groups']) { ?> <table> <?php foreach($product['attribute_groups'] as $attribute_group) { ?> <thead><!--названия групп--> <tr> <td colspan="2"><?php echo $attribute_group['name']; ?></td> </tr> </thead><!----> <tbody> <?php foreach($attribute_group['attribute'] as $attribute) { ?> <tr> <td><?php echo $attribute['name']; ?></td> <td><?php echo $attribute['text']; ?></td> </tr> <?php } ?> </tbody> <?php } ?> </table> <?php } ?> </div> на: <div class="description"> <?php if($product['attribute_groups']) { ?> <table> <?php foreach($product['attribute_groups'] as $attribute_group) { ?> <tbody> <?php foreach($attribute_group['attribute'] as $attribute) { ?> <tr> <?php echo $attribute['name']; ?> - <?php echo $attribute['text']; ?> <font color="#0000FF">|</font> </tr> <?php } ?> </tbody> <?php } ?> </table> <?php } ?> </div> Я сделал вертикальную разделительную палочку, мне кажется так органичней. И так же добавил стиль для этой палочки (синий цвет color="#0000FF"), чтобы было более заметно где заканчивается один атрибут и начинается другой.Так же убрал название груп характеристик Зы В ИЕ некрасиво получается. МБ ктонить поэкспериментирует и чёнить порекомендует? 2 Link to comment Share on other sites More sharing options... ingenerks Posted July 18, 2012 Author Share Posted July 18, 2012 Код что бы отображалось нормально в IE. <div class="description"> <?php if($product['attribute_groups']) { ?> <ul> <?php foreach($product['attribute_groups'] as $attribute_group) { ?> <tbody> <?php foreach($attribute_group['attribute'] as $attribute) { ?><?php echo $attribute['name']; ?> - <?php echo $attribute['text']; ?> <font color="#0000FF">|</font> <?php } ?> </tbody> <?php } ?> </ul> <?php } ?> </div> 1 Link to comment Share on other sites More sharing options... ingenerks Posted July 22, 2012 Author Share Posted July 22, 2012 Может кому то понадобится сделал vqmod atributs.xml 3 Link to comment Share on other sites More sharing options... 3 weeks later... fjeka Posted August 11, 2012 Share Posted August 11, 2012 Может кому то понадобится сделал vqmodНа версии 1.5.1.3 не работает.А можно сделать так чтобы при отображении сеткой атрибуты выводились в столбик как в модуле Product Display Settings ? Link to comment Share on other sites More sharing options... 2 months later... onyx Posted November 8, 2012 Share Posted November 8, 2012 Не подскажете как сделать что бы можно еще в это описание вывести наличие. Делаю по анологии - выскакивает ошибка. Посмотрел как это сделано в catalogcontrollerproductproduct.php там вывод с помощью следующего блока: if ($product_info['quantity'] <= 0) { $this->data['stock'] = $product_info['stock_status']; } elseif ($this->config->get('config_stock_display')) { $this->data['stock'] = $product_info['quantity']; } else { $this->data['stock'] = $this->language->get('text_instock'); } Но к catalogcontrollerproductcategory.php так подключить и не удалось. Помогите кто знает Link to comment Share on other sites More sharing options... ingenerks Posted November 8, 2012 Author Share Posted November 8, 2012 Не подскажете как сделать что бы можно еще в это описание вывести наличие. Делаю по анологии - выскакивает ошибка. Посмотрел как это сделано в catalogcontrollerproductproduct.php там вывод с помощью следующего блока: if ($product_info['quantity'] <= 0) { $this->data['stock'] = $product_info['stock_status']; } elseif ($this->config->get('config_stock_display')) { $this->data['stock'] = $product_info['quantity']; } else { $this->data['stock'] = $this->language->get('text_instock'); } Но к catalogcontrollerproductcategory.php так подключить и не удалось. Помогите кто знает https://opencartforum.com/topic/10263-%D0%BC%D0%BE%D0%B4%D1%83%D0%BB%D1%8C-%D0%B4%D0%BE%D0%B1%D0%B0%D0%B2%D0%BB%D1%8F%D0%B5%D1%82-%D0%B2%D0%BE%D0%B7%D0%BC%D0%BE%D0%B6%D0%BD%D0%BE%D1%81%D1%82%D1%8C-%D0%B2%D1%8B%D0%B1%D0%BE%D1%80%D0%B0-%D0%BA%D0%BE%D0%BB%D0%B8%D1%87%D0%B5%D1%81%D1%82%D0%B2/ тут описано Link to comment Share on other sites More sharing options... onyx Posted November 8, 2012 Share Posted November 8, 2012 Мне нужно НАЛИЧИЕ, тоесть что бы на странице категории в описании товара можно было вывести: "Есть в наличи", "Предзаказ" и тп. По анологии как это сделано в карточке товара Link to comment Share on other sites More sharing options... Einshtein Posted November 9, 2012 Share Posted November 9, 2012 Мне нужно НАЛИЧИЕ, тоесть что бы на странице категории в описании товара можно было вывести: "Есть в наличи", "Предзаказ" и тп. По анологии как это сделано в карточке товараэто легко делается...наличие ещё можно вывести на витрину по аналогии...вот ссылка на блог пользователя этого форума:http://rb.labtodo.com/page/opencart-151-vyvod-informacii-o-nalichii-pod-kartinkoj-v-kataloge-tovarov (не баньте) 1 Link to comment Share on other sites More sharing options... sv2109 Posted November 9, 2012 Share Posted November 9, 2012 Сделал вывод текстового блока с атрибутами отдельным модулем для тех, кому нужно более правильное и функциональное решение данной проблемы и не жалко за это заплатить 150 рублей. Почему лучше это делать модулем я немного описал в этом сообщении. 1 Link to comment Share on other sites More sharing options... 1 month later... TigerHunter777 Posted December 27, 2012 Share Posted December 27, 2012 Подскажите как из всех характеристик вывести одну если известен ее ID? Link to comment Share on other sites More sharing options... 2 weeks later... sholazar Posted January 8, 2013 Share Posted January 8, 2013 Подскажите как из всех характеристик вывести одну если известен ее ID? Исключить все ненужные. Я задавался этим вопросом тут РЕШЕНО Link to comment Share on other sites More sharing options... 2 weeks later... Rashpil Posted January 16, 2013 Share Posted January 16, 2013 Очень помогла данная тема Link to comment Share on other sites More sharing options... 2 weeks later... sbupravi Posted January 30, 2013 Share Posted January 30, 2013 А как вывести атрибуты в produсt.tpl (v 1.5.4.1)? Что-то никак не получается там сделать. Конкретно, в блоке <div class="description">, где модель, наличие...: <div class="description"> <?php if ($manufacturer) { ?> <span><?php echo $text_manufacturer; ?></span> <a href="<?php echo $manufacturers; ?>"><?php echo $manufacturer; ?></a><br /> <?php } ?> <span><?php echo $text_model; ?></span> <?php echo $model; ?><br /> <span><?php echo $text_reward; ?></span> <?php echo $reward; ?><br /> <span><?php echo $text_stock; ?></span> <?php echo $stock; ?></div> Link to comment Share on other sites More sharing options... sbupravi Posted January 30, 2013 Share Posted January 30, 2013 Никто не делал разве? Link to comment Share on other sites More sharing options... 2 months later... Juli Posted April 10, 2013 Share Posted April 10, 2013 А как вывести атрибуты в produсt.tpl (v 1.5.4.1)? Что-то никак не получается там сделать. Поддерживаю вопрос. 1.5.4.1 не работает. Кто нибудь решил? 1 Link to comment Share on other sites More sharing options... 2 weeks later... ReBurn Posted April 21, 2013 Share Posted April 21, 2013 Кто сделает это за деньгу? Писать ценник в личку Link to comment Share on other sites More sharing options... sv2109 Posted April 21, 2013 Share Posted April 21, 2013 Кто сделает это за деньгу? Писать ценник в личку Я буквально пару постов выше давал ссылку на готовый модуль https://opencartforum.com/files/file/693-tekstovyi-blok-s-atributami/ Link to comment Share on other sites More sharing options... Prev 1 2 3 4 5 6 Next Page 1 of 6 Create an account or sign in to comment You need to be a member in order to leave a comment Create an account Sign up for a new account in our community. It's easy! Register a new account Sign in Already have an account? Sign in here. Sign In Now Share More sharing options... Followers 2 Go to topic listing Similar Content Вывод паролей БД вместе с ошибкой By zhizherinv, September 8 3 replies 208 views WarStyle September 8 Дополнительное описание Категории By vier, January 16, 2018 описание категория 0 comments 9,822 views vier January 16, 2018 Attribute Category - Атрибуты категории By sv2109, January 21, 2016 атрибут атрибуты (and 3 more) Tagged with: атрибут атрибуты attribute фильтр категория 0 comments 16,198 views sv2109 January 21, 2016 Дополнительное Описание Категориям + Настройки By RoS, June 5, 2021 описание дополнительное описание (and 13 more) Tagged with: описание дополнительное описание категории описание категорий добавить дополнительный текст дополнительное описание категориям добавить текстовое поле добавить дополнительный html extra category description additional description categories additional description readmore read more подробнее читать далее 0 comments 5,039 views RoS June 5, 2021 вывод опций в карточку товара на страницу категорий By arromanus, September 7 0 replies 162 views arromanus September 7 Recently Browsing 0 members No registered users viewing this page. Последние темы Последние дополнения Последние новости All Activity Home Поддержка и ответы на вопросы Песочница Вывод атрибутов вместо описания в категориях Покупателям Оплата дополнений физическими лицами Оплата дополнений юридическими лицами Политика возвратов Разработчикам Регламент размещения дополнений Регламент продаж и поддержки дополнений Виртуальный аккаунт автора Политика продвижения объявлений API каталога дополнений Урегулирование споров по авторским правам Полезная информация Публичная оферта Политика возвратов Политика конфиденциальности Платежная политика Политика Передачи Персональных Данных Политика прозрачности Последние дополнения Monopay від Monobank Polia - By monopay All inclusive By octemplates Знак равно в цене опции товара By web_bond MonoPay оплата для Opencart - модуль для подключения эквайринга Monobank к Opencart By bogdan281989 footer cache By kJlukOo × Existing user? Sign In Sign Up Shopping section Back Purchased extensions Invoices Whishlist Alternative Contacts Forums News ocStore Back Official site Demo ocStore 3.0.3.2 Demo ocStore 2.3.0.2.4 Download ocStore Docs Release History Blogs Extensions Templates Back Free templates Paid templates Where to buy modules? Services FAQ OpenCart.Pro Back Demo Buy Compare × Create New... Important Information On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice. I accept
ingenerks Posted July 16, 2012 Author Share Posted July 16, 2012 Уважаемые гуру помогите плиз!!!!! Link to comment Share on other sites More sharing options... freelancer Posted July 17, 2012 Share Posted July 17, 2012 catalog\controller\product\category.php, 199 'description' => utf8_substr(strip_tags(html_entity_decode($result['description'], ENT_QUOTES, 'UTF-8')), 0, 100) . '..', 'attribute_groups' => $this->model_catalog_product->getProductAttributes($result['product_id']), 'price' => $price, catalog\view\theme\default\template\product\category.tpl, 76 <div class="description"> <?php if($product['attribute_groups']) { ?> <table> <?php foreach($product['attribute_groups'] as $attribute_group) { ?> <thead><!--названия групп--> <tr> <td colspan="2"><?php echo $attribute_group['name']; ?></td> </tr> </thead><!----> <tbody> <?php foreach($attribute_group['attribute'] as $attribute) { ?> <tr> <td><?php echo $attribute['name']; ?></td> <td><?php echo $attribute['text']; ?></td> </tr> <?php } ?> </tbody> <?php } ?> </table> <?php } ?> </div> 9 Link to comment Share on other sites More sharing options... ingenerks Posted July 17, 2012 Author Share Posted July 17, 2012 catalogcontrollerproductcategory.php, 199 'description' => utf8_substr(strip_tags(html_entity_decode($result['description'], ENT_QUOTES, 'UTF-8')), 0, 100) . '..', 'attribute_groups' => $this->model_catalog_product->getProductAttributes($result['product_id']), 'price' => $price, catalogviewthemedefaulttemplateproductcategory.tpl, 76 <div class="description"> <?php if($product['attribute_groups']) { ?> <table> <?php foreach($product['attribute_groups'] as $attribute_group) { ?> <thead><!--названия групп--> <tr> <td colspan="2"><?php echo $attribute_group['name']; ?></td> </tr> </thead><!----> <tbody> <?php foreach($attribute_group['attribute'] as $attribute) { ?> <tr> <td><?php echo $attribute['name']; ?></td> <td><?php echo $attribute['text']; ?></td> </tr> <?php } ?> </tbody> <?php } ?> </table> <?php } ?> </div> Ура получилось спасибо. Единственный вопрос как выводить все в строчку и после каждого нового атрибута ставить разделитель слешь с пробьелами, что бы было такЭкран 11.6” (1366x768) LED, глянцевый / AMD Dual-Core E-450 (1.65 ГГц) / RAM 2 ГБ / HDD 500 ГБ / AMD Radeon HD 6320 / без ОДД / LAN / Wi-Fi / Bluetooth / веб-камера / DOS / 1 Link to comment Share on other sites More sharing options... Einshtein Posted July 18, 2012 Share Posted July 18, 2012 Ура получилось спасибо. Единственный вопрос как выводить все в строчку и после каждого нового атрибута ставить разделитель слешь с пробьелами, что бы было так Экран 11.6” (1366x768) LED, глянцевый / AMD Dual-Core E-450 (1.65 ГГц) / RAM 2 ГБ / HDD 500 ГБ / AMD Radeon HD 6320 / без ОДД / LAN / Wi-Fi / Bluetooth / веб-камера / DOS / catalogviewthemedefaulttemplateproductcategory.tpl, 76Заменяем этот код: <div class="description"> <?php if($product['attribute_groups']) { ?> <table> <?php foreach($product['attribute_groups'] as $attribute_group) { ?> <thead><!--названия групп--> <tr> <td colspan="2"><?php echo $attribute_group['name']; ?></td> </tr> </thead><!----> <tbody> <?php foreach($attribute_group['attribute'] as $attribute) { ?> <tr> <td><?php echo $attribute['name']; ?></td> <td><?php echo $attribute['text']; ?></td> </tr> <?php } ?> </tbody> <?php } ?> </table> <?php } ?> </div> на: <div class="description"> <?php if($product['attribute_groups']) { ?> <table> <?php foreach($product['attribute_groups'] as $attribute_group) { ?> <tbody> <?php foreach($attribute_group['attribute'] as $attribute) { ?> <tr> <?php echo $attribute['name']; ?> - <?php echo $attribute['text']; ?> <font color="#0000FF">|</font> </tr> <?php } ?> </tbody> <?php } ?> </table> <?php } ?> </div> Я сделал вертикальную разделительную палочку, мне кажется так органичней. И так же добавил стиль для этой палочки (синий цвет color="#0000FF"), чтобы было более заметно где заканчивается один атрибут и начинается другой.Так же убрал название груп характеристик Зы В ИЕ некрасиво получается. МБ ктонить поэкспериментирует и чёнить порекомендует? 2 Link to comment Share on other sites More sharing options... ingenerks Posted July 18, 2012 Author Share Posted July 18, 2012 Код что бы отображалось нормально в IE. <div class="description"> <?php if($product['attribute_groups']) { ?> <ul> <?php foreach($product['attribute_groups'] as $attribute_group) { ?> <tbody> <?php foreach($attribute_group['attribute'] as $attribute) { ?><?php echo $attribute['name']; ?> - <?php echo $attribute['text']; ?> <font color="#0000FF">|</font> <?php } ?> </tbody> <?php } ?> </ul> <?php } ?> </div> 1 Link to comment Share on other sites More sharing options... ingenerks Posted July 22, 2012 Author Share Posted July 22, 2012 Может кому то понадобится сделал vqmod atributs.xml 3 Link to comment Share on other sites More sharing options... 3 weeks later... fjeka Posted August 11, 2012 Share Posted August 11, 2012 Может кому то понадобится сделал vqmodНа версии 1.5.1.3 не работает.А можно сделать так чтобы при отображении сеткой атрибуты выводились в столбик как в модуле Product Display Settings ? Link to comment Share on other sites More sharing options... 2 months later... onyx Posted November 8, 2012 Share Posted November 8, 2012 Не подскажете как сделать что бы можно еще в это описание вывести наличие. Делаю по анологии - выскакивает ошибка. Посмотрел как это сделано в catalogcontrollerproductproduct.php там вывод с помощью следующего блока: if ($product_info['quantity'] <= 0) { $this->data['stock'] = $product_info['stock_status']; } elseif ($this->config->get('config_stock_display')) { $this->data['stock'] = $product_info['quantity']; } else { $this->data['stock'] = $this->language->get('text_instock'); } Но к catalogcontrollerproductcategory.php так подключить и не удалось. Помогите кто знает Link to comment Share on other sites More sharing options... ingenerks Posted November 8, 2012 Author Share Posted November 8, 2012 Не подскажете как сделать что бы можно еще в это описание вывести наличие. Делаю по анологии - выскакивает ошибка. Посмотрел как это сделано в catalogcontrollerproductproduct.php там вывод с помощью следующего блока: if ($product_info['quantity'] <= 0) { $this->data['stock'] = $product_info['stock_status']; } elseif ($this->config->get('config_stock_display')) { $this->data['stock'] = $product_info['quantity']; } else { $this->data['stock'] = $this->language->get('text_instock'); } Но к catalogcontrollerproductcategory.php так подключить и не удалось. Помогите кто знает https://opencartforum.com/topic/10263-%D0%BC%D0%BE%D0%B4%D1%83%D0%BB%D1%8C-%D0%B4%D0%BE%D0%B1%D0%B0%D0%B2%D0%BB%D1%8F%D0%B5%D1%82-%D0%B2%D0%BE%D0%B7%D0%BC%D0%BE%D0%B6%D0%BD%D0%BE%D1%81%D1%82%D1%8C-%D0%B2%D1%8B%D0%B1%D0%BE%D1%80%D0%B0-%D0%BA%D0%BE%D0%BB%D0%B8%D1%87%D0%B5%D1%81%D1%82%D0%B2/ тут описано Link to comment Share on other sites More sharing options... onyx Posted November 8, 2012 Share Posted November 8, 2012 Мне нужно НАЛИЧИЕ, тоесть что бы на странице категории в описании товара можно было вывести: "Есть в наличи", "Предзаказ" и тп. По анологии как это сделано в карточке товара Link to comment Share on other sites More sharing options... Einshtein Posted November 9, 2012 Share Posted November 9, 2012 Мне нужно НАЛИЧИЕ, тоесть что бы на странице категории в описании товара можно было вывести: "Есть в наличи", "Предзаказ" и тп. По анологии как это сделано в карточке товараэто легко делается...наличие ещё можно вывести на витрину по аналогии...вот ссылка на блог пользователя этого форума:http://rb.labtodo.com/page/opencart-151-vyvod-informacii-o-nalichii-pod-kartinkoj-v-kataloge-tovarov (не баньте) 1 Link to comment Share on other sites More sharing options... sv2109 Posted November 9, 2012 Share Posted November 9, 2012 Сделал вывод текстового блока с атрибутами отдельным модулем для тех, кому нужно более правильное и функциональное решение данной проблемы и не жалко за это заплатить 150 рублей. Почему лучше это делать модулем я немного описал в этом сообщении. 1 Link to comment Share on other sites More sharing options... 1 month later... TigerHunter777 Posted December 27, 2012 Share Posted December 27, 2012 Подскажите как из всех характеристик вывести одну если известен ее ID? Link to comment Share on other sites More sharing options... 2 weeks later... sholazar Posted January 8, 2013 Share Posted January 8, 2013 Подскажите как из всех характеристик вывести одну если известен ее ID? Исключить все ненужные. Я задавался этим вопросом тут РЕШЕНО Link to comment Share on other sites More sharing options... 2 weeks later... Rashpil Posted January 16, 2013 Share Posted January 16, 2013 Очень помогла данная тема Link to comment Share on other sites More sharing options... 2 weeks later... sbupravi Posted January 30, 2013 Share Posted January 30, 2013 А как вывести атрибуты в produсt.tpl (v 1.5.4.1)? Что-то никак не получается там сделать. Конкретно, в блоке <div class="description">, где модель, наличие...: <div class="description"> <?php if ($manufacturer) { ?> <span><?php echo $text_manufacturer; ?></span> <a href="<?php echo $manufacturers; ?>"><?php echo $manufacturer; ?></a><br /> <?php } ?> <span><?php echo $text_model; ?></span> <?php echo $model; ?><br /> <span><?php echo $text_reward; ?></span> <?php echo $reward; ?><br /> <span><?php echo $text_stock; ?></span> <?php echo $stock; ?></div> Link to comment Share on other sites More sharing options... sbupravi Posted January 30, 2013 Share Posted January 30, 2013 Никто не делал разве? Link to comment Share on other sites More sharing options... 2 months later... Juli Posted April 10, 2013 Share Posted April 10, 2013 А как вывести атрибуты в produсt.tpl (v 1.5.4.1)? Что-то никак не получается там сделать. Поддерживаю вопрос. 1.5.4.1 не работает. Кто нибудь решил? 1 Link to comment Share on other sites More sharing options... 2 weeks later... ReBurn Posted April 21, 2013 Share Posted April 21, 2013 Кто сделает это за деньгу? Писать ценник в личку Link to comment Share on other sites More sharing options... sv2109 Posted April 21, 2013 Share Posted April 21, 2013 Кто сделает это за деньгу? Писать ценник в личку Я буквально пару постов выше давал ссылку на готовый модуль https://opencartforum.com/files/file/693-tekstovyi-blok-s-atributami/ Link to comment Share on other sites More sharing options... Prev 1 2 3 4 5 6 Next Page 1 of 6 Create an account or sign in to comment You need to be a member in order to leave a comment Create an account Sign up for a new account in our community. It's easy! Register a new account Sign in Already have an account? Sign in here. Sign In Now Share More sharing options... Followers 2 Go to topic listing Similar Content Вывод паролей БД вместе с ошибкой By zhizherinv, September 8 3 replies 208 views WarStyle September 8 Дополнительное описание Категории By vier, January 16, 2018 описание категория 0 comments 9,822 views vier January 16, 2018 Attribute Category - Атрибуты категории By sv2109, January 21, 2016 атрибут атрибуты (and 3 more) Tagged with: атрибут атрибуты attribute фильтр категория 0 comments 16,198 views sv2109 January 21, 2016 Дополнительное Описание Категориям + Настройки By RoS, June 5, 2021 описание дополнительное описание (and 13 more) Tagged with: описание дополнительное описание категории описание категорий добавить дополнительный текст дополнительное описание категориям добавить текстовое поле добавить дополнительный html extra category description additional description categories additional description readmore read more подробнее читать далее 0 comments 5,039 views RoS June 5, 2021 вывод опций в карточку товара на страницу категорий By arromanus, September 7 0 replies 162 views arromanus September 7 Recently Browsing 0 members No registered users viewing this page. Последние темы Последние дополнения Последние новости All Activity Home Поддержка и ответы на вопросы Песочница Вывод атрибутов вместо описания в категориях Покупателям Оплата дополнений физическими лицами Оплата дополнений юридическими лицами Политика возвратов Разработчикам Регламент размещения дополнений Регламент продаж и поддержки дополнений Виртуальный аккаунт автора Политика продвижения объявлений API каталога дополнений Урегулирование споров по авторским правам Полезная информация Публичная оферта Политика возвратов Политика конфиденциальности Платежная политика Политика Передачи Персональных Данных Политика прозрачности Последние дополнения Monopay від Monobank Polia - By monopay All inclusive By octemplates Знак равно в цене опции товара By web_bond MonoPay оплата для Opencart - модуль для подключения эквайринга Monobank к Opencart By bogdan281989 footer cache By kJlukOo × Existing user? Sign In Sign Up Shopping section Back Purchased extensions Invoices Whishlist Alternative Contacts Forums News ocStore Back Official site Demo ocStore 3.0.3.2 Demo ocStore 2.3.0.2.4 Download ocStore Docs Release History Blogs Extensions Templates Back Free templates Paid templates Where to buy modules? Services FAQ OpenCart.Pro Back Demo Buy Compare × Create New... Important Information On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice. I accept
freelancer Posted July 17, 2012 Share Posted July 17, 2012 catalog\controller\product\category.php, 199 'description' => utf8_substr(strip_tags(html_entity_decode($result['description'], ENT_QUOTES, 'UTF-8')), 0, 100) . '..', 'attribute_groups' => $this->model_catalog_product->getProductAttributes($result['product_id']), 'price' => $price, catalog\view\theme\default\template\product\category.tpl, 76 <div class="description"> <?php if($product['attribute_groups']) { ?> <table> <?php foreach($product['attribute_groups'] as $attribute_group) { ?> <thead><!--названия групп--> <tr> <td colspan="2"><?php echo $attribute_group['name']; ?></td> </tr> </thead><!----> <tbody> <?php foreach($attribute_group['attribute'] as $attribute) { ?> <tr> <td><?php echo $attribute['name']; ?></td> <td><?php echo $attribute['text']; ?></td> </tr> <?php } ?> </tbody> <?php } ?> </table> <?php } ?> </div> 9 Link to comment Share on other sites More sharing options... ingenerks Posted July 17, 2012 Author Share Posted July 17, 2012 catalogcontrollerproductcategory.php, 199 'description' => utf8_substr(strip_tags(html_entity_decode($result['description'], ENT_QUOTES, 'UTF-8')), 0, 100) . '..', 'attribute_groups' => $this->model_catalog_product->getProductAttributes($result['product_id']), 'price' => $price, catalogviewthemedefaulttemplateproductcategory.tpl, 76 <div class="description"> <?php if($product['attribute_groups']) { ?> <table> <?php foreach($product['attribute_groups'] as $attribute_group) { ?> <thead><!--названия групп--> <tr> <td colspan="2"><?php echo $attribute_group['name']; ?></td> </tr> </thead><!----> <tbody> <?php foreach($attribute_group['attribute'] as $attribute) { ?> <tr> <td><?php echo $attribute['name']; ?></td> <td><?php echo $attribute['text']; ?></td> </tr> <?php } ?> </tbody> <?php } ?> </table> <?php } ?> </div> Ура получилось спасибо. Единственный вопрос как выводить все в строчку и после каждого нового атрибута ставить разделитель слешь с пробьелами, что бы было такЭкран 11.6” (1366x768) LED, глянцевый / AMD Dual-Core E-450 (1.65 ГГц) / RAM 2 ГБ / HDD 500 ГБ / AMD Radeon HD 6320 / без ОДД / LAN / Wi-Fi / Bluetooth / веб-камера / DOS / 1 Link to comment Share on other sites More sharing options... Einshtein Posted July 18, 2012 Share Posted July 18, 2012 Ура получилось спасибо. Единственный вопрос как выводить все в строчку и после каждого нового атрибута ставить разделитель слешь с пробьелами, что бы было так Экран 11.6” (1366x768) LED, глянцевый / AMD Dual-Core E-450 (1.65 ГГц) / RAM 2 ГБ / HDD 500 ГБ / AMD Radeon HD 6320 / без ОДД / LAN / Wi-Fi / Bluetooth / веб-камера / DOS / catalogviewthemedefaulttemplateproductcategory.tpl, 76Заменяем этот код: <div class="description"> <?php if($product['attribute_groups']) { ?> <table> <?php foreach($product['attribute_groups'] as $attribute_group) { ?> <thead><!--названия групп--> <tr> <td colspan="2"><?php echo $attribute_group['name']; ?></td> </tr> </thead><!----> <tbody> <?php foreach($attribute_group['attribute'] as $attribute) { ?> <tr> <td><?php echo $attribute['name']; ?></td> <td><?php echo $attribute['text']; ?></td> </tr> <?php } ?> </tbody> <?php } ?> </table> <?php } ?> </div> на: <div class="description"> <?php if($product['attribute_groups']) { ?> <table> <?php foreach($product['attribute_groups'] as $attribute_group) { ?> <tbody> <?php foreach($attribute_group['attribute'] as $attribute) { ?> <tr> <?php echo $attribute['name']; ?> - <?php echo $attribute['text']; ?> <font color="#0000FF">|</font> </tr> <?php } ?> </tbody> <?php } ?> </table> <?php } ?> </div> Я сделал вертикальную разделительную палочку, мне кажется так органичней. И так же добавил стиль для этой палочки (синий цвет color="#0000FF"), чтобы было более заметно где заканчивается один атрибут и начинается другой.Так же убрал название груп характеристик Зы В ИЕ некрасиво получается. МБ ктонить поэкспериментирует и чёнить порекомендует? 2 Link to comment Share on other sites More sharing options... ingenerks Posted July 18, 2012 Author Share Posted July 18, 2012 Код что бы отображалось нормально в IE. <div class="description"> <?php if($product['attribute_groups']) { ?> <ul> <?php foreach($product['attribute_groups'] as $attribute_group) { ?> <tbody> <?php foreach($attribute_group['attribute'] as $attribute) { ?><?php echo $attribute['name']; ?> - <?php echo $attribute['text']; ?> <font color="#0000FF">|</font> <?php } ?> </tbody> <?php } ?> </ul> <?php } ?> </div> 1 Link to comment Share on other sites More sharing options... ingenerks Posted July 22, 2012 Author Share Posted July 22, 2012 Может кому то понадобится сделал vqmod atributs.xml 3 Link to comment Share on other sites More sharing options... 3 weeks later... fjeka Posted August 11, 2012 Share Posted August 11, 2012 Может кому то понадобится сделал vqmodНа версии 1.5.1.3 не работает.А можно сделать так чтобы при отображении сеткой атрибуты выводились в столбик как в модуле Product Display Settings ? Link to comment Share on other sites More sharing options... 2 months later... onyx Posted November 8, 2012 Share Posted November 8, 2012 Не подскажете как сделать что бы можно еще в это описание вывести наличие. Делаю по анологии - выскакивает ошибка. Посмотрел как это сделано в catalogcontrollerproductproduct.php там вывод с помощью следующего блока: if ($product_info['quantity'] <= 0) { $this->data['stock'] = $product_info['stock_status']; } elseif ($this->config->get('config_stock_display')) { $this->data['stock'] = $product_info['quantity']; } else { $this->data['stock'] = $this->language->get('text_instock'); } Но к catalogcontrollerproductcategory.php так подключить и не удалось. Помогите кто знает Link to comment Share on other sites More sharing options... ingenerks Posted November 8, 2012 Author Share Posted November 8, 2012 Не подскажете как сделать что бы можно еще в это описание вывести наличие. Делаю по анологии - выскакивает ошибка. Посмотрел как это сделано в catalogcontrollerproductproduct.php там вывод с помощью следующего блока: if ($product_info['quantity'] <= 0) { $this->data['stock'] = $product_info['stock_status']; } elseif ($this->config->get('config_stock_display')) { $this->data['stock'] = $product_info['quantity']; } else { $this->data['stock'] = $this->language->get('text_instock'); } Но к catalogcontrollerproductcategory.php так подключить и не удалось. Помогите кто знает https://opencartforum.com/topic/10263-%D0%BC%D0%BE%D0%B4%D1%83%D0%BB%D1%8C-%D0%B4%D0%BE%D0%B1%D0%B0%D0%B2%D0%BB%D1%8F%D0%B5%D1%82-%D0%B2%D0%BE%D0%B7%D0%BC%D0%BE%D0%B6%D0%BD%D0%BE%D1%81%D1%82%D1%8C-%D0%B2%D1%8B%D0%B1%D0%BE%D1%80%D0%B0-%D0%BA%D0%BE%D0%BB%D0%B8%D1%87%D0%B5%D1%81%D1%82%D0%B2/ тут описано Link to comment Share on other sites More sharing options... onyx Posted November 8, 2012 Share Posted November 8, 2012 Мне нужно НАЛИЧИЕ, тоесть что бы на странице категории в описании товара можно было вывести: "Есть в наличи", "Предзаказ" и тп. По анологии как это сделано в карточке товара Link to comment Share on other sites More sharing options... Einshtein Posted November 9, 2012 Share Posted November 9, 2012 Мне нужно НАЛИЧИЕ, тоесть что бы на странице категории в описании товара можно было вывести: "Есть в наличи", "Предзаказ" и тп. По анологии как это сделано в карточке товараэто легко делается...наличие ещё можно вывести на витрину по аналогии...вот ссылка на блог пользователя этого форума:http://rb.labtodo.com/page/opencart-151-vyvod-informacii-o-nalichii-pod-kartinkoj-v-kataloge-tovarov (не баньте) 1 Link to comment Share on other sites More sharing options... sv2109 Posted November 9, 2012 Share Posted November 9, 2012 Сделал вывод текстового блока с атрибутами отдельным модулем для тех, кому нужно более правильное и функциональное решение данной проблемы и не жалко за это заплатить 150 рублей. Почему лучше это делать модулем я немного описал в этом сообщении. 1 Link to comment Share on other sites More sharing options... 1 month later... TigerHunter777 Posted December 27, 2012 Share Posted December 27, 2012 Подскажите как из всех характеристик вывести одну если известен ее ID? Link to comment Share on other sites More sharing options... 2 weeks later... sholazar Posted January 8, 2013 Share Posted January 8, 2013 Подскажите как из всех характеристик вывести одну если известен ее ID? Исключить все ненужные. Я задавался этим вопросом тут РЕШЕНО Link to comment Share on other sites More sharing options... 2 weeks later... Rashpil Posted January 16, 2013 Share Posted January 16, 2013 Очень помогла данная тема Link to comment Share on other sites More sharing options... 2 weeks later... sbupravi Posted January 30, 2013 Share Posted January 30, 2013 А как вывести атрибуты в produсt.tpl (v 1.5.4.1)? Что-то никак не получается там сделать. Конкретно, в блоке <div class="description">, где модель, наличие...: <div class="description"> <?php if ($manufacturer) { ?> <span><?php echo $text_manufacturer; ?></span> <a href="<?php echo $manufacturers; ?>"><?php echo $manufacturer; ?></a><br /> <?php } ?> <span><?php echo $text_model; ?></span> <?php echo $model; ?><br /> <span><?php echo $text_reward; ?></span> <?php echo $reward; ?><br /> <span><?php echo $text_stock; ?></span> <?php echo $stock; ?></div> Link to comment Share on other sites More sharing options... sbupravi Posted January 30, 2013 Share Posted January 30, 2013 Никто не делал разве? Link to comment Share on other sites More sharing options... 2 months later... Juli Posted April 10, 2013 Share Posted April 10, 2013 А как вывести атрибуты в produсt.tpl (v 1.5.4.1)? Что-то никак не получается там сделать. Поддерживаю вопрос. 1.5.4.1 не работает. Кто нибудь решил? 1 Link to comment Share on other sites More sharing options... 2 weeks later... ReBurn Posted April 21, 2013 Share Posted April 21, 2013 Кто сделает это за деньгу? Писать ценник в личку Link to comment Share on other sites More sharing options... sv2109 Posted April 21, 2013 Share Posted April 21, 2013 Кто сделает это за деньгу? Писать ценник в личку Я буквально пару постов выше давал ссылку на готовый модуль https://opencartforum.com/files/file/693-tekstovyi-blok-s-atributami/ Link to comment Share on other sites More sharing options... Prev 1 2 3 4 5 6 Next Page 1 of 6 Create an account or sign in to comment You need to be a member in order to leave a comment Create an account Sign up for a new account in our community. It's easy! Register a new account Sign in Already have an account? Sign in here. Sign In Now Share More sharing options... Followers 2 Go to topic listing Similar Content Вывод паролей БД вместе с ошибкой By zhizherinv, September 8 3 replies 208 views WarStyle September 8 Дополнительное описание Категории By vier, January 16, 2018 описание категория 0 comments 9,822 views vier January 16, 2018 Attribute Category - Атрибуты категории By sv2109, January 21, 2016 атрибут атрибуты (and 3 more) Tagged with: атрибут атрибуты attribute фильтр категория 0 comments 16,198 views sv2109 January 21, 2016 Дополнительное Описание Категориям + Настройки By RoS, June 5, 2021 описание дополнительное описание (and 13 more) Tagged with: описание дополнительное описание категории описание категорий добавить дополнительный текст дополнительное описание категориям добавить текстовое поле добавить дополнительный html extra category description additional description categories additional description readmore read more подробнее читать далее 0 comments 5,039 views RoS June 5, 2021 вывод опций в карточку товара на страницу категорий By arromanus, September 7 0 replies 162 views arromanus September 7 Recently Browsing 0 members No registered users viewing this page. Последние темы Последние дополнения Последние новости All Activity Home Поддержка и ответы на вопросы Песочница Вывод атрибутов вместо описания в категориях Покупателям Оплата дополнений физическими лицами Оплата дополнений юридическими лицами Политика возвратов Разработчикам Регламент размещения дополнений Регламент продаж и поддержки дополнений Виртуальный аккаунт автора Политика продвижения объявлений API каталога дополнений Урегулирование споров по авторским правам Полезная информация Публичная оферта Политика возвратов Политика конфиденциальности Платежная политика Политика Передачи Персональных Данных Политика прозрачности Последние дополнения Monopay від Monobank Polia - By monopay All inclusive By octemplates Знак равно в цене опции товара By web_bond MonoPay оплата для Opencart - модуль для подключения эквайринга Monobank к Opencart By bogdan281989 footer cache By kJlukOo × Existing user? Sign In Sign Up Shopping section Back Purchased extensions Invoices Whishlist Alternative Contacts Forums News ocStore Back Official site Demo ocStore 3.0.3.2 Demo ocStore 2.3.0.2.4 Download ocStore Docs Release History Blogs Extensions Templates Back Free templates Paid templates Where to buy modules? Services FAQ OpenCart.Pro Back Demo Buy Compare × Create New... Important Information On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice. I accept
ingenerks Posted July 17, 2012 Author Share Posted July 17, 2012 catalogcontrollerproductcategory.php, 199 'description' => utf8_substr(strip_tags(html_entity_decode($result['description'], ENT_QUOTES, 'UTF-8')), 0, 100) . '..', 'attribute_groups' => $this->model_catalog_product->getProductAttributes($result['product_id']), 'price' => $price, catalogviewthemedefaulttemplateproductcategory.tpl, 76 <div class="description"> <?php if($product['attribute_groups']) { ?> <table> <?php foreach($product['attribute_groups'] as $attribute_group) { ?> <thead><!--названия групп--> <tr> <td colspan="2"><?php echo $attribute_group['name']; ?></td> </tr> </thead><!----> <tbody> <?php foreach($attribute_group['attribute'] as $attribute) { ?> <tr> <td><?php echo $attribute['name']; ?></td> <td><?php echo $attribute['text']; ?></td> </tr> <?php } ?> </tbody> <?php } ?> </table> <?php } ?> </div> Ура получилось спасибо. Единственный вопрос как выводить все в строчку и после каждого нового атрибута ставить разделитель слешь с пробьелами, что бы было такЭкран 11.6” (1366x768) LED, глянцевый / AMD Dual-Core E-450 (1.65 ГГц) / RAM 2 ГБ / HDD 500 ГБ / AMD Radeon HD 6320 / без ОДД / LAN / Wi-Fi / Bluetooth / веб-камера / DOS / 1 Link to comment Share on other sites More sharing options... Einshtein Posted July 18, 2012 Share Posted July 18, 2012 Ура получилось спасибо. Единственный вопрос как выводить все в строчку и после каждого нового атрибута ставить разделитель слешь с пробьелами, что бы было так Экран 11.6” (1366x768) LED, глянцевый / AMD Dual-Core E-450 (1.65 ГГц) / RAM 2 ГБ / HDD 500 ГБ / AMD Radeon HD 6320 / без ОДД / LAN / Wi-Fi / Bluetooth / веб-камера / DOS / catalogviewthemedefaulttemplateproductcategory.tpl, 76Заменяем этот код: <div class="description"> <?php if($product['attribute_groups']) { ?> <table> <?php foreach($product['attribute_groups'] as $attribute_group) { ?> <thead><!--названия групп--> <tr> <td colspan="2"><?php echo $attribute_group['name']; ?></td> </tr> </thead><!----> <tbody> <?php foreach($attribute_group['attribute'] as $attribute) { ?> <tr> <td><?php echo $attribute['name']; ?></td> <td><?php echo $attribute['text']; ?></td> </tr> <?php } ?> </tbody> <?php } ?> </table> <?php } ?> </div> на: <div class="description"> <?php if($product['attribute_groups']) { ?> <table> <?php foreach($product['attribute_groups'] as $attribute_group) { ?> <tbody> <?php foreach($attribute_group['attribute'] as $attribute) { ?> <tr> <?php echo $attribute['name']; ?> - <?php echo $attribute['text']; ?> <font color="#0000FF">|</font> </tr> <?php } ?> </tbody> <?php } ?> </table> <?php } ?> </div> Я сделал вертикальную разделительную палочку, мне кажется так органичней. И так же добавил стиль для этой палочки (синий цвет color="#0000FF"), чтобы было более заметно где заканчивается один атрибут и начинается другой.Так же убрал название груп характеристик Зы В ИЕ некрасиво получается. МБ ктонить поэкспериментирует и чёнить порекомендует? 2 Link to comment Share on other sites More sharing options... ingenerks Posted July 18, 2012 Author Share Posted July 18, 2012 Код что бы отображалось нормально в IE. <div class="description"> <?php if($product['attribute_groups']) { ?> <ul> <?php foreach($product['attribute_groups'] as $attribute_group) { ?> <tbody> <?php foreach($attribute_group['attribute'] as $attribute) { ?><?php echo $attribute['name']; ?> - <?php echo $attribute['text']; ?> <font color="#0000FF">|</font> <?php } ?> </tbody> <?php } ?> </ul> <?php } ?> </div> 1 Link to comment Share on other sites More sharing options... ingenerks Posted July 22, 2012 Author Share Posted July 22, 2012 Может кому то понадобится сделал vqmod atributs.xml 3 Link to comment Share on other sites More sharing options... 3 weeks later... fjeka Posted August 11, 2012 Share Posted August 11, 2012 Может кому то понадобится сделал vqmodНа версии 1.5.1.3 не работает.А можно сделать так чтобы при отображении сеткой атрибуты выводились в столбик как в модуле Product Display Settings ? Link to comment Share on other sites More sharing options... 2 months later... onyx Posted November 8, 2012 Share Posted November 8, 2012 Не подскажете как сделать что бы можно еще в это описание вывести наличие. Делаю по анологии - выскакивает ошибка. Посмотрел как это сделано в catalogcontrollerproductproduct.php там вывод с помощью следующего блока: if ($product_info['quantity'] <= 0) { $this->data['stock'] = $product_info['stock_status']; } elseif ($this->config->get('config_stock_display')) { $this->data['stock'] = $product_info['quantity']; } else { $this->data['stock'] = $this->language->get('text_instock'); } Но к catalogcontrollerproductcategory.php так подключить и не удалось. Помогите кто знает Link to comment Share on other sites More sharing options... ingenerks Posted November 8, 2012 Author Share Posted November 8, 2012 Не подскажете как сделать что бы можно еще в это описание вывести наличие. Делаю по анологии - выскакивает ошибка. Посмотрел как это сделано в catalogcontrollerproductproduct.php там вывод с помощью следующего блока: if ($product_info['quantity'] <= 0) { $this->data['stock'] = $product_info['stock_status']; } elseif ($this->config->get('config_stock_display')) { $this->data['stock'] = $product_info['quantity']; } else { $this->data['stock'] = $this->language->get('text_instock'); } Но к catalogcontrollerproductcategory.php так подключить и не удалось. Помогите кто знает https://opencartforum.com/topic/10263-%D0%BC%D0%BE%D0%B4%D1%83%D0%BB%D1%8C-%D0%B4%D0%BE%D0%B1%D0%B0%D0%B2%D0%BB%D1%8F%D0%B5%D1%82-%D0%B2%D0%BE%D0%B7%D0%BC%D0%BE%D0%B6%D0%BD%D0%BE%D1%81%D1%82%D1%8C-%D0%B2%D1%8B%D0%B1%D0%BE%D1%80%D0%B0-%D0%BA%D0%BE%D0%BB%D0%B8%D1%87%D0%B5%D1%81%D1%82%D0%B2/ тут описано Link to comment Share on other sites More sharing options... onyx Posted November 8, 2012 Share Posted November 8, 2012 Мне нужно НАЛИЧИЕ, тоесть что бы на странице категории в описании товара можно было вывести: "Есть в наличи", "Предзаказ" и тп. По анологии как это сделано в карточке товара Link to comment Share on other sites More sharing options... Einshtein Posted November 9, 2012 Share Posted November 9, 2012 Мне нужно НАЛИЧИЕ, тоесть что бы на странице категории в описании товара можно было вывести: "Есть в наличи", "Предзаказ" и тп. По анологии как это сделано в карточке товараэто легко делается...наличие ещё можно вывести на витрину по аналогии...вот ссылка на блог пользователя этого форума:http://rb.labtodo.com/page/opencart-151-vyvod-informacii-o-nalichii-pod-kartinkoj-v-kataloge-tovarov (не баньте) 1 Link to comment Share on other sites More sharing options... sv2109 Posted November 9, 2012 Share Posted November 9, 2012 Сделал вывод текстового блока с атрибутами отдельным модулем для тех, кому нужно более правильное и функциональное решение данной проблемы и не жалко за это заплатить 150 рублей. Почему лучше это делать модулем я немного описал в этом сообщении. 1 Link to comment Share on other sites More sharing options... 1 month later... TigerHunter777 Posted December 27, 2012 Share Posted December 27, 2012 Подскажите как из всех характеристик вывести одну если известен ее ID? Link to comment Share on other sites More sharing options... 2 weeks later... sholazar Posted January 8, 2013 Share Posted January 8, 2013 Подскажите как из всех характеристик вывести одну если известен ее ID? Исключить все ненужные. Я задавался этим вопросом тут РЕШЕНО Link to comment Share on other sites More sharing options... 2 weeks later... Rashpil Posted January 16, 2013 Share Posted January 16, 2013 Очень помогла данная тема Link to comment Share on other sites More sharing options... 2 weeks later... sbupravi Posted January 30, 2013 Share Posted January 30, 2013 А как вывести атрибуты в produсt.tpl (v 1.5.4.1)? Что-то никак не получается там сделать. Конкретно, в блоке <div class="description">, где модель, наличие...: <div class="description"> <?php if ($manufacturer) { ?> <span><?php echo $text_manufacturer; ?></span> <a href="<?php echo $manufacturers; ?>"><?php echo $manufacturer; ?></a><br /> <?php } ?> <span><?php echo $text_model; ?></span> <?php echo $model; ?><br /> <span><?php echo $text_reward; ?></span> <?php echo $reward; ?><br /> <span><?php echo $text_stock; ?></span> <?php echo $stock; ?></div> Link to comment Share on other sites More sharing options... sbupravi Posted January 30, 2013 Share Posted January 30, 2013 Никто не делал разве? Link to comment Share on other sites More sharing options... 2 months later... Juli Posted April 10, 2013 Share Posted April 10, 2013 А как вывести атрибуты в produсt.tpl (v 1.5.4.1)? Что-то никак не получается там сделать. Поддерживаю вопрос. 1.5.4.1 не работает. Кто нибудь решил? 1 Link to comment Share on other sites More sharing options... 2 weeks later... ReBurn Posted April 21, 2013 Share Posted April 21, 2013 Кто сделает это за деньгу? Писать ценник в личку Link to comment Share on other sites More sharing options... sv2109 Posted April 21, 2013 Share Posted April 21, 2013 Кто сделает это за деньгу? Писать ценник в личку Я буквально пару постов выше давал ссылку на готовый модуль https://opencartforum.com/files/file/693-tekstovyi-blok-s-atributami/ Link to comment Share on other sites More sharing options... Prev 1 2 3 4 5 6 Next Page 1 of 6 Create an account or sign in to comment You need to be a member in order to leave a comment Create an account Sign up for a new account in our community. It's easy! Register a new account Sign in Already have an account? Sign in here. Sign In Now Share More sharing options... Followers 2 Go to topic listing Similar Content Вывод паролей БД вместе с ошибкой By zhizherinv, September 8 3 replies 208 views WarStyle September 8 Дополнительное описание Категории By vier, January 16, 2018 описание категория 0 comments 9,822 views vier January 16, 2018 Attribute Category - Атрибуты категории By sv2109, January 21, 2016 атрибут атрибуты (and 3 more) Tagged with: атрибут атрибуты attribute фильтр категория 0 comments 16,198 views sv2109 January 21, 2016 Дополнительное Описание Категориям + Настройки By RoS, June 5, 2021 описание дополнительное описание (and 13 more) Tagged with: описание дополнительное описание категории описание категорий добавить дополнительный текст дополнительное описание категориям добавить текстовое поле добавить дополнительный html extra category description additional description categories additional description readmore read more подробнее читать далее 0 comments 5,039 views RoS June 5, 2021 вывод опций в карточку товара на страницу категорий By arromanus, September 7 0 replies 162 views arromanus September 7 Recently Browsing 0 members No registered users viewing this page. Последние темы Последние дополнения Последние новости All Activity Home Поддержка и ответы на вопросы Песочница Вывод атрибутов вместо описания в категориях Покупателям Оплата дополнений физическими лицами Оплата дополнений юридическими лицами Политика возвратов Разработчикам Регламент размещения дополнений Регламент продаж и поддержки дополнений Виртуальный аккаунт автора Политика продвижения объявлений API каталога дополнений Урегулирование споров по авторским правам Полезная информация Публичная оферта Политика возвратов Политика конфиденциальности Платежная политика Политика Передачи Персональных Данных Политика прозрачности Последние дополнения Monopay від Monobank Polia - By monopay All inclusive By octemplates Знак равно в цене опции товара By web_bond MonoPay оплата для Opencart - модуль для подключения эквайринга Monobank к Opencart By bogdan281989 footer cache By kJlukOo × Existing user? Sign In Sign Up Shopping section Back Purchased extensions Invoices Whishlist Alternative Contacts Forums News ocStore Back Official site Demo ocStore 3.0.3.2 Demo ocStore 2.3.0.2.4 Download ocStore Docs Release History Blogs Extensions Templates Back Free templates Paid templates Where to buy modules? Services FAQ OpenCart.Pro Back Demo Buy Compare × Create New... Important Information On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice. I accept
Einshtein Posted July 18, 2012 Share Posted July 18, 2012 Ура получилось спасибо. Единственный вопрос как выводить все в строчку и после каждого нового атрибута ставить разделитель слешь с пробьелами, что бы было так Экран 11.6” (1366x768) LED, глянцевый / AMD Dual-Core E-450 (1.65 ГГц) / RAM 2 ГБ / HDD 500 ГБ / AMD Radeon HD 6320 / без ОДД / LAN / Wi-Fi / Bluetooth / веб-камера / DOS / catalogviewthemedefaulttemplateproductcategory.tpl, 76Заменяем этот код: <div class="description"> <?php if($product['attribute_groups']) { ?> <table> <?php foreach($product['attribute_groups'] as $attribute_group) { ?> <thead><!--названия групп--> <tr> <td colspan="2"><?php echo $attribute_group['name']; ?></td> </tr> </thead><!----> <tbody> <?php foreach($attribute_group['attribute'] as $attribute) { ?> <tr> <td><?php echo $attribute['name']; ?></td> <td><?php echo $attribute['text']; ?></td> </tr> <?php } ?> </tbody> <?php } ?> </table> <?php } ?> </div> на: <div class="description"> <?php if($product['attribute_groups']) { ?> <table> <?php foreach($product['attribute_groups'] as $attribute_group) { ?> <tbody> <?php foreach($attribute_group['attribute'] as $attribute) { ?> <tr> <?php echo $attribute['name']; ?> - <?php echo $attribute['text']; ?> <font color="#0000FF">|</font> </tr> <?php } ?> </tbody> <?php } ?> </table> <?php } ?> </div> Я сделал вертикальную разделительную палочку, мне кажется так органичней. И так же добавил стиль для этой палочки (синий цвет color="#0000FF"), чтобы было более заметно где заканчивается один атрибут и начинается другой.Так же убрал название груп характеристик Зы В ИЕ некрасиво получается. МБ ктонить поэкспериментирует и чёнить порекомендует? 2 Link to comment Share on other sites More sharing options...
ingenerks Posted July 18, 2012 Author Share Posted July 18, 2012 Код что бы отображалось нормально в IE. <div class="description"> <?php if($product['attribute_groups']) { ?> <ul> <?php foreach($product['attribute_groups'] as $attribute_group) { ?> <tbody> <?php foreach($attribute_group['attribute'] as $attribute) { ?><?php echo $attribute['name']; ?> - <?php echo $attribute['text']; ?> <font color="#0000FF">|</font> <?php } ?> </tbody> <?php } ?> </ul> <?php } ?> </div> 1 Link to comment Share on other sites More sharing options... ingenerks Posted July 22, 2012 Author Share Posted July 22, 2012 Может кому то понадобится сделал vqmod atributs.xml 3 Link to comment Share on other sites More sharing options... 3 weeks later... fjeka Posted August 11, 2012 Share Posted August 11, 2012 Может кому то понадобится сделал vqmodНа версии 1.5.1.3 не работает.А можно сделать так чтобы при отображении сеткой атрибуты выводились в столбик как в модуле Product Display Settings ? Link to comment Share on other sites More sharing options... 2 months later... onyx Posted November 8, 2012 Share Posted November 8, 2012 Не подскажете как сделать что бы можно еще в это описание вывести наличие. Делаю по анологии - выскакивает ошибка. Посмотрел как это сделано в catalogcontrollerproductproduct.php там вывод с помощью следующего блока: if ($product_info['quantity'] <= 0) { $this->data['stock'] = $product_info['stock_status']; } elseif ($this->config->get('config_stock_display')) { $this->data['stock'] = $product_info['quantity']; } else { $this->data['stock'] = $this->language->get('text_instock'); } Но к catalogcontrollerproductcategory.php так подключить и не удалось. Помогите кто знает Link to comment Share on other sites More sharing options... ingenerks Posted November 8, 2012 Author Share Posted November 8, 2012 Не подскажете как сделать что бы можно еще в это описание вывести наличие. Делаю по анологии - выскакивает ошибка. Посмотрел как это сделано в catalogcontrollerproductproduct.php там вывод с помощью следующего блока: if ($product_info['quantity'] <= 0) { $this->data['stock'] = $product_info['stock_status']; } elseif ($this->config->get('config_stock_display')) { $this->data['stock'] = $product_info['quantity']; } else { $this->data['stock'] = $this->language->get('text_instock'); } Но к catalogcontrollerproductcategory.php так подключить и не удалось. Помогите кто знает https://opencartforum.com/topic/10263-%D0%BC%D0%BE%D0%B4%D1%83%D0%BB%D1%8C-%D0%B4%D0%BE%D0%B1%D0%B0%D0%B2%D0%BB%D1%8F%D0%B5%D1%82-%D0%B2%D0%BE%D0%B7%D0%BC%D0%BE%D0%B6%D0%BD%D0%BE%D1%81%D1%82%D1%8C-%D0%B2%D1%8B%D0%B1%D0%BE%D1%80%D0%B0-%D0%BA%D0%BE%D0%BB%D0%B8%D1%87%D0%B5%D1%81%D1%82%D0%B2/ тут описано Link to comment Share on other sites More sharing options... onyx Posted November 8, 2012 Share Posted November 8, 2012 Мне нужно НАЛИЧИЕ, тоесть что бы на странице категории в описании товара можно было вывести: "Есть в наличи", "Предзаказ" и тп. По анологии как это сделано в карточке товара Link to comment Share on other sites More sharing options... Einshtein Posted November 9, 2012 Share Posted November 9, 2012 Мне нужно НАЛИЧИЕ, тоесть что бы на странице категории в описании товара можно было вывести: "Есть в наличи", "Предзаказ" и тп. По анологии как это сделано в карточке товараэто легко делается...наличие ещё можно вывести на витрину по аналогии...вот ссылка на блог пользователя этого форума:http://rb.labtodo.com/page/opencart-151-vyvod-informacii-o-nalichii-pod-kartinkoj-v-kataloge-tovarov (не баньте) 1 Link to comment Share on other sites More sharing options... sv2109 Posted November 9, 2012 Share Posted November 9, 2012 Сделал вывод текстового блока с атрибутами отдельным модулем для тех, кому нужно более правильное и функциональное решение данной проблемы и не жалко за это заплатить 150 рублей. Почему лучше это делать модулем я немного описал в этом сообщении. 1 Link to comment Share on other sites More sharing options... 1 month later... TigerHunter777 Posted December 27, 2012 Share Posted December 27, 2012 Подскажите как из всех характеристик вывести одну если известен ее ID? Link to comment Share on other sites More sharing options... 2 weeks later... sholazar Posted January 8, 2013 Share Posted January 8, 2013 Подскажите как из всех характеристик вывести одну если известен ее ID? Исключить все ненужные. Я задавался этим вопросом тут РЕШЕНО Link to comment Share on other sites More sharing options... 2 weeks later... Rashpil Posted January 16, 2013 Share Posted January 16, 2013 Очень помогла данная тема Link to comment Share on other sites More sharing options... 2 weeks later... sbupravi Posted January 30, 2013 Share Posted January 30, 2013 А как вывести атрибуты в produсt.tpl (v 1.5.4.1)? Что-то никак не получается там сделать. Конкретно, в блоке <div class="description">, где модель, наличие...: <div class="description"> <?php if ($manufacturer) { ?> <span><?php echo $text_manufacturer; ?></span> <a href="<?php echo $manufacturers; ?>"><?php echo $manufacturer; ?></a><br /> <?php } ?> <span><?php echo $text_model; ?></span> <?php echo $model; ?><br /> <span><?php echo $text_reward; ?></span> <?php echo $reward; ?><br /> <span><?php echo $text_stock; ?></span> <?php echo $stock; ?></div> Link to comment Share on other sites More sharing options... sbupravi Posted January 30, 2013 Share Posted January 30, 2013 Никто не делал разве? Link to comment Share on other sites More sharing options... 2 months later... Juli Posted April 10, 2013 Share Posted April 10, 2013 А как вывести атрибуты в produсt.tpl (v 1.5.4.1)? Что-то никак не получается там сделать. Поддерживаю вопрос. 1.5.4.1 не работает. Кто нибудь решил? 1 Link to comment Share on other sites More sharing options... 2 weeks later... ReBurn Posted April 21, 2013 Share Posted April 21, 2013 Кто сделает это за деньгу? Писать ценник в личку Link to comment Share on other sites More sharing options... sv2109 Posted April 21, 2013 Share Posted April 21, 2013 Кто сделает это за деньгу? Писать ценник в личку Я буквально пару постов выше давал ссылку на готовый модуль https://opencartforum.com/files/file/693-tekstovyi-blok-s-atributami/ Link to comment Share on other sites More sharing options... Prev 1 2 3 4 5 6 Next Page 1 of 6 Create an account or sign in to comment You need to be a member in order to leave a comment Create an account Sign up for a new account in our community. It's easy! Register a new account Sign in Already have an account? Sign in here. Sign In Now Share More sharing options... Followers 2 Go to topic listing Similar Content Вывод паролей БД вместе с ошибкой By zhizherinv, September 8 3 replies 208 views WarStyle September 8 Дополнительное описание Категории By vier, January 16, 2018 описание категория 0 comments 9,822 views vier January 16, 2018 Attribute Category - Атрибуты категории By sv2109, January 21, 2016 атрибут атрибуты (and 3 more) Tagged with: атрибут атрибуты attribute фильтр категория 0 comments 16,198 views sv2109 January 21, 2016 Дополнительное Описание Категориям + Настройки By RoS, June 5, 2021 описание дополнительное описание (and 13 more) Tagged with: описание дополнительное описание категории описание категорий добавить дополнительный текст дополнительное описание категориям добавить текстовое поле добавить дополнительный html extra category description additional description categories additional description readmore read more подробнее читать далее 0 comments 5,039 views RoS June 5, 2021 вывод опций в карточку товара на страницу категорий By arromanus, September 7 0 replies 162 views arromanus September 7 Recently Browsing 0 members No registered users viewing this page. Последние темы Последние дополнения Последние новости All Activity Home Поддержка и ответы на вопросы Песочница Вывод атрибутов вместо описания в категориях Покупателям Оплата дополнений физическими лицами Оплата дополнений юридическими лицами Политика возвратов Разработчикам Регламент размещения дополнений Регламент продаж и поддержки дополнений Виртуальный аккаунт автора Политика продвижения объявлений API каталога дополнений Урегулирование споров по авторским правам Полезная информация Публичная оферта Политика возвратов Политика конфиденциальности Платежная политика Политика Передачи Персональных Данных Политика прозрачности Последние дополнения Monopay від Monobank Polia - By monopay All inclusive By octemplates Знак равно в цене опции товара By web_bond MonoPay оплата для Opencart - модуль для подключения эквайринга Monobank к Opencart By bogdan281989 footer cache By kJlukOo × Existing user? Sign In Sign Up Shopping section Back Purchased extensions Invoices Whishlist Alternative Contacts Forums News ocStore Back Official site Demo ocStore 3.0.3.2 Demo ocStore 2.3.0.2.4 Download ocStore Docs Release History Blogs Extensions Templates Back Free templates Paid templates Where to buy modules? Services FAQ OpenCart.Pro Back Demo Buy Compare × Create New... Important Information On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice. I accept
ingenerks Posted July 22, 2012 Author Share Posted July 22, 2012 Может кому то понадобится сделал vqmod atributs.xml 3 Link to comment Share on other sites More sharing options... 3 weeks later... fjeka Posted August 11, 2012 Share Posted August 11, 2012 Может кому то понадобится сделал vqmodНа версии 1.5.1.3 не работает.А можно сделать так чтобы при отображении сеткой атрибуты выводились в столбик как в модуле Product Display Settings ? Link to comment Share on other sites More sharing options... 2 months later... onyx Posted November 8, 2012 Share Posted November 8, 2012 Не подскажете как сделать что бы можно еще в это описание вывести наличие. Делаю по анологии - выскакивает ошибка. Посмотрел как это сделано в catalogcontrollerproductproduct.php там вывод с помощью следующего блока: if ($product_info['quantity'] <= 0) { $this->data['stock'] = $product_info['stock_status']; } elseif ($this->config->get('config_stock_display')) { $this->data['stock'] = $product_info['quantity']; } else { $this->data['stock'] = $this->language->get('text_instock'); } Но к catalogcontrollerproductcategory.php так подключить и не удалось. Помогите кто знает Link to comment Share on other sites More sharing options... ingenerks Posted November 8, 2012 Author Share Posted November 8, 2012 Не подскажете как сделать что бы можно еще в это описание вывести наличие. Делаю по анологии - выскакивает ошибка. Посмотрел как это сделано в catalogcontrollerproductproduct.php там вывод с помощью следующего блока: if ($product_info['quantity'] <= 0) { $this->data['stock'] = $product_info['stock_status']; } elseif ($this->config->get('config_stock_display')) { $this->data['stock'] = $product_info['quantity']; } else { $this->data['stock'] = $this->language->get('text_instock'); } Но к catalogcontrollerproductcategory.php так подключить и не удалось. Помогите кто знает https://opencartforum.com/topic/10263-%D0%BC%D0%BE%D0%B4%D1%83%D0%BB%D1%8C-%D0%B4%D0%BE%D0%B1%D0%B0%D0%B2%D0%BB%D1%8F%D0%B5%D1%82-%D0%B2%D0%BE%D0%B7%D0%BC%D0%BE%D0%B6%D0%BD%D0%BE%D1%81%D1%82%D1%8C-%D0%B2%D1%8B%D0%B1%D0%BE%D1%80%D0%B0-%D0%BA%D0%BE%D0%BB%D0%B8%D1%87%D0%B5%D1%81%D1%82%D0%B2/ тут описано Link to comment Share on other sites More sharing options... onyx Posted November 8, 2012 Share Posted November 8, 2012 Мне нужно НАЛИЧИЕ, тоесть что бы на странице категории в описании товара можно было вывести: "Есть в наличи", "Предзаказ" и тп. По анологии как это сделано в карточке товара Link to comment Share on other sites More sharing options... Einshtein Posted November 9, 2012 Share Posted November 9, 2012 Мне нужно НАЛИЧИЕ, тоесть что бы на странице категории в описании товара можно было вывести: "Есть в наличи", "Предзаказ" и тп. По анологии как это сделано в карточке товараэто легко делается...наличие ещё можно вывести на витрину по аналогии...вот ссылка на блог пользователя этого форума:http://rb.labtodo.com/page/opencart-151-vyvod-informacii-o-nalichii-pod-kartinkoj-v-kataloge-tovarov (не баньте) 1 Link to comment Share on other sites More sharing options... sv2109 Posted November 9, 2012 Share Posted November 9, 2012 Сделал вывод текстового блока с атрибутами отдельным модулем для тех, кому нужно более правильное и функциональное решение данной проблемы и не жалко за это заплатить 150 рублей. Почему лучше это делать модулем я немного описал в этом сообщении. 1 Link to comment Share on other sites More sharing options... 1 month later... TigerHunter777 Posted December 27, 2012 Share Posted December 27, 2012 Подскажите как из всех характеристик вывести одну если известен ее ID? Link to comment Share on other sites More sharing options... 2 weeks later... sholazar Posted January 8, 2013 Share Posted January 8, 2013 Подскажите как из всех характеристик вывести одну если известен ее ID? Исключить все ненужные. Я задавался этим вопросом тут РЕШЕНО Link to comment Share on other sites More sharing options... 2 weeks later... Rashpil Posted January 16, 2013 Share Posted January 16, 2013 Очень помогла данная тема Link to comment Share on other sites More sharing options... 2 weeks later... sbupravi Posted January 30, 2013 Share Posted January 30, 2013 А как вывести атрибуты в produсt.tpl (v 1.5.4.1)? Что-то никак не получается там сделать. Конкретно, в блоке <div class="description">, где модель, наличие...: <div class="description"> <?php if ($manufacturer) { ?> <span><?php echo $text_manufacturer; ?></span> <a href="<?php echo $manufacturers; ?>"><?php echo $manufacturer; ?></a><br /> <?php } ?> <span><?php echo $text_model; ?></span> <?php echo $model; ?><br /> <span><?php echo $text_reward; ?></span> <?php echo $reward; ?><br /> <span><?php echo $text_stock; ?></span> <?php echo $stock; ?></div> Link to comment Share on other sites More sharing options... sbupravi Posted January 30, 2013 Share Posted January 30, 2013 Никто не делал разве? Link to comment Share on other sites More sharing options... 2 months later... Juli Posted April 10, 2013 Share Posted April 10, 2013 А как вывести атрибуты в produсt.tpl (v 1.5.4.1)? Что-то никак не получается там сделать. Поддерживаю вопрос. 1.5.4.1 не работает. Кто нибудь решил? 1 Link to comment Share on other sites More sharing options... 2 weeks later... ReBurn Posted April 21, 2013 Share Posted April 21, 2013 Кто сделает это за деньгу? Писать ценник в личку Link to comment Share on other sites More sharing options... sv2109 Posted April 21, 2013 Share Posted April 21, 2013 Кто сделает это за деньгу? Писать ценник в личку Я буквально пару постов выше давал ссылку на готовый модуль https://opencartforum.com/files/file/693-tekstovyi-blok-s-atributami/ Link to comment Share on other sites More sharing options... Prev 1 2 3 4 5 6 Next Page 1 of 6 Create an account or sign in to comment You need to be a member in order to leave a comment Create an account Sign up for a new account in our community. It's easy! Register a new account Sign in Already have an account? Sign in here. Sign In Now Share More sharing options... Followers 2 Go to topic listing Similar Content Вывод паролей БД вместе с ошибкой By zhizherinv, September 8 3 replies 208 views WarStyle September 8 Дополнительное описание Категории By vier, January 16, 2018 описание категория 0 comments 9,822 views vier January 16, 2018 Attribute Category - Атрибуты категории By sv2109, January 21, 2016 атрибут атрибуты (and 3 more) Tagged with: атрибут атрибуты attribute фильтр категория 0 comments 16,198 views sv2109 January 21, 2016 Дополнительное Описание Категориям + Настройки By RoS, June 5, 2021 описание дополнительное описание (and 13 more) Tagged with: описание дополнительное описание категории описание категорий добавить дополнительный текст дополнительное описание категориям добавить текстовое поле добавить дополнительный html extra category description additional description categories additional description readmore read more подробнее читать далее 0 comments 5,039 views RoS June 5, 2021 вывод опций в карточку товара на страницу категорий By arromanus, September 7 0 replies 162 views arromanus September 7 Recently Browsing 0 members No registered users viewing this page. Последние темы Последние дополнения Последние новости All Activity Home Поддержка и ответы на вопросы Песочница Вывод атрибутов вместо описания в категориях Покупателям Оплата дополнений физическими лицами Оплата дополнений юридическими лицами Политика возвратов Разработчикам Регламент размещения дополнений Регламент продаж и поддержки дополнений Виртуальный аккаунт автора Политика продвижения объявлений API каталога дополнений Урегулирование споров по авторским правам Полезная информация Публичная оферта Политика возвратов Политика конфиденциальности Платежная политика Политика Передачи Персональных Данных Политика прозрачности Последние дополнения Monopay від Monobank Polia - By monopay All inclusive By octemplates Знак равно в цене опции товара By web_bond MonoPay оплата для Opencart - модуль для подключения эквайринга Monobank к Opencart By bogdan281989 footer cache By kJlukOo
fjeka Posted August 11, 2012 Share Posted August 11, 2012 Может кому то понадобится сделал vqmodНа версии 1.5.1.3 не работает.А можно сделать так чтобы при отображении сеткой атрибуты выводились в столбик как в модуле Product Display Settings ? Link to comment Share on other sites More sharing options...
onyx Posted November 8, 2012 Share Posted November 8, 2012 Не подскажете как сделать что бы можно еще в это описание вывести наличие. Делаю по анологии - выскакивает ошибка. Посмотрел как это сделано в catalogcontrollerproductproduct.php там вывод с помощью следующего блока: if ($product_info['quantity'] <= 0) { $this->data['stock'] = $product_info['stock_status']; } elseif ($this->config->get('config_stock_display')) { $this->data['stock'] = $product_info['quantity']; } else { $this->data['stock'] = $this->language->get('text_instock'); } Но к catalogcontrollerproductcategory.php так подключить и не удалось. Помогите кто знает Link to comment Share on other sites More sharing options...
ingenerks Posted November 8, 2012 Author Share Posted November 8, 2012 Не подскажете как сделать что бы можно еще в это описание вывести наличие. Делаю по анологии - выскакивает ошибка. Посмотрел как это сделано в catalogcontrollerproductproduct.php там вывод с помощью следующего блока: if ($product_info['quantity'] <= 0) { $this->data['stock'] = $product_info['stock_status']; } elseif ($this->config->get('config_stock_display')) { $this->data['stock'] = $product_info['quantity']; } else { $this->data['stock'] = $this->language->get('text_instock'); } Но к catalogcontrollerproductcategory.php так подключить и не удалось. Помогите кто знает https://opencartforum.com/topic/10263-%D0%BC%D0%BE%D0%B4%D1%83%D0%BB%D1%8C-%D0%B4%D0%BE%D0%B1%D0%B0%D0%B2%D0%BB%D1%8F%D0%B5%D1%82-%D0%B2%D0%BE%D0%B7%D0%BC%D0%BE%D0%B6%D0%BD%D0%BE%D1%81%D1%82%D1%8C-%D0%B2%D1%8B%D0%B1%D0%BE%D1%80%D0%B0-%D0%BA%D0%BE%D0%BB%D0%B8%D1%87%D0%B5%D1%81%D1%82%D0%B2/ тут описано Link to comment Share on other sites More sharing options... onyx Posted November 8, 2012 Share Posted November 8, 2012 Мне нужно НАЛИЧИЕ, тоесть что бы на странице категории в описании товара можно было вывести: "Есть в наличи", "Предзаказ" и тп. По анологии как это сделано в карточке товара Link to comment Share on other sites More sharing options... Einshtein Posted November 9, 2012 Share Posted November 9, 2012 Мне нужно НАЛИЧИЕ, тоесть что бы на странице категории в описании товара можно было вывести: "Есть в наличи", "Предзаказ" и тп. По анологии как это сделано в карточке товараэто легко делается...наличие ещё можно вывести на витрину по аналогии...вот ссылка на блог пользователя этого форума:http://rb.labtodo.com/page/opencart-151-vyvod-informacii-o-nalichii-pod-kartinkoj-v-kataloge-tovarov (не баньте) 1 Link to comment Share on other sites More sharing options... sv2109 Posted November 9, 2012 Share Posted November 9, 2012 Сделал вывод текстового блока с атрибутами отдельным модулем для тех, кому нужно более правильное и функциональное решение данной проблемы и не жалко за это заплатить 150 рублей. Почему лучше это делать модулем я немного описал в этом сообщении. 1 Link to comment Share on other sites More sharing options... 1 month later... TigerHunter777 Posted December 27, 2012 Share Posted December 27, 2012 Подскажите как из всех характеристик вывести одну если известен ее ID? Link to comment Share on other sites More sharing options... 2 weeks later... sholazar Posted January 8, 2013 Share Posted January 8, 2013 Подскажите как из всех характеристик вывести одну если известен ее ID? Исключить все ненужные. Я задавался этим вопросом тут РЕШЕНО Link to comment Share on other sites More sharing options... 2 weeks later... Rashpil Posted January 16, 2013 Share Posted January 16, 2013 Очень помогла данная тема Link to comment Share on other sites More sharing options... 2 weeks later... sbupravi Posted January 30, 2013 Share Posted January 30, 2013 А как вывести атрибуты в produсt.tpl (v 1.5.4.1)? Что-то никак не получается там сделать. Конкретно, в блоке <div class="description">, где модель, наличие...: <div class="description"> <?php if ($manufacturer) { ?> <span><?php echo $text_manufacturer; ?></span> <a href="<?php echo $manufacturers; ?>"><?php echo $manufacturer; ?></a><br /> <?php } ?> <span><?php echo $text_model; ?></span> <?php echo $model; ?><br /> <span><?php echo $text_reward; ?></span> <?php echo $reward; ?><br /> <span><?php echo $text_stock; ?></span> <?php echo $stock; ?></div> Link to comment Share on other sites More sharing options... sbupravi Posted January 30, 2013 Share Posted January 30, 2013 Никто не делал разве? Link to comment Share on other sites More sharing options... 2 months later... Juli Posted April 10, 2013 Share Posted April 10, 2013 А как вывести атрибуты в produсt.tpl (v 1.5.4.1)? Что-то никак не получается там сделать. Поддерживаю вопрос. 1.5.4.1 не работает. Кто нибудь решил? 1 Link to comment Share on other sites More sharing options... 2 weeks later... ReBurn Posted April 21, 2013 Share Posted April 21, 2013 Кто сделает это за деньгу? Писать ценник в личку Link to comment Share on other sites More sharing options... sv2109 Posted April 21, 2013 Share Posted April 21, 2013 Кто сделает это за деньгу? Писать ценник в личку Я буквально пару постов выше давал ссылку на готовый модуль https://opencartforum.com/files/file/693-tekstovyi-blok-s-atributami/ Link to comment Share on other sites More sharing options... Prev 1 2 3 4 5 6 Next Page 1 of 6 Create an account or sign in to comment You need to be a member in order to leave a comment Create an account Sign up for a new account in our community. It's easy! Register a new account Sign in Already have an account? Sign in here. Sign In Now Share More sharing options... Followers 2 Go to topic listing Similar Content Вывод паролей БД вместе с ошибкой By zhizherinv, September 8 3 replies 208 views WarStyle September 8 Дополнительное описание Категории By vier, January 16, 2018 описание категория 0 comments 9,822 views vier January 16, 2018 Attribute Category - Атрибуты категории By sv2109, January 21, 2016 атрибут атрибуты (and 3 more) Tagged with: атрибут атрибуты attribute фильтр категория 0 comments 16,198 views sv2109 January 21, 2016 Дополнительное Описание Категориям + Настройки By RoS, June 5, 2021 описание дополнительное описание (and 13 more) Tagged with: описание дополнительное описание категории описание категорий добавить дополнительный текст дополнительное описание категориям добавить текстовое поле добавить дополнительный html extra category description additional description categories additional description readmore read more подробнее читать далее 0 comments 5,039 views RoS June 5, 2021 вывод опций в карточку товара на страницу категорий By arromanus, September 7 0 replies 162 views arromanus September 7 Recently Browsing 0 members No registered users viewing this page. Последние темы Последние дополнения Последние новости All Activity Home Поддержка и ответы на вопросы Песочница Вывод атрибутов вместо описания в категориях
onyx Posted November 8, 2012 Share Posted November 8, 2012 Мне нужно НАЛИЧИЕ, тоесть что бы на странице категории в описании товара можно было вывести: "Есть в наличи", "Предзаказ" и тп. По анологии как это сделано в карточке товара Link to comment Share on other sites More sharing options...
Einshtein Posted November 9, 2012 Share Posted November 9, 2012 Мне нужно НАЛИЧИЕ, тоесть что бы на странице категории в описании товара можно было вывести: "Есть в наличи", "Предзаказ" и тп. По анологии как это сделано в карточке товараэто легко делается...наличие ещё можно вывести на витрину по аналогии...вот ссылка на блог пользователя этого форума:http://rb.labtodo.com/page/opencart-151-vyvod-informacii-o-nalichii-pod-kartinkoj-v-kataloge-tovarov (не баньте) 1 Link to comment Share on other sites More sharing options...
sv2109 Posted November 9, 2012 Share Posted November 9, 2012 Сделал вывод текстового блока с атрибутами отдельным модулем для тех, кому нужно более правильное и функциональное решение данной проблемы и не жалко за это заплатить 150 рублей. Почему лучше это делать модулем я немного описал в этом сообщении. 1 Link to comment Share on other sites More sharing options... 1 month later... TigerHunter777 Posted December 27, 2012 Share Posted December 27, 2012 Подскажите как из всех характеристик вывести одну если известен ее ID? Link to comment Share on other sites More sharing options... 2 weeks later... sholazar Posted January 8, 2013 Share Posted January 8, 2013 Подскажите как из всех характеристик вывести одну если известен ее ID? Исключить все ненужные. Я задавался этим вопросом тут РЕШЕНО Link to comment Share on other sites More sharing options... 2 weeks later... Rashpil Posted January 16, 2013 Share Posted January 16, 2013 Очень помогла данная тема Link to comment Share on other sites More sharing options... 2 weeks later... sbupravi Posted January 30, 2013 Share Posted January 30, 2013 А как вывести атрибуты в produсt.tpl (v 1.5.4.1)? Что-то никак не получается там сделать. Конкретно, в блоке <div class="description">, где модель, наличие...: <div class="description"> <?php if ($manufacturer) { ?> <span><?php echo $text_manufacturer; ?></span> <a href="<?php echo $manufacturers; ?>"><?php echo $manufacturer; ?></a><br /> <?php } ?> <span><?php echo $text_model; ?></span> <?php echo $model; ?><br /> <span><?php echo $text_reward; ?></span> <?php echo $reward; ?><br /> <span><?php echo $text_stock; ?></span> <?php echo $stock; ?></div> Link to comment Share on other sites More sharing options... sbupravi Posted January 30, 2013 Share Posted January 30, 2013 Никто не делал разве? Link to comment Share on other sites More sharing options... 2 months later... Juli Posted April 10, 2013 Share Posted April 10, 2013 А как вывести атрибуты в produсt.tpl (v 1.5.4.1)? Что-то никак не получается там сделать. Поддерживаю вопрос. 1.5.4.1 не работает. Кто нибудь решил? 1 Link to comment Share on other sites More sharing options... 2 weeks later... ReBurn Posted April 21, 2013 Share Posted April 21, 2013 Кто сделает это за деньгу? Писать ценник в личку Link to comment Share on other sites More sharing options... sv2109 Posted April 21, 2013 Share Posted April 21, 2013 Кто сделает это за деньгу? Писать ценник в личку Я буквально пару постов выше давал ссылку на готовый модуль https://opencartforum.com/files/file/693-tekstovyi-blok-s-atributami/ Link to comment Share on other sites More sharing options... Prev 1 2 3 4 5 6 Next Page 1 of 6 Create an account or sign in to comment You need to be a member in order to leave a comment Create an account Sign up for a new account in our community. It's easy! Register a new account Sign in Already have an account? Sign in here. Sign In Now Share More sharing options... Followers 2 Go to topic listing Similar Content Вывод паролей БД вместе с ошибкой By zhizherinv, September 8 3 replies 208 views WarStyle September 8 Дополнительное описание Категории By vier, January 16, 2018 описание категория 0 comments 9,822 views vier January 16, 2018 Attribute Category - Атрибуты категории By sv2109, January 21, 2016 атрибут атрибуты (and 3 more) Tagged with: атрибут атрибуты attribute фильтр категория 0 comments 16,198 views sv2109 January 21, 2016 Дополнительное Описание Категориям + Настройки By RoS, June 5, 2021 описание дополнительное описание (and 13 more) Tagged with: описание дополнительное описание категории описание категорий добавить дополнительный текст дополнительное описание категориям добавить текстовое поле добавить дополнительный html extra category description additional description categories additional description readmore read more подробнее читать далее 0 comments 5,039 views RoS June 5, 2021 вывод опций в карточку товара на страницу категорий By arromanus, September 7 0 replies 162 views arromanus September 7 Recently Browsing 0 members No registered users viewing this page.
TigerHunter777 Posted December 27, 2012 Share Posted December 27, 2012 Подскажите как из всех характеристик вывести одну если известен ее ID? Link to comment Share on other sites More sharing options...
sholazar Posted January 8, 2013 Share Posted January 8, 2013 Подскажите как из всех характеристик вывести одну если известен ее ID? Исключить все ненужные. Я задавался этим вопросом тут РЕШЕНО Link to comment Share on other sites More sharing options...
Rashpil Posted January 16, 2013 Share Posted January 16, 2013 Очень помогла данная тема Link to comment Share on other sites More sharing options...
sbupravi Posted January 30, 2013 Share Posted January 30, 2013 А как вывести атрибуты в produсt.tpl (v 1.5.4.1)? Что-то никак не получается там сделать. Конкретно, в блоке <div class="description">, где модель, наличие...: <div class="description"> <?php if ($manufacturer) { ?> <span><?php echo $text_manufacturer; ?></span> <a href="<?php echo $manufacturers; ?>"><?php echo $manufacturer; ?></a><br /> <?php } ?> <span><?php echo $text_model; ?></span> <?php echo $model; ?><br /> <span><?php echo $text_reward; ?></span> <?php echo $reward; ?><br /> <span><?php echo $text_stock; ?></span> <?php echo $stock; ?></div> Link to comment Share on other sites More sharing options...
sbupravi Posted January 30, 2013 Share Posted January 30, 2013 Никто не делал разве? Link to comment Share on other sites More sharing options...
Juli Posted April 10, 2013 Share Posted April 10, 2013 А как вывести атрибуты в produсt.tpl (v 1.5.4.1)? Что-то никак не получается там сделать. Поддерживаю вопрос. 1.5.4.1 не работает. Кто нибудь решил? 1 Link to comment Share on other sites More sharing options...
ReBurn Posted April 21, 2013 Share Posted April 21, 2013 Кто сделает это за деньгу? Писать ценник в личку Link to comment Share on other sites More sharing options...
sv2109 Posted April 21, 2013 Share Posted April 21, 2013 Кто сделает это за деньгу? Писать ценник в личку Я буквально пару постов выше давал ссылку на готовый модуль https://opencartforum.com/files/file/693-tekstovyi-blok-s-atributami/ Link to comment Share on other sites More sharing options... Prev 1 2 3 4 5 6 Next Page 1 of 6 Create an account or sign in to comment You need to be a member in order to leave a comment Create an account Sign up for a new account in our community. It's easy! Register a new account Sign in Already have an account? Sign in here. Sign In Now Share More sharing options... Followers 2
Recommended Posts