French Nymphs Posted October 15, 2014 Share Posted October 15, 2014 Hello, I want to have my prices available in Euros, pounds, and dollars on my website www.french-nymphs.com I created the three currencies, and I struggle to activate the 3 of them ( I make the block appear, but no way to make appear other currencies when clicking on the block ) Is it mandatory for me to buy the multicurrency module if I want to display my products in 3 currencies, or I can make it in the 1.6 version for free ? Thank you very much for your answer Stan Link to comment Share on other sites More sharing options...
DrunkBug Posted October 15, 2014 Share Posted October 15, 2014 You dont need to buy any modules for this, default Prestashop's module "Currency block" is enough to fit your needs. Link to comment Share on other sites More sharing options...
French Nymphs Posted October 15, 2014 Author Share Posted October 15, 2014 ok, thank you very much ! Now, I am able to place this module on the left, but NO WAY to make appear my different currencies when I click on the currency block... I am really stuck... All my currencies are activated, maybe the position of the module is not good ? Who knows where to position this module to make it work ? Thank you for your help Stan Link to comment Share on other sites More sharing options...
DrunkBug Posted October 15, 2014 Share Posted October 15, 2014 Hook the module to the top. Because I don't see this module enabled on your website. Link to comment Share on other sites More sharing options...
French Nymphs Posted October 15, 2014 Author Share Posted October 15, 2014 well now, I'm really stuck with the positions.... I don't manage to get it back on the left.... I don't understand on how many places I have to hook that module.... only on top ? thank you for your fast help Drunkbug Link to comment Share on other sites More sharing options...
DrunkBug Posted October 15, 2014 Share Posted October 15, 2014 it needs to be hooked at displayHeader (to include css and js files) and displayTop. By default, it never hooks to left position and it don't need to be hooked there Link to comment Share on other sites More sharing options...
French Nymphs Posted October 15, 2014 Author Share Posted October 15, 2014 ok, I have now in those two categories at the very top... And not showing !!! I'll carry on try all the positions possible until it will appear.... If someone knows how to place it, under or over other modules ( banner, cart...), that would help... Do i have to modify stuff on the filezilla folder to activate the currencies ? You are an amazing help drunkbug, because, I have nearly finished my website, but I'm really stuck on this multi currency !!!!! Link to comment Share on other sites More sharing options...
DrunkBug Posted October 15, 2014 Share Posted October 15, 2014 Try to enable debugging as in this topic http://www.prestashop.com/forums/topic/224525-how-to-turn-on-error-reporting-for-debug-information/ and tell if there are any errors. Link to comment Share on other sites More sharing options...
French Nymphs Posted October 15, 2014 Author Share Posted October 15, 2014 OK, i'll have a look at it with my girlfriend later, because she's better than me on that, and I'll tell you back Big thanks Link to comment Share on other sites More sharing options...
DrunkBug Posted October 15, 2014 Share Posted October 15, 2014 (edited) Oh, wait... is your shop in catalog mode? Because I don't see any prices for your products. In catalog mode, Prestashop doesn't show currency block, nor the prices. Catalog mode can be set on or off in Preferences -> Products Edited October 15, 2014 by DrunkBug (see edit history) Link to comment Share on other sites More sharing options...
French Nymphs Posted October 15, 2014 Author Share Posted October 15, 2014 ok, my cart is back !! I forgot about this catalog ! now I'll carry on searching.... it's not about a bug, it's about my modules positions I'm sure... I already had the currencies on the left.... I have to find back the good positions of each module Link to comment Share on other sites More sharing options...
French Nymphs Posted October 15, 2014 Author Share Posted October 15, 2014 wow ! My currency button is ugly on the left, but it is there.... One small step for me... Now i have to understand how to make appear euros and dollars when clicking on the currency button drunkbug , where do you advise me to place this currency button ? it's true that it's ugly on the left... Link to comment Share on other sites More sharing options...
DrunkBug Posted October 15, 2014 Share Posted October 15, 2014 Put it in top position, somewhere near the cart or Your account link. Have you changed css of blockcurrencies or some js files? Because Prestashop populates all currencies, but dropdown doesn't "drop down". So can't tell for now why it doesn't work as it should. Link to comment Share on other sites More sharing options...
French Nymphs Posted October 15, 2014 Author Share Posted October 15, 2014 I have touched nothing about currencies in filezilla , I just move the positions of the modules, but I think I'll have to look in css to solve this problem. When you say "dropdown", you mean that no other currency appears when you click on the button , right ? Link to comment Share on other sites More sharing options...
French Nymphs Posted October 15, 2014 Author Share Posted October 15, 2014 I have no module at all in the displaynav hook... maybe I should have modules in this hook ? Link to comment Share on other sites More sharing options...
DrunkBug Posted October 15, 2014 Share Posted October 15, 2014 Yes, they don't appear, but in source code, they are populated, so it's issue with css or with javascript. In displaynav hook, only navigation (blocktopmenu) should be hooked. But it's not a necessity Link to comment Share on other sites More sharing options...
French Nymphs Posted October 15, 2014 Author Share Posted October 15, 2014 ok, so I must move my currency block from display nav, and just have it on top and header position. I am in France, and I someone know if I can pay to call a hotline, that would be nice, because I'm really struggling on this multi currencies story... Link to comment Share on other sites More sharing options...
French Nymphs Posted October 15, 2014 Author Share Posted October 15, 2014 my blockcurrencies.tpl is like below, with my currency button on my website www.french-nymphs.com, unable to show dollars and euros... Someone knows what to change in that code to make appear other currencies when I click on the currency button ? Big thanx for your help... <!-- Block currencies module --> {if count($currencies) > 1} <div id="currencies-block-top"> <form id="setCurrency" action="{$request_uri}" method="post"> <div class="current"> <input type="hidden" name="id_currency" id="id_currency" value=""/> <input type="hidden" name="SubmitCurrency" value="" /> <span class="cur-label">{l s='Currency' mod='blockcurrencies'} :</span> {foreach from=$currencies key=k item=f_currency} {if $cookie->id_currency == $f_currency.id_currency}<strong>{$f_currency.iso_code}</strong>{/if} {/foreach} </div> <ul id="first-currencies" class="currencies_ul toogle_content"> {foreach from=$currencies key=k item=f_currency} <li {if $cookie->id_currency == $f_currency.id_currency}class="selected"{/if}> <a href="javascript:setCurrency({$f_currency.id_currency});" rel="nofollow" title="{$f_currency.name}"> {$f_currency.name} </a> </li> {/foreach} </ul> </form> </div> {/if} <!-- /Block currencies module --> Link to comment Share on other sites More sharing options...
DrunkBug Posted October 16, 2014 Share Posted October 16, 2014 In your header.tpl file, find <div class="header"> and change it to <div id="header" class="header"> and tell if it works Link to comment Share on other sites More sharing options...
French Nymphs Posted October 16, 2014 Author Share Posted October 16, 2014 ok, here's the content of my header.tpl file.... I can not change what you told me drunkbug ...maybe there's a problem on this header structure, I'll will search for header.tpl file problem on forums... thanx for your help if someone knows !!! {if isset($homeslider)} {addJsDef homeslider_loop=$homeslider.loop|intval} {addJsDef homeslider_width=$homeslider.width|intval} {addJsDef homeslider_speed=$homeslider.speed|intval} {addJsDef homeslider_pause=$homeslider.pause|intval} {/if} Link to comment Share on other sites More sharing options...
French Nymphs Posted October 16, 2014 Author Share Posted October 16, 2014 infact, the previous code is found in the homeslider.... i'm wrong, I must find the header.tpl file of the theme.... I'm looking for that, it's hard to find, but i'll find it ! Link to comment Share on other sites More sharing options...
French Nymphs Posted October 16, 2014 Author Share Posted October 16, 2014 OK i found the good one, but no way to find the line you told me to modify drunk bug... here's the total text of my theme header.tpl thanks for your help Stan <!DOCTYPE HTML> <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7 " lang="{$lang_iso}"><![endif]--> <!--[if IE 7]><html class="no-js lt-ie9 lt-ie8 ie7" lang="{$lang_iso}"><![endif]--> <!--[if IE 8]><html class="no-js lt-ie9 ie8" lang="{$lang_iso}"><![endif]--> <!--[if gt IE 8]> <html class="no-js ie9" lang="{$lang_iso}"><![endif]--> <html lang="{$lang_iso}"> <head> <meta charset="utf-8" /> <title>{$meta_title|escape:'html':'UTF-8'}</title> {if isset($meta_description) AND $meta_description} <meta name="description" content="{$meta_description|escape:'html':'UTF-8'}" /> {/if} {if isset($meta_keywords) AND $meta_keywords} <meta name="keywords" content="{$meta_keywords|escape:'html':'UTF-8'}" /> {/if} <meta name="generator" content="PrestaShop" /> <meta name="robots" content="{if isset($nobots)}no{/if}index,{if isset($nofollow) && $nofollow}no{/if}follow" /> <meta name="viewport" content="width=device-width, minimum-scale=0.25, maximum-scale=1, initial-scale=1.0" /> <meta name="apple-mobile-web-app-capable" content="yes" /> <link rel="icon" type="image/vnd.microsoft.icon" href="{$favicon_url}?{$img_update_time}" /> <link rel="shortcut icon" type="image/x-icon" href="{$favicon_url}?{$img_update_time}" /> {if isset($css_files)} {foreach from=$css_files key=css_uri item=media} <link rel="stylesheet" href="{$css_uri|escape:'html':'UTF-8'}" type="text/css" media="{$media|escape:'html':'UTF-8'}" /> {/foreach} {/if} {if isset($js_defer) && !$js_defer && isset($js_files) && isset($js_def)} {$js_def} {foreach from=$js_files item=js_uri} <script type="text/javascript" src="{$js_uri|escape:'html':'UTF-8'}"></script> {/foreach} {/if} {$HOOK_HEADER} <!--[if IE 8]> <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script> <![endif]--> </head> <body{if isset($page_name)} id="{$page_name|escape:'html':'UTF-8'}"{/if} class="{if isset($page_name)}{$page_name|escape:'html':'UTF-8'}{/if}{if isset($body_classes) && $body_classes|@count} {implode value=$body_classes separator=' '}{/if}{if $hide_left_column} hide-left-column{/if}{if $hide_right_column} hide-right-column{/if}{if isset($content_only) && $content_only} content_only{/if} lang_{$lang_iso}"> {if !isset($content_only) || !$content_only} {if isset($restricted_country_mode) && $restricted_country_mode} <div id="restricted-country"> <p>{l s='You cannot place a new order from your country.'} <span class="bold">{$geolocation_country|escape:'html':'UTF-8'}</span></p> </div> {/if} {if $page_name=="index"} <!-- slider start --> {hook h="displaySlider"} {/if} {hook h="displayNav"} <div class="top"> {if isset($HOOK_TOP)}{$HOOK_TOP}{/if} </div> <div id="page"> <div class="columns-container"> <div id="columns" class="container"> {if $page_name !='index' && $page_name !='pagenotfound'} {include file="$tpl_dir./breadcrumb.tpl"} {/if} <div id="slider_row" class="row"> <div id="top_column" class="center_column col-xs-12 col-sm-12">{hook h="displayTopColumn"}</div> </div> <div class="row"> {if isset($left_column_size) && !empty($left_column_size) } <div id="left_column" class="column col-xs-12 col-sm-{$left_column_size|intval} hidden-xs">{$HOOK_LEFT_COLUMN}</div> {/if} {if isset($left_column_size) && isset($right_column_size)}{assign var='cols' value=(12 - $left_column_size - $right_column_size)}{else}{assign var='cols' value=12}{/if} <div id="center_column" class="center_column col-xs-12 col-sm-{$cols|intval}"> {/if} Link to comment Share on other sites More sharing options...
DrunkBug Posted October 16, 2014 Share Posted October 16, 2014 Why do people code new themes when they don't know what are they doing? For some reason, the code that should be in your header.tpl file, is removed, and is put in modules/blockuserinfo/blockuserinfo.tpl It's NOT a Prestashop issue, your theme is so poorly coded... Try to find that code in blockuserinfo.tpl Also, you messed a lot with the hooks, and some modules are hooked in a very strange way. Link to comment Share on other sites More sharing options...
French Nymphs Posted October 16, 2014 Author Share Posted October 16, 2014 OK, it's turning really complicated for me to change all the tpl files. One last question : would it be OK if I buy and install the multi currency module instead of all those changes ? I just want my price in euros, pounds and dollars, no problem if the presentation is dropdown or not, as long as it's clean. In other words, will I solve my currencies problem by buying the multi currencies modules, and ignoring those tpl files ? Or it's more complicated ? Thanks Link to comment Share on other sites More sharing options...
DrunkBug Posted October 16, 2014 Share Posted October 16, 2014 Who knows. As I said, your styling is bad, your hooks are bad, so no one can tell if everything will work fine even if you purchase new module. Default module also works out of the box. But when the code is not messed up. Link to comment Share on other sites More sharing options...
French Nymphs Posted October 16, 2014 Author Share Posted October 16, 2014 well, thank you very much, I think I won't nuy this module, because it will be a source of problems if my basic structure is bad... I'll try to pay a profesionnal for a few hours to get a clean website. Thank you for your help ! Link to comment Share on other sites More sharing options...
DrunkBug Posted October 16, 2014 Share Posted October 16, 2014 Why don't you make a fresh install and just buy a new theme that fits your needs? It would be much easier and probably cheaper. Link to comment Share on other sites More sharing options...
French Nymphs Posted October 17, 2014 Author Share Posted October 17, 2014 HEY ! I cleared the caches, and the currencies are OK now www.french-nymphs.com It's working perfectly ! I have two last question to have the cherry on top of the cake 1.Now I just have a problem with the quick search bar, when I delete it, It's breaking my slider... How to delete this search bar without breaking the home aspect ? 2. If I want to choose where to place my currency block, I must changes codes in filezilla folder, right ? Thanks ! Link to comment Share on other sites More sharing options...
Recommended Posts