overbags Posted 11 hours ago Share Posted 11 hours ago 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 11 hours ago Share Posted 11 hours ago Please can you specify PS, PHP and theme versions Link to comment Share on other sites More sharing options...
overbags Posted 10 hours ago Author Share Posted 10 hours ago 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 8 hours ago Share Posted 8 hours ago So you mean $fee is always with VAT? Link to comment Share on other sites More sharing options...
overbags Posted 6 hours ago Author Share Posted 6 hours ago (edited) yes courier VAT Edited 6 hours ago by overbags aggiunto più specifiche (see edit history) Link to comment Share on other sites More sharing options...
Prestashop Addict Posted 6 hours ago Share Posted 6 hours ago 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 5 hours ago Author Share Posted 5 hours ago 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 5 hours ago Share Posted 5 hours ago 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 4 hours ago Author Share Posted 4 hours ago I didn't understand id-86 IVA IT 22% 22.000 Link to comment Share on other sites More sharing options...
Prestashop Addict Posted 3 hours ago Share Posted 3 hours ago Where do you define the fee? Link to comment Share on other sites More sharing options...
overbags Posted 3 hours ago Author Share Posted 3 hours ago 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 2 hours ago Share Posted 2 hours ago ok, no way in smarty 😞 You need to change your module code Link to comment Share on other sites More sharing options...
overbags Posted 2 hours ago Author Share Posted 2 hours ago 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