Кастомизация шаблона attribute_input_radio.php

05.06.2026 09:03
#1
Denxio
Joomshopping forum user no avatar
Name: Denis
15.07.2011
Posts: 20
Кастомизация шаблона attribute_input_radio.php

Добрый день!
Сейчас и product_default.php и complect_product используют один и тот же шаблон для вывода атрибутов attribute_input_radio.php, что приводит к невозможности кастомизировать элементы LABEL для блока с комплектом.
Можно ли как-то создать для complect_product, к примеру, attribute_input_radio_custom.php?


Joomla: 6.1
JoomShopping: 5.9.2
PHP: 8.4.21
MySQL: 8.4.8-8
Website Url: https://obnova.zoolove.com.ua/sobaki/natures-protection/natures-protection-white-dog-adult-small
 
05.06.2026 14:31
#2
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 28542
Aw: Кастомизация шаблона attribute_input_radio.php

Создайте плагин

function onBuildSelectAttributeView(&$view) {
$view->setLayout(.....);
}

 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.