overbags Posted November 15 Share Posted November 15 hello everyone I'm modifying an old module that calculates the costs of cash on delivery. I can't make this amount including vat (courier percentage) appear in the cart the site works "without vat" but for this amount I need to have it covered vat {l s='This payment has a fee of' mod='mycod'} <b>{Tools::displayPrice($fee)}</b> any ideas? Link to comment Share on other sites More sharing options...
Prestashop Addict Posted November 15 Share Posted November 15 Please can you specify PS, PHP and theme versions Link to comment Share on other sites More sharing options...
overbags Posted November 15 Author Share Posted November 15 thank you very much for your reply I use prestashop 8.1.7 and php 7.4.33 Link to comment Share on other sites More sharing options...
Prestashop Addict Posted November 15 Share Posted November 15 So you mean $fee is always with VAT? Link to comment Share on other sites More sharing options...
overbags Posted November 15 Author Share Posted November 15 (edited) yes courier VAT Edited November 15 by overbags aggiunto più specifiche (see edit history) Link to comment Share on other sites More sharing options...
Prestashop Addict Posted November 15 Share Posted November 15 Is any settings in the modue? You indicate the amount and tax rules? Link to comment Share on other sites More sharing options...
overbags Posted November 15 Author Share Posted November 15 there are no rules I only indicate the fixed amount or percentage and having the site without VAT the amount appears without VAT and I need it to appear with VAT .... always Link to comment Share on other sites More sharing options...
Prestashop Addict Posted November 15 Share Posted November 15 But if you don't have tax rule, you cannot determine VAT value 😞 Link to comment Share on other sites More sharing options...
overbags Posted November 15 Author Share Posted November 15 I didn't understand id-86 IVA IT 22% 22.000 Link to comment Share on other sites More sharing options...
Prestashop Addict Posted November 15 Share Posted November 15 Where do you define the fee? Link to comment Share on other sites More sharing options...
overbags Posted November 15 Author Share Posted November 15 I was simply asking if there is a script to insert into the tpl file to quickly retrieve the courier's VAT percentage to do the calculation Link to comment Share on other sites More sharing options...
Prestashop Addict Posted November 15 Share Posted November 15 ok, no way in smarty 😞 You need to change your module code Link to comment Share on other sites More sharing options...
overbags Posted November 15 Author Share Posted November 15 ok thank you Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now