Jump to content

mrweb

Members
  • Posts

    35
  • Joined

  • Last visited

mrweb's Achievements

Newbie

Newbie (1/14)

  • First Post Rare
  • Collaborator Rare
  • Conversation Starter Rare
  • Week One Done Rare
  • One Month Later Rare

Recent Badges

0

Reputation

  1. Ok but where I add your code ? In /www/controllers/front/ProductController.php it's not working
  2. I just add your code in /www/controllers/front/ProductController.php but it's still empty in the sitemap What is "custom controller" please ? Thanks for your help
  3. Hi Thanks for your fast answer I placed your code in sitemap.tpl In the code I see this : <div class="row sitemap-products col-xs-12"> <div class="col-md-12"> <h2></h2> <ul> </ul> </div> </div> The loop is empty, no products display I attach the file I have tried with this also, the result is empty again <div id="products"> <div class="products row"> {foreach from=$products item="product"} {include file="catalog/_partials/miniatures/product.tpl" product=$product} {/foreach} </div> </div> Thanks for your help sitemap.tpl
  4. Hi Prestashop 1.7.8.0 I'd like to all the products list in the sitemap.tpl Example on demo : https://hollow-office.demo.prestashop.com/en/sitemap In this page, we have already the list of the categories is it possible to display the list of all the products with links in 1 new column and/or display the products by category Thanks for your help
  5. Hi I trying to find a solution to display the icon "font family" in the editor for cms pages Thanks for your help
  6. Oui c'est ça mais je ne sais toujours pas comment afficher le prix correct écotaxe inclue dans le panier
  7. No I didn't find any solution after hours of tests The last version 1.7.6 have many bugs, specially when you want to install a 2nd template I used the 1.7.5.2 which works correctly
  8. Bonjour Suite à un vieux post de 2015 de @erouvier29 je viens de tester la correction qu'il proposait dans le fichier Cart.php $specific_price_output, Configuration::get('PS_USE_ECOTAX'), // FIX_ECOTAX true, $cart_shop_context Le prix du panier est bien modifié mais il est faux Exemple avec un produit : Prix TTC affiché dans fiche produit : 39.90 dont 0.20 d'écotaxe Sans correction le prix s'affiche à 39.70 dans le panier Avec la correction il s'affiche à 39.94 Je suis preneur d'une aide pour régler de problème d'écotaxe Merci d'avance !
  9. Hi I use Prestashop 1.7.5.2 and I need to add an item with dropdown submenu in ps_mainmenu.tpl, after the categories With the BO I can add an item (cms page) but no submenu possible Could you help me please ? Thanks!
  10. Hi I use Prestashop 1.7.5.2 and I need to add add item with submenu in ps_mainmenu.tpl, at the end (right) With the BO I can add an item (cms page) bt no submenu possible Thanks for your help {assign var=_counter value=0} {function name="menu" nodes=[] depth=0 parent=null} {if $nodes|count} <ul class="top-menu" {if $depth == 0}id="top-menu"{/if} data-depth="{$depth}"> {foreach from=$nodes item=node} <li class="{$node.type}{if $node.current} current {/if}" id="{$node.page_identifier}"> {assign var=_counter value=$_counter+1} <a class="{if $depth >= 0}dropdown-item{/if}{if $depth === 1} dropdown-submenu{/if}" href="{$node.url}" data-depth="{$depth}" {if $node.open_in_new_window} target="_blank" {/if} > {if $node.children|count} {* Cannot use page identifier as we can have the same page several times *} {assign var=_expand_id value=10|mt_rand:100000} <span class="pull-xs-right hidden-lg-up"> <span data-target="#top_sub_menu_{$_expand_id}" data-toggle="collapse" class="navbar-toggler collapse-icons"> <i class="material-icons add">&#xE313;</i> <i class="material-icons remove">&#xE316;</i> </span> </span> {/if} {$node.label} </a> {if $node.children|count} <div {if $depth === 0} class="popover sub-menu js-sub-menu collapse"{else} class="collapse"{/if} id="top_sub_menu_{$_expand_id}"> {menu nodes=$node.children depth=$node.depth parent=$node} <div class="menu-banners"> {foreach from=$node.image_urls item=image_url} <div class="menu-banner"> <img src="{$image_url}" alt=""/> </div> {/foreach} </div> </div> {/if} </li> {/foreach} </ul> {/if} {/function} <div class="menu col-lg-8 col-md-7 js-top-menu position-static hidden-md-down" id="_desktop_top_menu"> {menu nodes=$menu.children} <div class="clearfix"></div> </div>
  11. Bonjour Je souhaite ajouter un lien supplémentaire qui ouvre un sous-menu à la fin du menu des catégories Par l'admin on peut ajouter des pages CMS mais pas sous-menu possible Prestashop 1.7.5.2 Merci pour votre aide {assign var=_counter value=0} {function name="menu" nodes=[] depth=0 parent=null} {if $nodes|count} <ul class="top-menu" {if $depth == 0}id="top-menu"{/if} data-depth="{$depth}"> {foreach from=$nodes item=node} <li class="{$node.type}{if $node.current} current {/if}" id="{$node.page_identifier}"> {assign var=_counter value=$_counter+1} <a class="{if $depth >= 0}dropdown-item{/if}{if $depth === 1} dropdown-submenu{/if}" href="{$node.url}" data-depth="{$depth}" {if $node.open_in_new_window} target="_blank" {/if} > {if $node.children|count} {* Cannot use page identifier as we can have the same page several times *} {assign var=_expand_id value=10|mt_rand:100000} <span class="pull-xs-right hidden-lg-up"> <span data-target="#top_sub_menu_{$_expand_id}" data-toggle="collapse" class="navbar-toggler collapse-icons"> <i class="material-icons add">&#xE313;</i> <i class="material-icons remove">&#xE316;</i> </span> </span> {/if} {$node.label} </a> {if $node.children|count} <div {if $depth === 0} class="popover sub-menu js-sub-menu collapse"{else} class="collapse"{/if} id="top_sub_menu_{$_expand_id}"> {menu nodes=$node.children depth=$node.depth parent=$node} <div class="menu-banners"> {foreach from=$node.image_urls item=image_url} <div class="menu-banner"> <img src="{$image_url}" alt=""/> </div> {/foreach} </div> </div> {/if} </li> {/foreach} </ul> {/if} {/function} <div class="menu col-lg-8 col-md-7 js-top-menu position-static hidden-md-down" id="_desktop_top_menu"> {menu nodes=$menu.children} <div class="clearfix"></div> </div>
  12. Hi Because Prestashop 1.7.6 is a mess, I have turn back to 1.7.5.2 I'm trying to add a new column in the footer with Bloc categories list in footer Thanks for your help
  13. Hi I have just setup Prestashop 1.7.6.0 I want to update translations and I get the error message (attached file) : Invalid resource provided "1.2"...... in /home/www/xxx/... line2, column 0 i have installed another template I bought : same error Exported the fr-FR.fr-FR.xlf and placed it in /themes/theme1/translations/fr-FR/ i have updated language from PrestaShop.com Still not working Tried also to copy language from classic to new template, I get the message : Impossible to copy "themes/classic/lang/fr.php" -> This file is missing on the ftp Thanks from your help
  14. Hi I have just setup Prestashop 1.7.6.0 I want to update translations and I get the error message (attached file) : Invalid resource provided "1.2"...... in /home/www/xxx/... line2, column 0 i have installed another template I bought : same error Exported the fr-FR.fr-FR.xlf and placed it in /themes/theme1/translations/fr-FR/ i have updated language from PrestaShop.com Still not working Tried also to copy language from classic to new template, I get the message : Impossible to copy "themes/classic/lang/fr.php" -> This file is missing on the ftp Thanks from your help
×
×
  • Create New...