Search the Community
Showing results for tags 'overrride'.
-
Hi, I would like to display a column with the product tags in admin (in product listing) : (On the screenshot, i’ve translated the column name "tag" by "artists" but it is the tag datas) I’ve created an override of AdminProductsController.php Then, I’ve extended the query in order to display tags in a column. $this->_join .= ' LEFT JOIN `' . _DB_PREFIX_ . 'product_tag` AS p_tag ON (p_tag.`id_product` = a.`id_product`) '; Now, i can display the tag id in a column. How can i have now the tag name (column name of tag table) I don’t know how to make this double join in pretsashop ?
-
How to Override a same method in admin order controller by several Modules in prestashop 1.5 example i need to override a postprocess method in admin order controller by two different custom modules. help me please Thanks in Advance
- 14 replies
-
- 1
-
-
- prestashop1.5
- modules
-
(and 3 more)
Tagged with:
-
Hi, When override CartController->preProcess() and add product to a cart, call preProcess original, then call same method in override controller and result is add 2 product. How to solve this? Version is 1.4.8.3 Thanks
- 2 replies
-
- controller
- cart
-
(and 1 more)
Tagged with:
-
Bonjour, Je viens d'installer la dernière version de Prestashop (1.5.0.13) et je ne parvient pas à utiliser l'override de mes modules. Je m'explique : => Je souhaitertais créer un css différent pour le module Blocksearch => J'ai donc créer donc mon thème un dossier /override dans lequel j'ai créé un dossier /modules dans lequel j'ai créé un dossier /blocksearch qui correspond au nom de mon module. => J'ai ensuite placé le fichier css blocksearch.css dans ce dossier et j'ai envoyé le tout en ligne => Ce qui donne le chemin complet : /themes/mon_theme/override/modules/blocksearch/blocksearch.css Mais malheuresement, le fichier css pris en compte est celui d'origine : /modules/blocksearch/blocksearch.css Comment faire pour cabler mon nouveau fichier css ?? Peut-être devrait-je modifier dans mon fichier blocksearch.php l'appel suivant : $this->context->controller->addCSS(($this->_path).'blocksearch.css', 'all'); Merci d'avance pour vos réponses. Cordialement, Quentin.