- Posts: 57
- Thank you received: 1
VAT Calculated bu not showing in email/invoice
10 years 2 months ago #250458
by tariaki
VAT Calculated bu not showing in email/invoice was created by tariaki
-- HikaShop version -- : Hikashop Business 2.6.3
-- Joomla version -- : 3.6.2
-- PHP version -- : 5.6
Hey
I have tax set up 20% UK and published. It is being calculated an I can see it in the checkout but not in my emails or invoices.
Although I'm using the Tax Method, the calculation is coming from extrernal source so it's really a custom value.
See attached - calculation of total is correct but no display of VAT.
How can I show it in emails and invoices?
Thanks
Thanks
-- Joomla version -- : 3.6.2
-- PHP version -- : 5.6
Hey
I have tax set up 20% UK and published. It is being calculated an I can see it in the checkout but not in my emails or invoices.
Although I'm using the Tax Method, the calculation is coming from extrernal source so it's really a custom value.
See attached - calculation of total is correct but no display of VAT.
How can I show it in emails and invoices?
Thanks
Thanks
Please Log in or Create an account to join the conversation.
10 years 2 months ago #250479
by nicolas
Replied by nicolas on topic VAT Calculated bu not showing in email/invoice
Hi,
Please provide more information on how you setup your taxes on your website.
What do you mean by that ? So that means you're not using the tax rules system in HikaShop ? You have a special plugin to handle taxes ? Then wouldn't the problem come from that plugin ?Although I'm using the Tax Method, the calculation is coming from extrernal source so it's really a custom value.
Please provide more information on how you setup your taxes on your website.
Please Log in or Create an account to join the conversation.
10 years 2 months ago #250513
by tariaki
Replied by tariaki on topic VAT Calculated bu not showing in email/invoice
Hey Nicolas,
I am enabling a tax mehthod so it displays the tax amount on the checkout page but the amount comes from external source.
The plugin I am using is attached + a modified show_tabular.php.
Hope that helps
Thanks
I am enabling a tax mehthod so it displays the tax amount on the checkout page but the amount comes from external source.
The plugin I am using is attached + a modified show_tabular.php.
Hope that helps
Thanks
Please Log in or Create an account to join the conversation.
10 years 2 months ago - 10 years 2 months ago #250538
by nicolas
Replied by nicolas on topic VAT Calculated bu not showing in email/invoice
Hi,
The problem comes from that plugin and how it was coded.
I can see that it bases itself on a custom plugin Jerome did at one point to assign a vendor based on the total amount of the order. That is correct.
However, the trigger onBeforeProductsVendorAttribution used in that plugin is not meant to be used to set the prices of the products.
That's why it doesn't work as expected.
Instead, the code to change the prices/taxes should be in a HikaShop trigger like onAfterCartProductsLoad, as a HikaShop plugin (so another plugin).
The problem comes from that plugin and how it was coded.
I can see that it bases itself on a custom plugin Jerome did at one point to assign a vendor based on the total amount of the order. That is correct.
However, the trigger onBeforeProductsVendorAttribution used in that plugin is not meant to be used to set the prices of the products.
That's why it doesn't work as expected.
Instead, the code to change the prices/taxes should be in a HikaShop trigger like onAfterCartProductsLoad, as a HikaShop plugin (so another plugin).
Last edit: 10 years 2 months ago by nicolas.
Please Log in or Create an account to join the conversation.
10 years 2 months ago #250595
by tariaki
Replied by tariaki on topic VAT Calculated bu not showing in email/invoice
Hey
Thanks for your reply.
So, is this new plugin exist or do I need to code one? If so would you be able to provide a direction/instructions?
Thanks for your reply.
So, is this new plugin exist or do I need to code one? If so would you be able to provide a direction/instructions?
Please Log in or Create an account to join the conversation.
10 years 2 months ago #250644
by nicolas
Replied by nicolas on topic VAT Calculated bu not showing in email/invoice
Hi,
It would require someone to code it.
As I said, the code to change the prices/taxes should be in a HikaShop trigger like onAfterCartProductsLoad, as a HikaShop plugin (so another plugin) instead of being in that plugin.
A developer knowing a bit about Joomla plugins should have no problem doing it with that information.
If you need a developer to work on that for you, you can contact our partners:
www.hikashop.com/home/our-partners.html
It would require someone to code it.
As I said, the code to change the prices/taxes should be in a HikaShop trigger like onAfterCartProductsLoad, as a HikaShop plugin (so another plugin) instead of being in that plugin.
A developer knowing a bit about Joomla plugins should have no problem doing it with that information.
If you need a developer to work on that for you, you can contact our partners:
www.hikashop.com/home/our-partners.html
Please Log in or Create an account to join the conversation.
Time to create page: 0.052 seconds