Jump to content

tozi

Members
  • Posts

    502
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

tozi's Achievements

Newbie

Newbie (1/14)

11

Reputation

14

Community Answers

  1. Solution is: modules/blocklanguages/blocklanguages.tpl commented or delete this: <script type="text/javascript"> $(document).ready(function () { $("#countries").mouseover(function(){ $(this).addClass("countries_hover"); $(".countries_ul").addClass("countries_ul_hover"); }); $("#countries").mouseout(function(){ $(this).removeClass("countries_hover"); $(".countries_ul").removeClass("countries_ul_hover"); }); }); </script> classes/Link.php (line 643) replace this: return Language::getIsoById($id_lang).'/'; with this: if (Configuration::get('PS_LANG_DEFAULT') == $id_lang) { return ''; }else{ return Language::getIsoById($id_lang).'/'; } classes/Tools.php (line 396) replace this: if (($iso = Tools::getValue('isolang')) && Validate::isLanguageIsoCode($iso) && ($id_lang = (int)Language::getIdByIso($iso))) $_GET['id_lang'] = $id_lang; with this: if ( !( ($iso = Tools::getValue('isolang')) && Validate::isLanguageIsoCode($iso) && ($id_lang = (int)Language::getIdByIso($iso)) ) ){ $_GET['id_lang'] = Configuration::get('PS_LANG_DEFAULT'); }else{ $_GET['id_lang'] = $id_lang; } Thats all.
  2. Hi all, i have 2 languages. Link http://www.adac-pneu.cz/cs/ I have czech language http://www.adac-pneu.cz/cs/ and slovak http://www.adac-pneu.cz/sk/ What i need? Delete cs/ from link. I tried this in httaccess but didnt work. RewriteEngine on RewriteCond %{HTTP_HOST} ^www.adac-pneu.cz$ RewriteRule . - [E=REWRITEBASE:/] RewriteRule ^api/?(.*)$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L] RewriteRule ^cs/(.*)$ /$1 [R=302,L] I have presta 1.5.6.1. In BO i have default language czech.
  3. Hi all, i need in quick order show some text for a specific carrier with id 10. How can i add text? I tried some like {if isset($cart->id_carrier) && $cart->id_carrier == 10} {* some stuff here *} {/if} But didnt work. I have prestashop 1.5.6.1.Thanks
  4. Hi all, here is my page http://www.adac-pneu.cz/quick-order If i add (+/-) new product in this cart. Then carrier price nod update. Ajax problem? How can i fix this problem? Here is the code from order-carrier.tpl {if $carrier.price} <span class="price"> {if $priceDisplay == 1}{convertPrice price=$carrier.price_tax_exc}{else}{convertPrice price=$carrier.price}{/if} </span> {if $use_taxes}{if $priceDisplay == 1} {l s='(tax excl.)'}{else} {l s='(tax incl.)'}{/if}{/if} {else} {l s='Free!'} {/if}
  5. Solution is {$order->id} or better {$order->id|string_format:"%06d"}
  6. Hi all, how can i change this QTXBBTCDL To this #15, i need in this place only ID order. Code is here {l s='Order Reference %s - placed on' sprintf=$order->getUniqReference()} {dateFormat date=$order->date_add full=0} I tried this #{$order.id_order} but didnt work. I have presta 1.5.6.1
  7. Hi all, i install this module in my presta 1.5.6.1. And in email from this module i have this Welcome {firstname} {lastname}. Any ideas why it does not show the name? Thanks Michal
  8. So i have a simply solution. Change img/404.gif
  9. Hi, i have this good? {assign var=current_image value=getimagesize($link->getImageLink($product.link_rewrite, $product.id_image, 'home_default')|escape:'html')} {if $current_image[0] eq 125}test{else}<img src="{$link->getImageLink($product.link_rewrite, $product.id_image, 'home_default')|escape:'html'}" alt="{if !empty($product.legend)}{$product.legend|escape:'htmlall':'UTF-8'}{else}{$product.name|escape:'htmlall':'UTF-8'}{/if}" title="{if !empty($product.legend)}{$product.legend|escape:'htmlall':'UTF-8'}{else}{$product.name|escape:'htmlall':'UTF-8'}{/if}" {if isset($homeSize)} {/if} height="170" />{/if}
  10. Yes thats is not a global image. It is possible change this image for own custom? I have 50 000 products in page,then is not possible change every image manually.
  11. Here http://www.dobrypneu.cz/new/39-pneumatiky
  12. Yes it has already been done, but there is this picture does not change.
  13. Hi all, how can i change this picture http://greycat.eu/otaznik.png ? I have own custom image, and i need change this default.
×
×
  • Create New...