1. Thomas Lombert
  2. EU VAT Compliant
  3. Monday, September 20 2021, 10:03 PM
  4.  Subscribe via email
HI

I guess it should remove the shipping VAT to? I have test the different settings and it keep the VAT on sipping. It removes it from the rest of the order. Is the module looking for special shipping moduls or should every module work? Can I do it wrong? How should it work?

/Thomas
Attachments (1)
Comment
There are no comments made yet.
Add Comment
Dennis Buijs Accepted Answer
0
Votes
Undo
Hi Thomas

This settings is used for disabling tax in the default Flat Rate shipping module of OpenCart.
I have checked and made 2 extra ocmod modifycation files:
owc_euvat_ct_ultimate_shipping.ocmod.xml
owc_euvat_ct_category_product_based_shipping.ocmod.xml

Please test it yourself also.

To support this extension it took me about 1 1/2 hours to make it work. It is up to you if you will pay me a small fee of 35 euro, you can make the payment at https://bit.ly/3bpV28M.

Best regards
Dennis
Comment
There are no comments made yet.
Add Comment
  1. more than a month ago
  2. EU VAT Compliant
  3. # 1
Dennis Buijs Accepted Answer
0
Votes
Undo
Hi

I have also added the following files with the same modifications for other Clear Thinking extensions:
owc_euvat_ct_ultimate_fee_discount.xml
owc_euvat_ct_ultimate_coupons.xml
owc_euvat_ct_individual_shipping.xml

Best regards
Dennis
Comment
There are no comments made yet.
Add Comment
  1. more than a month ago
  2. EU VAT Compliant
  3. # 2
Thomas Lombert Accepted Answer
0
Votes
Undo
Hi Dennis

Sorry for the late replay. Thanks for all help, I will pay for the work. I have talked with Johnathan Shaw about some other problem with this, but now it looks it works. So it can be solved by the extra files you did.

The only thing I can see is that I need to "reload/update" the checkout twice to get all extra lines go away. It's only a cosmetic thing, but it can confuse customers. I think it's in the quick checkout. See the screen movie.

And Johnathan asked this question;

Hi Thomas-

Do you know if the other mod disables the "Taxes" Order Total? If that's what it's doing, then when the "Taxes" Order Total is disabled my extension will add the tax into the actual line item costs. This allows people to not use the Taxes line item, and just show all prices with tax.

In your case though, it may be that you want the extension to disable itself when the "Taxes" Order Total is disabled. I'm not entirely sure that will solve the issue, but it might work for you. If you want to try that, here's the edit you'd do:

------------------------------------------------------------------------------
IN:
the ocMod file in Extensions > Modifications

