All Activity
- Past hour
-
shlepanec33 joined the community
-
dtsgnd2024 joined the community
-
rayonnotify5 joined the community
- Today
-
onionedward19 joined the community
-
chefpea46 joined the community
- Yesterday
-
Open Presta started following Module for prices discount
-
Module for prices discount
Open Presta replied to 996179_1508427907's topic in Looking for a module or a theme
it is easy to do it with this module : https://www.myprestastore.com/downloads/master-promo-module-prestashop/ -
Rynraf started following An error occurred while processing your request - Error message
-
An error occurred while processing your request - Error message
Rynraf replied to jjpl's topic in General topics
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 :) -
ynocquet started following Désactivation des taxes pour les clients professionnels étrangers
-
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'); }
-
Manlicare joined the community
-
How do modify orders view page ?
Johnk0306 replied to Johnk0306's topic in Addons, modules and themes developers
Hello My module was from the previous version 1.7 Thanks!- 3 replies
-
- override controller
- module
-
(and 2 more)
Tagged with:
-
how to do that? Where is the custom.css?
-
I see your demo you support spin and win, how does that work in your app?
- 48 replies
-
Can i create the email template of my choice in the abandoned cart email? Is your module multi store compatible?
- 3 replies
-
- cart abandonment
- abandoned
- (and 7 more)
-
rtpolxtoto joined the community
-
JBW started following Reducing header on category page
-
Don't change theme.css directly, you will loose all your changes with next upgrade. Rather use custom.css
-
Santietsit started following How do modify orders view page ?
-
How do modify orders view page ?
Santietsit replied to Johnk0306's topic in Addons, modules and themes developers
where is this module in prestashop 8.1.0? Can't find it...- 3 replies
-
- override controller
- module
-
(and 2 more)
Tagged with:
-
Increase default number of products per order (on backoffice)
Santietsit replied to Santietsit's topic in General topics
Ok, and how can I adjust this? I have seen this settings for catalogue pages, but not for backoffice order view... Any idea? -
thadwilderman47 joined the community
-
Fritza joined the community
-
eVRECIA started following PS 8.1.4 FO attributes
-
In the combination of the product in BO have 2 attributes, but only 1 attribute is visible on the product page in FO.
-
boylebuiltenterprise changed their profile photo
-
qualcosa ha trovato il file per modificare la dicitura ? non riesco...
-
Mediacom87 started following Recherche ou traduire bandeau REMISE sur la page article ?
-
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.
-
Mint Print changed their profile photo
-
endriu107 started following Bardzo wolne otwieranie się zamówień - presta 1.7.8.11
-
Bardzo wolne otwieranie się zamówień - presta 1.7.8.11
endriu107 replied to aaaleksandra's question in Wsparcie i pomoc użytkowników
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. -
afshop started following How can I create a Cart Rule with Product Group Rules via webservice
-
How can I create a Cart Rule with Product Group Rules via webservice
afshop replied to mogarick's topic in Core developers
Hello, I need me too of this module but it is no longer in the prestashop addons. Could you help me? Thank Angela -
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.
-
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
-
Zmiana ilości liczb po przecinku w cenie produktu w backend
aaaleksandra replied to bocian22xd's question in Wsparcie i pomoc użytkowników
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. -
theemily changed their profile photo