imad Posted February 20, 2012 Share Posted February 20, 2012 Hi, How can I make that when a company place an order then the order be without TAX. Otherwise TAX with order as usual. Is it possible? Regards, Imad Link to comment Share on other sites More sharing options...
presdani Posted February 17, 2013 Share Posted February 17, 2013 I have got the same problem. Prestashop 1.4.8.2 abd 1.4.9.0. Is there any setting somewhere? Link to comment Share on other sites More sharing options...
El Patron Posted February 17, 2013 Share Posted February 17, 2013 the customer would need to be assigned to a specific group...this group would set to tax excluded...(ok, pretty sure as I didn't test it) but give that a try... Link to comment Share on other sites More sharing options...
presdani Posted February 17, 2013 Share Posted February 17, 2013 the customer would need to be assigned to a specific group...this group would set to tax excluded...(ok, pretty sure as I didn't test it) but give that a try... All groups are set: tax included. The problem only occurs when client enters company name. Otherwise, everything is OK. Link to comment Share on other sites More sharing options...
El Patron Posted February 17, 2013 Share Posted February 17, 2013 All groups are set: tax included. The problem only occurs when client enters company name. Otherwise, everything is OK. I was not aware that entering a company name at registration affected taxes. Link to comment Share on other sites More sharing options...
musicmaster Posted February 17, 2013 Share Posted February 17, 2013 For those loving to work with the source code I have a modification so that those customers with a company name get the prices without VAT and the others with VAT. It assumes that your default is with VAT. I made the modification in PS 1.4.9. Other versions may be a bit different. You need to modify the function "invoice()" in the file PDF.php in the classes directory. At about the tenth line of that function you will find the following code: if ((self::$_priceDisplayMethod = $order->getTaxCalculationMethod()) === false) die(self::l('No price display method defined for the customer group')); After that fragment you need to insert the following code: $addressObj = new Address((int)($order->id_address_invoice)); if ($addressObj->company != "") self::$_priceDisplayMethod = PS_TAX_EXC; Link to comment Share on other sites More sharing options...
presdani Posted February 18, 2013 Share Posted February 18, 2013 I have a modification so that those customers with a company name get the prices without VAT and the others with VAT. I have the opposite problem. My customers with a company name get the prices without VAT at default Prestashop installation. I want them to get prices with VAT like the others. Link to comment Share on other sites More sharing options...
musicmaster Posted February 18, 2013 Share Posted February 18, 2013 I have the opposite problem. My customers with a company name get the prices without VAT at default Prestashop installation. I want them to get prices with VAT like the others. What PS version do you use? Link to comment Share on other sites More sharing options...
presdani Posted February 18, 2013 Share Posted February 18, 2013 PS 1.4.7.3, 1.4.8.2, 1.4.9.0. Different versions, templates but the same problem everywhere. You can try to buy something at http://goo.gl/McsAz and enter company name. Prices will be shown without VAT at next step. Link to comment Share on other sites More sharing options...
musicmaster Posted February 18, 2013 Share Posted February 18, 2013 What stroke me in your registration process is that some field names are shown in white - making them de facto invisible. That concerned the firm name and the telephone number. See also the attached image. Seems to me a rather serious problem. However, I couldn't find any price without VAT. Can you provide a screendump? Link to comment Share on other sites More sharing options...
presdani Posted February 18, 2013 Share Posted February 18, 2013 OK, I am aware of these problems you mentioned. I will correct it. Some screenshots of my chcecout process: Link to comment Share on other sites More sharing options...
musicmaster Posted February 18, 2013 Share Posted February 18, 2013 I have the impression that it is a problem in your template. It happens only in the express checkout. Not in the normal checkout. And it happens only in the express checkout when besides a company name you also provide a VAT number (I suppose NIP is VAT). (in the normal checkout the VAT isn't even asked). 1 Link to comment Share on other sites More sharing options...
presdani Posted February 18, 2013 Share Posted February 18, 2013 I have the impression that it is a problem in your template. You are right! When I install this template: http://addons.prestashop.com/en/neutral/3337-prestashop-template-145.html on clean default PS install the problem appears. I am searching the reason now. Link to comment Share on other sites More sharing options...
presdani Posted February 19, 2013 Share Posted February 19, 2013 PROBLEM SOLVED! New template installation enabled vatnumber module ("VAT Number" module for european countries). In this case it is necessary to select the country in the field "your country" in module's configuration area. http://forge.prestashop.com/browse/PSCFI-4200 Thank you for your advice. It was very helpful. 1 Link to comment Share on other sites More sharing options...
Recommended Posts