Jump to content

All Activity

This stream auto-updates

  1. Past hour
  2. Today
  3. Yesterday
  4. it is easy to do it with this module : https://www.myprestastore.com/downloads/master-promo-module-prestashop/
  5. Ciao, se scorri la pagina c'è scritto come trovare il modulo 103 e cosa fare. M.
  6. I was searching an answer, bceause this error appeared in my store (PS 1.7.7.7)... Strange but this problems looks that was connected with cookie sessions life-time. When I have ths problem in one brower, at the same time in another browser everything works fine. What I did to resolve it? I set much shorter time (12 hours) in BO for cookie lifetime for BO nad for FO. Then I clear browser cache - and works again :)
  7. Bonjour, Pour Prestashop 1.7, il faut surcharger TaxRulesTaxManagerCore. Créer le fichier /override/tax/TaxRulesTaxManager.php (ou créer un module dédié) et ajouter le code suivant : class TaxRulesTaxManager extends TaxRulesTaxManagerCore { public function getTaxCalculator() { if ($this->address->id_country != Configuration::get('PS_COUNTRY_DEFAULT')) { $vatNumber = $this->address->vat_number; if (empty($vatNumber)) { $id_customer = $this->address->id_customer; $context = Context::getContext(); if (isset($context->cart)) { $billingAddress = new Address((int)$context->cart->id_address_invoice); if ($billingAddress->id_country != Configuration::get('PS_COUNTRY_DEFAULT')) { $vatNumber = $billingAddress->vat_number; } } } if (!empty($vatNumber) && preg_match('/^[A-Z]{2}[A-Z0-9]{2,14}$/', $vatNumber)) return new TaxCalculator(array()); } return parent::getTaxCalculator(); } } La vérification du numéro de TVA intracommunautaire repose sur un REGEX sommaire. Vérifier le numéro de TVA à l'aide du service VIES avec la fonction suivante (fonction à exécuter de façon asynchrone en raison du temps de latence élevé) : private function isVATValid($countryCode, $vatNumber) { $url = "http://ec.europa.eu/taxation_customs/vies/services/checkVatService"; $xmlRequest = '<?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="urn:ec.europa.eu:taxud:vies:services:checkVat:types"> <SOAP-ENV:Body> <ns1:checkVat> <ns1:countryCode>'.$countryCode.'</ns1:countryCode> <ns1:vatNumber>'.$vatNumber.'</ns1:vatNumber> </ns1:checkVat> </SOAP-ENV:Body> </SOAP-ENV:Envelope>'; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, $xmlRequest); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type: text/xml')); $response = curl_exec($ch); curl_close($ch); $xmlResponse = simplexml_load_string($response); $valid = (string)$xmlResponse->children('http://schemas.xmlsoap.org/soap/envelope/')->Body->children()->checkVatResponse->valid; return ($valid === 'true'); }
  8. Clean your store URLs using this URL cleaner module and also add the required redirections. As the clean and shorter URLs helps for user and google crawler to understand.
  9. Can i create the email template of my choice in the abandoned cart email? Is your module multi store compatible?
  10. Don't change theme.css directly, you will loose all your changes with next upgrade. Rather use custom.css
  11. Ok, and how can I adjust this? I have seen this settings for catalogue pages, but not for backoffice order view... Any idea?
  12. In the combination of the product in BO have 2 attributes, but only 1 attribute is visible on the product page in FO.
  13. qualcosa ha trovato il file per modificare la dicitura ? non riesco...
  14. Bonjour, difficile de répondre simplement dans ce cas, c'est évidemment un problème de traduction d'une variable qui doit être remplacée lors du traitement. Cela peut être au niveau du thème, du thème natif, d'un module, et autre, donc, pas d'autre solution que de chercher sur le site.
  15. Hello, There are multiple issues with the module. PrestaShop has a free module validator, where you can check as well: https://validator.prestashop.com/ (you need to check the Compatibility tab) But, basically, in order to fix it, you need to do the following: - rename the folder to 'customtax' - rename the ps_customtax.php file to customtax.php - rename the class from Ps_CustomTax to CustomTax - remove the Tools::displayWarning calls You should be able to install it at this point.
  16. Być może panel na coś czeka np. na połączenie z serwisem zewnętrznym który jest z jakiegoś modułu inicjowany. Najlepiej włączyć profilowanie i to powinno pokazać coś więcej.
  17. Hello, I need me too of this module but it is no longer in the prestashop addons. Could you help me? Thank Angela
  18. Problem found, if in New & Experimental Features you enable Attribute group, you can't add or edit attributes. I hope this problem is already solved in the new versions from 8.1.4.
  19. Hi, I have this webshop hemasblomster.dk and not so familiar with prestashop, and I have unfortunately a few questions because I don't know what to do. Prestashop 8.1.1 how can I add shipping method for Denmark? here, all continents seems to be inactive, I don't know how to activate them also how can I add shipping price to 50 kr, it is not showing anything, there was a delivering price before, but now it is all gone Also we did a test buy for one of the products but never got an order confirmation, how can I solve that part as well? also this happens when clicking on reset password I really need help
  20. Czy ktoś miał problem z bardzo długim czasem otwierania się zamówień w panelu? Zakładki "produkty" lub inne otwierają się szybko, tylko zamówienia bardzo wolno - zarówno pojedyncze zamówienia jak i cała zakładka. Ma ktoś pomysł co może być przyczyną?
  21. Ponawiam pytanie - czy ktoś ma pomysł jak i gdzie zmienić ustawienia żeby ceny (zarówno netto jak i brutto) miały zapis z dwoma miejscami po przecinku? Chodzi o backend - presta 1.7.8.11 Na stronie ceny mają dwa miejsca po przecinku (np. 10,99) a w backend nawet do sześciu i przy zakupie wielu produktów łączna kwota różni się od tej, która wynika z cen na stronie.
  22. J'ai trouvé le problème, mon store n'était pas enabled. Il faut aller dans la page de maintenance et activer le store.
  1. Load more activity
×
×
  • Create New...