Jump to content

Flávio's

Members
  • Posts

    33
  • Joined

  • Last visited

2 Followers

About Flávio's

  • Birthday 08/29/1989

Contact Methods

  • Skype
    flavio.s.de.lima

Profile Information

  • Location
    Goiânia
  • Interests
    PHP, PrestaShop Development, MySql.
  • First Name
    Flávio
  • Last Name
    Lima
  • Activity
    Agency

Recent Profile Visitors

556 profile views

Flávio's's Achievements

Newbie

Newbie (1/14)

9

Reputation

2

Community Answers

  1. Hi bissio, I found the solution here https://www.h-hennes.fr/blog/2017/04/11/prestashop-1-7-correction-bug-traduction-dans-controller-admin-dun-module/ I just edited the line $translated = $this->translator->trans($string); to $translated = Context::getContext()->getTranslator()->trans($string); and all works fine, I hope it help you!
  2. Hi, I am developing one module to prestashop 1.7.1.1, but when I enable the "profiling" option in define.inc.php I receive this error " Fatal error: Cannot redeclare class Controller in /var/www/prestashop_1.7.1.1/tools/profiling/Controller.php on line 0" anyone has passed this error?
  3. Hi guys, I am using a PrestaShop instalation with multiple stores enabled, but when I create one especific price to some product, this rule just disappear, from my screen, I would like to know what class or controllers I can try fix to solve this..... this rule is saved on the database and appear on the front-end, but they dont show on my backoffice product page.... I am using PrestaShop 1.6.7....
  4. Hi, What is the PrestaShop version you are using? Try to update you version for one more recently version.
  5. I have a price rule for one group of clients with 20% of discount, and I have a specific product price with 30% for any client group, I would like that my rule of 20% of discount does not applied to the product with 30% of discount, how can I do that?
  6. O que o Daniel falou é verdade, não da para usar um ssl compartilhado em uma loja, verifique se a sua hospedagem vende o serviço ssl para você ou se permite a instalação de um ssl de terceiro.
  7. To translate the facebook block, try to use.... to me works fine. //console.log(jQuery('html')[0].lang+'test'); var lang = jQuery('html')[0].lang; if(lang=='pt-pt') js.src = "//connect.facebook.net/pt_PT/all.js#xfbml=1&appId=334341610034299"; else if(lang=='pt-br') js.src = "//connect.facebook.net/pt_BR/all.js#xfbml=1&appId=334341610034299"; else js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=334341610034299"; fjs.parentNode.insertBefore(js, fjs); in your case would be <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; var lang = jQuery('html')[0].lang; if(lang=='pt-pt') js.src = "//connect.facebook.net/pt_PT/all.js#xfbml=1"; else js.src = "//connect.facebook.net/en_us/all.js#xfbml=1"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); </script>
  8. Yes, you will use in the same way {if $config->get('listing_show_created','1')} <span class="blog-created"> <span class="icon-calendar"> {l s='On' mod='leoblog'}: </span> {if isset($language_code) && $language_code=="en-us"} {strtotime($blog.date_add)|date_format_locale:"%A, %e de %B, %Y":"us_EN"} {else} {strtotime($blog.date_add)|date_format_locale:"%A, %e de %B, %Y":"pt_PT"} {/if} </span> {/if} for more information.... http://www.smarty.net/docsv2/pt_BR/language.modifier.date.format.tpl http://www.smarty.net/forums/viewtopic.php?t=18512&view=next&sid=b200241d77e8ce69d50478f5f93cdc1a If it does not work, you will need create a variable on the controller file and pass to the tpl file.... http://doc.prestashop.com/display/PS15/Using+the+Context+Object
  9. Boa Noite, Você já tentou limpar o cache? isso pode ajudar a aparecer seus produtos não encontrados, verifique também se o produto estão setados como visíveis a busca é feita com base nas palavras do titulo, breve descrição e descrição do produto, verifique isto também.
  10. Hi, I supose that you are trying to change it on the template file (.tpl), you should use the smarty template language.... try to use <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; {if isset($language_code) && $language_code=="en-us"} js.src = "//connect.facebook.net/en_us/all.js#xfbml=1"; {else} js.src = "//connect.facebook.net/pt_PT/all.js#xfbml=1"; {/if} fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); </script>
  11. Try to contact the developers of this modules, they maybe offer one solution to you..... http://addons.prestashop.com/pt/transportadoras/9179-block-zip-post-code-checker.html http://addons.prestashop.com/pt/formas-pagamento-alternativas/16851-payment-restriction-by-carrier.html
  12. I found an erro on a third party module and fix then. thanks.
  13. This is a exclusive feature of the shipping method that you choose.... try to find in your country the shipping service that permit you choose exclude states... what's your country?
  14. Hi , I initiated configure a store, but when I using the module sendtoafriend , when the email opens and I click in the product link , the new page that opens is auto closing ... the email link is like this... <a href="http://sitename.com.br/ecommerce/summer-dresses/5-printed-summer-dress.html" style="color:#337ff1" target="_blank">Blouse</a> How can I fix it?
×
×
  • Create New...