Frenchy Posted April 8, 2018 Share Posted April 8, 2018 Hello everyone, I have a position names "displayNavBar2" with 4 modules : Cart and Account Module works and appear on my page : But like the title says, Currency and Language selector module doesn't appear I have this code on PhpStorm : <!- I display the position on my page like this... -> <div class="right-nav"> {hook h='displayNav2'} </div> In my browser i have : <div class="right-nav"> <div id="_desktop_currency_selector"> <div class="currency-selector dropdown js-dropdown"> <span class="currency">Devise :</span> <span class="expand-more _gray-darker" data-toggle="dropdown"></span> <a data-target="#" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" class="hidden-sm-down"> <div class="currency-icons"></div> <div class="select-icons-arrow"></div> </a> <ul class="dropdown-menu" aria-labelledby="dLabel"> <li class="current"> <a title="euro" rel="nofollow" href="http://exemple.local/?SubmitCurrency=1&id_currency=1" class="dropdown-item">EUR €</a> </li> <li> <a title="livre sterling" rel="nofollow" href="http://exemple.local/?SubmitCurrency=1&id_currency=3" class="dropdown-item">GBP £</a> </li> <li> <a title="dollar des États-Unis" rel="nofollow" href="http://erika.local/?SubmitCurrency=1&id_currency=2" class="dropdown-item">USD $</a> </li> </ul> <select class="link hidden-md-up"> <option value="http://exemple.local/?SubmitCurrency=1&id_currency=1" selected="selected">EUR €</option> <option value="http://exemple.local/?SubmitCurrency=1&id_currency=3">GBP £</option> <option value="http://exemple.local/?SubmitCurrency=1&id_currency=2">USD $</option> </select> </div> </div><div id="_desktop_user_info"> <div class="user-info"> <a href="http://exemple.local/mon-compte" title="Identifiez-vous" rel="nofollow"> <i class="material-icons"></i> <span class="hidden-sm-down">Connexion</span> </a> </div> </div><div id="_desktop_cart"> <div class="blockcart cart-preview inactive" data-refresh-url="//exemple.local/module/ps_shoppingcart/ajax"> <div class="header"> <i class="material-icons shopping-cart">shopping_cart</i> <span class="hidden-sm-down">Panier</span> <span class="cart-products-count">(0)</span> </div> </div> </div> <div id="searchBarMobile" style="display: none; margin: auto"> <!-- Block search module TOP --> <div id="search_widget" class="col-lg-4 col-md-5 col-sm-12 search-widget" data-search-controller-url="//exemple.local/recherche"> <form method="get" action="//exemple.local/recherche"> <input name="controller" value="search" type="hidden"> <span role="status" aria-live="polite" class="ui-helper-hidden-accessible"></span><input name="s" value="" placeholder="Rechercher" class="ui-autocomplete-input" autocomplete="off" type="text"> <button type="submit"> <i class="material-icons search"></i> </button> </form> </div> <!-- /Block search module TOP --> </div> </div> Plesa give me some help Thanks ! 1 Link to comment Share on other sites More sharing options...
vekia Posted April 13, 2018 Share Posted April 13, 2018 firstly please verify if you have at least 2 active lagnuages and 2 active currencies, if not - currency and language switchers will not appear Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now