Jump to content

Miguel Bambo

Members
  • Posts

    20
  • Joined

  • Last visited

Profile Information

  • First Name
    Miguel
  • Last Name
    Bambo

Miguel Bambo's Achievements

Newbie

Newbie (1/14)

0

Reputation

1

Community Answers

  1. 6 years without response. So interesting. . . We are still waiting
  2. Hi, I think it is a BUG. I would like to add my own options inside CONDITION variable as illustrated in the image attached but I dont know where I can change core files. I have added 'fair' and 'great' condition options without success. {if !$product->is_virtual && $product->condition} <p id="product_condition"> <label>{l s='Condition:'} </label> {if $product->condition == 'new'} <link itemprop="itemCondition" href="http://schema.org/NewCondition"/> <span class="editable">{l s='New'}</span> {elseif $product->condition == 'used'} <link itemprop="itemCondition" href="http://schema.org/UsedCondition"/> <span class="editable">{l s='Used'}</span> {elseif $product->condition == 'refurbished'} <link itemprop="itemCondition" href="http://schema.org/RefurbishedCondition"/> <span class="editable">{l s='Refurbished'}</span> {elseif $product->condition == 'fair'} <link itemprop="itemCondition" href="http://schema.org/FairCondition"/> <span class="editable">{l s='Fair'}</span> {elseif $product->condition == 'great'} <link itemprop="itemCondition" href="http://schema.org/GreatCondition"/> <span class="editable">{l s='Great'}</span> {/if} </p> {/if} I dont know if I missed something while coding. Your solution is welcome. Regards.
  3. I dont know if I missed something while coding. Your solution is welcome. Regards.
  4. Hi, I would like to add my own options inside CONDITION variable as illustrated in the image attached but I dont know where I can change core files. I have added 'fair' and 'great' condition options without success. {if !$product->is_virtual && $product->condition} <p id="product_condition"> <label>{l s='Condition:'} </label> {if $product->condition == 'new'} <link itemprop="itemCondition" href="http://schema.org/NewCondition"/> <span class="editable">{l s='New'}</span> {elseif $product->condition == 'used'} <link itemprop="itemCondition" href="http://schema.org/UsedCondition"/> <span class="editable">{l s='Used'}</span> {elseif $product->condition == 'refurbished'} <link itemprop="itemCondition" href="http://schema.org/RefurbishedCondition"/> <span class="editable">{l s='Refurbished'}</span> {elseif $product->condition == 'fair'} <link itemprop="itemCondition" href="http://schema.org/FairCondition"/> <span class="editable">{l s='Fair'}</span> {elseif $product->condition == 'great'} <link itemprop="itemCondition" href="http://schema.org/GreatCondition"/> <span class="editable">{l s='Great'}</span> {/if} </p> {/if}
  5. When I put my shop address on the Google Search it returns: A description for this result is not available because of this site's robots.txt – learn more. I dont know where is the problem in the robots.txt file all I find about robots.txt is from Wordpress (a lot) and I cant find some useful explanation on how to adjust (allow) on robots.txt of Prestashop to overcome this issue. All advices are welcome. Thanks.
  6. Thanks. I will test it and let you know afterwards.
  7. Maybe that was due to not find the field to translate those expressions. I have translated on the source .tpl file not allowing me to put two options, english and portuguese words.This is applicable to the date. If you know where to put english and portuguese returned words to facebook like and date (if I am correct) please, share it with me. Regards.
  8. Hi @Flavio's, The code doesn't work so I will go through your second tip to create a variable on the controller file and pass to the tpl file. Thanks.
  9. @Flavio's Thank you very much for your help. I will let you know if those issues were solved. Regards.
  10. @Flávio's Thank you for your prompt response. Yes I want that I will try and I will let you know. And what about the date in the same way? Right now ive tried to change it but just was able to change into this format Example: Saturday, 21 de February,2016. I want to translate the weekday and the month into Portuguese and let it choose according to language flag selection as you did it above. Where to do it. I just saw this part (file: _listing_blog.tpl) {if $config->get('listing_show_created','1')} <span class="blog-created"> <span class="icon-calendar"> {l s='On' mod='leoblog'}: </span> {strtotime($blog.date_add)|date_format:"%A, %e de %B, %Y"} </span> {/if} Thanks. Also I want ''if instruction'' above.
  11. I want something like this but I am not sure where to start. <ul id="first-languages" class="countries_ul"> {foreach from=$languages key=k item=language name="languages"} <li {if $language.iso_code == $lang_iso}class="selected_language"{/if}> {if $language.iso_code != $lang_iso} {assign var=indice_lang value=$language.id_lang} {if isset($lang_rewrite_urls.$indice_lang)} <a href="{$lang_rewrite_urls.$indice_lang|escape:htmlall}" title="{$language.name|escape:'html':'UTF-8'}" rel="alternate" hreflang="{$language.iso_code|escape:'html':'UTF-8'}"> {else} <a href="{$link->getLanguageLink($language.id_lang)|escape:htmlall}" title="{$language.name|escape:'html':'UTF-8'}" rel="alternate" hreflang="{$language.iso_code|escape:'html':'UTF-8'}"> {/if} {/if} <img src="{$img_lang_dir}{$language.id_lang}.jpg" alt="{$language.iso_code|escape:'html':'UTF-8'}" width="16" height="11" /> {if $language.iso_code != $lang_iso} </a> {/if} </li> {/foreach} </ul>
  12. I want if I select the English language Flag in the website the blog returns Facebook like in English. and if I select Portuguese Flag in the website, the blog returns: Facebook like Portuguese. IN RESUME: I want bilingual Social plugin. <script type="text/javascript"> (function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/pt_PT/all.js#xfbml=1"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); </script> Also, I want it for DATE format in my blog posts (weekday and Month ) to be bilingual. For instance if English flag is selected then returns date format like Saturday, February 21, 2016 and if Portuguese flat is selected then return Sábado, 21 de Fevereiro de 2016. So, how to adjust the javascript to set a language acording to the user selection through flag. Regards.
  13. Dear all, I am using Prestashop 1.6.0.14 and this happens for second time to Maps Locator disappear without knowing the cause. Could anyone please help me to fix this issue? Regards. Miguel Bambo.
  14. Dear all, Your silence helped me to fix it at my own. You can set this topic as SOLVED. I have fixed it. Regards. Miguel Bambo.
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More