REPLACE:
if ($this->config->get($prefix . 'display_with_tax_status')) {

WITH:
if ($this->config->get($prefix . 'display_with_tax_status') && $this->config->get('total_tax_status')) {
------------------------------------------------------------------------------

Let me know how that goes. If it doesn't work, can you get some info from the other developer as to *how* it disables the "Taxes" line item? If it has some session variable or something I can read, we could conditionally disable Display Order Totals based on that variable.


And then this did not work;

For the issue with the other tax mod, if the edit I suggested didn't work, then we'll have to try hooking into the other mod directly. I took a brief look at its /catalog/model/extension/module/eu_tax.php file, and I think I found a session variable that should be filled in the VAT number is valid:

$this->session->data['VAT_valid']['valid']

Hopefully this will work, so try the following edit and let me know if this works:

------------------------------------------------------------------------------
IN:
the ocMod file in Extensions > Modifications

REPLACE:
if ($this->config->get($prefix . 'display_with_tax_status')) {

WITH:
if ($this->config->get($prefix . 'display_with_tax_status') && empty($this->session->data['VAT_valid']['valid'])) {
------------------------------------------------------------------------------

Let me know how that goes, and if it doesn't work we can get in touch with the other developer to see if there's some other way to detect the VAT validity in the session.


But maybe this is solved with your extra files?

/Thomas
Attachments (1)
Comment
There are no comments made yet.
Add Comment
  1. more than a month ago
  2. EU VAT Compliant
  3. # 3
Thomas Lombert Accepted Answer
0
Votes
Undo
Hi again

Johnathan Shaw made one other mod;

I took a quick look at those files, and based on that code, I concocted one more edit. While I'm not sure if this will work, here's the edit you can try if you'd like:

------------------------------------------------------------------------------
IN:
the ocMod file in Extensions > Modifications

REPLACE:
if ($this->config->get($prefix . 'display_with_tax_status')) {

WITH:
$vat_exempt = (($this->OwcLoader->OwcEUVat->checkStatus() && $this->config->get('owc_euvat_shipping_tax') && isset($this->session->data['owc_euvat_reverse_charge_vat_exempt']) && $this->session->data['owc_euvat_reverse_charge_vat_exempt'] == 1) || (isset($this->session->data['owc_euvat_reverse_charge_vat_exempt_uk']) && $this->session->data['owc_euvat_reverse_charge_vat_exempt_uk'] == 1));
if ($this->config->get($prefix . 'display_with_tax_status') && !$vat_exempt) {
------------------------------------------------------------------------------

Let me know if that works.


And this looks like it works, so I think everything is ok now!

Best Regards
Thomas
Comment
There are no comments made yet.
Add Comment
  1. more than a month ago
  2. EU VAT Compliant
  3. # 4
Dennis Buijs Accepted Answer
0
Votes
Undo
Hi

Good to hear.

The only thing I can see is that I need to "reload/update" the checkout twice to get all extra lines go away. It's only a cosmetic thing, but it can confuse customers. I think it's in the quick checkout. See the screen movie.
ANSWER: Yes the checkout is refreshing after postcode field is changed of left.

$vat_exempt = (($this->OwcLoader->OwcEUVat->checkStatus() && $this->config->get('owc_euvat_shipping_tax') && isset($this->session->data['owc_euvat_reverse_charge_vat_exempt']) && $this->session->data['owc_euvat_reverse_charge_vat_exempt'] == 1) || (isset($this->session->data['owc_euvat_reverse_charge_vat_exempt_uk']) && $this->session->data['owc_euvat_reverse_charge_vat_exempt_uk'] == 1));
if ($this->config->get($prefix . 'display_with_tax_status') && !$vat_exempt) {
ANSWER: This must be ok, $vat_excempt is true if my extension validated vat number and it is a valid one, so exempt tax must be applied (zero tax).

I have not checked this change, but if the checkout price numbers are ok, than it is good!!

Best regards
Dennis
Comment
There are no comments made yet.
Add Comment
  1. more than a month ago
  2. EU VAT Compliant
  3. # 5
Thomas Lombert Accepted Answer
0
Votes
Undo
Hi Dennis

It looks like your extra files for "owc_euvat_ct_ultimate_fee_discount.xml" still have some error. This is what Johnathan Shaw wrote to me when I asked him to check why I got some VAT error.

I think it's something caused by this mod file:

> /system/owc_euvat_ct_ultimate_free_discount.xml

That one is not mine, so I'm not entirely sure what it's doing, but it
does appear to be modifying the tax-related portion of Ultimate
Fee/Discount. However, the code inside is commented out, which means it
may be disabling the tax class in Ultimate Fee/Discount, but not doing
what it's supposed to.

Since the code inside is disabled, try disabling that file altogether
(by renaming it to .xml_ or something like that). Then refresh your
ocMod cache in Extensions > Modifications, and see if that fixes it. If
it doesn't, you can reverse the process.


Then I try to do this, the error went away, so there is some bug in your file. There is two files with similar name, so I dont knew if both is needed or if this is the problem. I have attach both.

I hope you can find the problem in the code.

/Thomas
Attachments (1)
Comment
There are no comments made yet.
Add Comment
  1. more than a month ago
  2. EU VAT Compliant
  3. # 6
Dennis Buijs Accepted Answer
0
Votes
Undo
Hi Thomas

What was the error, something on screen or in the logfile?
Can I check it on your website, please fill in the site details in this page, because I must see where the error occurs.

Best regards
Dennis
Comment
There are no comments made yet.
Add Comment
  1. more than a month ago
  2. EU VAT Compliant
  3. # 7
Thomas Lombert Accepted Answer
0
Votes
Undo
Hi

I add several picture, but it looks you only see one of them.

You made the extra file, and the module is should modify, don't sends the differens between ex VAT and VAT to the Order total. So the Order Total is higher then it should be. It calculates the EX VAT correct. And if I disable the extra file, all calculation is correct, so there is some problem with any of the two files. (Why is it two files?)
Attachments (1)
Comment
There are no comments made yet.
Add Comment
  1. more than a month ago
  2. EU VAT Compliant
  3. # 8
Dennis Buijs Accepted Answer
0
Votes
Undo
Hi

I have seen the images, but I must see the source code of the extensions to determine what is going on. I think, because it was working, that something has changed.

Or if you can sent me all extensions by email support@openwebcreations.eu so I can check it on my computer, or enter the admin and ftp details of you website.

Best regards
Dennis
Comment
There are no comments made yet.
Add Comment
  1. more than a month ago
  2. EU VAT Compliant
  3. # 9
Thomas Lombert Accepted Answer
0
Votes
Undo
Hi

Sorry, I thought you got my info from before. I send it to you..

/T
Comment
There are no comments made yet.
Add Comment
  1. more than a month ago
  2. EU VAT Compliant
  3. # 10
Dennis Buijs Accepted Answer
0
Votes
Undo
Yes, couldn't find it.

I have checked the ocmod files an they are OK, all replacements are good.
No I have enabled it on your website but find it hard to test it.

Do you have a customer login with something in the cart where I can test it?

Best regards
Dennis
Comment
There are no comments made yet.
Add Comment
  1. more than a month ago
  2. EU VAT Compliant
  3. # 11
Dennis Buijs Accepted Answer
0
Votes
Undo
Ofcourse a customer with a valid VAT number.
Comment
There are no comments made yet.
Add Comment
  1. more than a month ago
  2. EU VAT Compliant
  3. # 12
Thomas Lombert Accepted Answer
0
Votes
Undo
The problem is with customers not use reverse VAT.

You can use this info:

You can use the same product and setting as I use in order 32414. You don’t have to place an order, the error is visible in the Shopping Cart.

Product DWS/HP/LS
No shipping.
SEK currency

Then it should be as I wrote in the pdf’s.
Total should be 81.56 SEK
And the EU VAT SE 25% (HIGH) = 16.35 SEK
Comment
There are no comments made yet.
Add Comment
  1. more than a month ago
  2. EU VAT Compliant
  3. # 13
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Welcome

Categories

OpenCart Free Extension
  1. 1 post
  2. 2 subcategories
OpenCart Commercial Extension
  1. 66 posts
  2. 17 subcategories
Sales & Billing
  1. 0 posts
  2. 2 subcategories
Welcome
  1. 4 posts
  2. 2 subcategories

Recent Discussions

License activation
Hello, I have bought EU VAT Compliant module with unlimited domains license. ...
154 Hits
0 Votes
Posted on Wednesday, March 06 2024, 02:30 PM
  • Resolved
  • Delivery address problem
    Hi, if you specify a different shipping address from the payment address, it doe...
    199 Hits
    0 Votes
    Posted on Thursday, February 01 2024, 12:48 PM
    EU VAT Compliant problem
    Hello, we have bought your extension EU VAT Compliant in the Opencart Marketplac...
    225 Hits
    0 Votes
    Posted on Thursday, February 15 2024, 10:17 AM
    Does "short descriptions" work with Open
    Does short descriptions work with open cart 4?...
    339 Hits
    0 Votes
    Posted on Wednesday, December 20 2023, 07:50 AM
    VAT post code LT
    Lithuanian VAT addresses are not loaded correctly. Postcode to be exact. You ca...
    465 Hits
    0 Votes
    Posted on Saturday, October 28 2023, 10:39 AM
  • Resolved