User Points and Tax

  • Posts: 39
  • Thank you received: 1
8 years 6 months ago #240551

-- HikaShop version -- : 2.6.3
-- Joomla version -- : 3.5.1

Hi,

I would like that the User Points will be calculated with the subtotal, otherwise the tax is calculated incorrectly.

In the current situation, the User Points are calculated with the total amount (including shipping and tax). But then the tax is calculated incorrectly, to much tax.

is there a solution to fix this?
Thanks

Please Log in or Create an account to join the conversation.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
8 years 6 months ago #240566

Hi,

Reference : www.hikashop.com/forum/payment-methods/8...er-points-issue.html

Your point conversion is "1 point = 0.10 €" ; but that conversion is without taxes.
Just below the conversion, you can see the setting "product tax category" ; even if it's not about "product", it is setting a tax category to the generated discount.
With a 21% tax ; we have a final discount to "6.05€" ; which is made of 5€ discount on price and 1.05€ discount on taxes.

There is some displaying issue in the module which do not have the discount with taxes ; so you just have the "5€ discount" even if the final discount will be "6.05€ (with taxes)".
It is something there is in the HikaShop TODO list ; but with the big development on the checkout refactoring, we wanted to wait a little more in order to have the new checkout module system to perform a complete rewriting on that User Points module.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: ralph024

Please Log in or Create an account to join the conversation.

  • Posts: 39
  • Thank you received: 1
8 years 5 months ago #242490

Hi Jerome,

I 'm trying to modify cart.php from the view checkout, so that the user points will be deducted from the total.
But do you know where i can change the script, so instead of the current method (from subtotal), now from the total amount.

Thanks!

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
8 years 5 months ago #242524

Hello,

Firstly can you give us more information about what you have and what you want to do through some screenshots for example so that I can understand your issue and help you ?

Thank you.

The following user(s) said Thank You: ralph024

Please Log in or Create an account to join the conversation.

  • Posts: 39
  • Thank you received: 1
8 years 4 months ago #245414

Hi,

In the current situation, if I use a coupon for discount the Tax is calculated correctly. (See image below)




When i use the UserPoints for discount, the Tax is calculated totaly wrong! (See image below)
And it seems that the Userpoints are calculated at the wrong point in the workflow! This would basically at the same point be calculated as the coupons. Now the tax is calculated from the normal amount, and after that the UserPoints are calculated and that is totaly wrong!



So to change this, so the tax will be calculated in the correct way?

Thanks

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 82865
  • Thank you received: 13373
  • MODERATOR
8 years 4 months ago #245423

Hi,

So it's not wrong, it's just not like you want them for your case.
As far as I understand, the points uses either the total or the sub total based on how you configured the "shipping" setting of the payment user points plugin so please check on that.
And for the taxes that are applied to the points discount, it depends on how you configured your user points plugin. The product tax category setting of the user points payment plugin must be set to your main tax category.

Please Log in or Create an account to join the conversation.

Time to create page: 0.071 seconds
Powered by Kunena Forum