Forums / All Other Contributions/Addons / SplitTaxLines mod support thread

SplitTaxLines mod support thread

Locked

Views: 20,799

Results 1 to 20 of 81
This thread is locked. New replies are disabled.
5 Dec 2007, 8:06 AM
#1
pdprenty avatar

pdprenty

New Zenner

Join Date:
Sep 2006
Posts:
58
Plugin Contributions:
0

SplitTaxLines mod support thread

MODERATOR NOTE: Zen Cart v1.3.9 includes built-in support for split tax lines. No addon required.

First let me say: Alan, thank you very much, I was hoping for this contribution. You have made my life easier.

I do have a conflict with one of the other modules though, maybe someone can help me out.

I have just installed alanhigg’s SplitTaxLines module. It works great, but another module that I installed now doesn’t work. The module is Customer Tax Exempt by Numinix Technology. It was working perfectly before, so I am not sure what the problem is.

The admin is there, but the tax shows up on the order. (split very nicely too). I checked and there were no overlapping files so it may be something in the process.

Any help would be appreciated,
Thanks Pat

5 Dec 2007, 8:19 AM
#2
pdprenty avatar

pdprenty

New Zenner

Join Date:
Sep 2006
Posts:
58
Plugin Contributions:
0

Re: SplitTaxLines mod support thread

Sorry I couldn't edit my last post, but here is my information in case you need to know:
I am using version 3.7.1

Installed Mods

Admin Notes
Admin Profiles
Login Spruce Up - Admin
Backup MYSQL Plugin
Edit Orders
Encrypted Master Password
Quick Updates
Recover Cart Sales
Save your sideboxes layout as the default
User Tracking
Better Together
Canada Post Shipping Module
Fix Cache Key
Short Description
Split Panel Login
stats inventory report
store credit
Customer Tax Exempt
Check out without an account, but that is as an addition to the login to check out
I likely have more mods, I seem to be addicted.

Thanks again, Pat

5 Dec 2007, 8:54 AM
#3
numinix avatar

numinix

Totally Zenned

Join Date:
Apr 2007
Location:
Vancouver, Canada
Posts:
1,567
Plugin Contributions:
58

Re: SplitTaxLines mod support thread

I haven't looked at that module in a long time since there were no bug reports. You can contact my company through our website and I can work on it privately, but I do charge a rate. I am sure it's a simple fix though so you may be able to figure it out.

7 Dec 2007, 2:58 PM
#4
alanhigg avatar

alanhigg

New Zenner

Join Date:
Nov 2007
Posts:
31
Plugin Contributions:
1

Re: SplitTaxLines mod support thread

Hi Pat,
I have no experience with the customer tax exempt mod but I'll see if I can find some time this weekend to look at the issue for you. Thanks for the list of your other mods too, in case I have to go digging...

Alan

8 Dec 2007, 6:02 PM
#5
mommydesigns avatar

mommydesigns

Zen Follower

Join Date:
Jul 2006
Posts:
135
Plugin Contributions:
0

Re: SplitTaxLines mod support thread

Has anyone installed this with the new 1.3.8 yet? I am dying to get my hands on this mod but now that I've just upgraded to get some 1.3.8 features, I'm hesitant to install this.

Thanks!

9 Dec 2007, 11:29 PM
#6
alanhigg avatar

alanhigg

New Zenner

Join Date:
Nov 2007
Posts:
31
Plugin Contributions:
1

Re: SplitTaxLines mod support thread

Hi All,
I have just uploaded v1.1 of SplitTaxLines so it should be available as soon as it passes review. It it designed for v1.3.8 of zen-cart and will not work with older carts.
For those interested, most of the changes in this version are due to updated tax functions in the core zen-cart distribution. I don't know whether this was intentional or not, but a new core function was added that encompasses all of the functionality (and more) included in the extra_functions that the old version of this mod defined. This seems like more than just coincidence, so I'd like to give a shout out to the zen-cart team on this.

to pdprenty: don't worry, I haven't forgotten about you. Are you planning to move to zc1.3.8 in the near future? The reason I ask is that I have located the conflict between SplitTaxLines and CustomerTaxExempt and it is in a part of the mod that has been removed in v1.1. Unfortunately, STL and CTE have a new conflict in a different place under zc1.3.8 (in the core tax functions)

So, here's my suggestion:
for zc1.3.7.1, I can fix up STL v1.0 so that it plays nicely with CTE (I will try to do this anyway, over the next few days)
for zc1.3.8, I would say that numinix should probably make the appropriate changes since the code that needs modification is part of the zen-cart core. I could try, but I don't want to step on his toes. Chances are good that CTE will need some polishing for zc1.3.8 anyway. (numinix, please chime in here if you wish)

Questions? fire away!

9 Dec 2007, 11:33 PM
#7
alanhigg avatar

alanhigg

New Zenner

Join Date:
Nov 2007
Posts:
31
Plugin Contributions:
1

Re: SplitTaxLines mod support thread

mommydesigns:

... now that I've just upgraded to get some 1.3.8 features, I'm hesitant to install this.

mommydesigns,
please make sure that you have the new v1.1 of SplitTaxLines because, as you surmised, SplitTaxLines v1.0 will not work with zen-cart 1.3.8

SplitTaxLines v1.1 should be available for download soon (it has been submitted - just waiting for review) please give it a try and let us know what you think.

Thanks!
Alan

10 Dec 2007, 1:05 AM
#8
pdprenty avatar

pdprenty

New Zenner

Join Date:
Sep 2006
Posts:
58
Plugin Contributions:
0

Re: SplitTaxLines mod support thread

Hi Alan, thank you so much for working on this.

I was planning on staying with 1.3.7.1 until the zencart team comes out with 1.4.

I am pretty sure that I had heard rumblings that the split tax was to be in version 1.4 so after that the problem will be moot assuming that there will be some tax exempt in that version or updated for that version.

I am not sure when the upgrade will happen, so at least an update to 1.3.7.1 would be very appreciated.

Thanks again,
Pat

18 Dec 2007, 6:58 PM
#9
vhjdb avatar

vhjdb

New Zenner

Join Date:
Dec 2007
Posts:
19
Plugin Contributions:
0

Re: SplitTaxLines mod support thread

Hi Alan,

Thanks for the nice module! I am trying V 1.0 with zencart 1.3.7.1 it works great except for taxes with differnet priorities it does not charge tax on the tax. For example, if I put Quebec(7.5) tax as priority 2, and GST(5%) as priority 1 tax with SplitTaxLines disabled, ZenCart calculates $16.74 as total taxes for a $130.00 item, while with SplitTaxLines enabled, it calculates $16.25. Not sure if I am missing something here.

18 Dec 2007, 10:06 PM
#10
alanhigg avatar

alanhigg

New Zenner

Join Date:
Nov 2007
Posts:
31
Plugin Contributions:
1

Re: SplitTaxLines mod support thread

Ok, lots of news:

First of all, I have just uploaded a new zc1.3.7-based version of SplitTaxLines. I have called it version 1.01. With any luck the zen cart team will activate it shortly. They were very quick with the last update. Thanks guys!

A brief reminder for all users running zc1.3.8: please be aware that this new version is not what you want! splittaxlines v1.1 is the one for you. I'm trying to keep the version numbers specific to the zen cart version (1.0 series = 1.3.7, 1.1 series = 1.3.8). Be extra sure that you're getting the code that will work for you!

There have been fairly significant changes between v1.0 and v1.01 for two reasons:

  • I backported some of the helpful new code in 1.3.8 as an extra_function for use with STL v1.01. This made a bunch of the old code obsolete, and caused changes to the rest of the code.
  • I reorganized some of the code so that it makes merging changes easier for new users.

to pdprenty: I have included some extra stuff in the new 1.3.7-based version (STL v1.01) that should fix your conflict with Customer Tax Exempt by numinix. Let me know if it works for you!

to vhjdb: you're not missing anything - it was a flaw with STL v1.0. The issue should be resolved in STL v1.01. Can you try it out and let me know how it works?

to numinix: I noticed that you have an updated version of Customer Tax Exempt available for zc1.3.8. I haven't tried the combination of CTE and STL in v1.3.8 but I expect that there will be problems with zen_get_multiple_tax_rates. My suggestion: since your mod makes changes to the functions_taxes.php core file (where zen_get_multiple_tax_rates lives in 1.3.8), why don't you take a look at the changes I have made to get this working in STL v1.01 and incorporate those changes into your 1.3.8 based CTE? Not only would it save you some coding, I'd appreciate the feedback on my implementation as well. Have a look at the file in the extras folder and let me know what you think.

I think that's all for now folks. Good luck and let me know how you fare!
Alan

19 Dec 2007, 4:17 AM
#11
pdprenty avatar

pdprenty

New Zenner

Join Date:
Sep 2006
Posts:
58
Plugin Contributions:
0

Re: SplitTaxLines mod support thread

Hi Alan, the 1.3.7 modification works great with both tax exempt and edit order.

I will do some testing over the weekend, just to be sure and let you know, but it looks great so far!!!

Thanks again,
Pat

19 Dec 2007, 6:39 PM
#12
vhjdb avatar

vhjdb

New Zenner

Join Date:
Dec 2007
Posts:
19
Plugin Contributions:
0

Re: SplitTaxLines mod support thread

Alan,

Thanks for helping us quickly! I was not expecting it to be this fast and so took liberty of changing your code myself, but today I found the updated version which I installed and it works great! Thanks again for taking care of it quickly.

19 Dec 2007, 6:45 PM
#13
alanhigg avatar

alanhigg

New Zenner

Join Date:
Nov 2007
Posts:
31
Plugin Contributions:
1

Re: SplitTaxLines mod support thread

Glad to hear that it's working for both of you!

25 Dec 2007, 7:04 PM
#14
wolflupo avatar

wolflupo

New Zenner

Join Date:
Feb 2007
Posts:
27
Plugin Contributions:
0

Re: SplitTaxLines mod support thread

Having a slight problem,
following instructions but cannot run the sql script.
error: An appropriate representation of the requested resource /admin/sqlpatch.php could not be found on this server. (squlpatch.php set at 777).
The site is a sub domain, has this been tested on subdomains?
W

2 Jan 2008, 4:13 PM
#15
alanhigg avatar

alanhigg

New Zenner

Join Date:
Nov 2007
Posts:
31
Plugin Contributions:
1

Re: SplitTaxLines mod support thread

wolflupo:

Having a slight problem,
following instructions but cannot run the sql script.
error: An appropriate representation of the requested resource /admin/sqlpatch.php could not be found on this server. (squlpatch.php set at 777).
The site is a sub domain, has this been tested on subdomains?
W

Hi Wolflupo,

Sorry for the delay in replying... have you managed to find a solution to this problem in the meantime? I am currently running this mod on a subdomain and it works fine for me.

The error message you are getting seems to me to indicate a larger problem with your server configuration or zen-cart installation and not necessarily a problem with the sql code contained in the mod. Have you tried running any other sql commands through the patch interface?

Please keep us posted as you try to figure this out. I'll try to chime in with helpful advice when I can.

Good luck!
Alan

2 Jan 2008, 8:49 PM
#16
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: SplitTaxLines mod support thread

wolflupo:

Having a slight problem,
following instructions but cannot run the sql script.
error: An appropriate representation of the requested resource /admin/sqlpatch.php could not be found on this server. (squlpatch.php set at 777).
The site is a sub domain, has this been tested on subdomains?
W

That is likely a mod_security restriction imposed by your hosting company.
You could try running it via phpMyAdmin or asking the hosting company for assistance with running the sql script.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

2 Jan 2008, 9:30 PM
#17
vhjdb avatar

vhjdb

New Zenner

Join Date:
Dec 2007
Posts:
19
Plugin Contributions:
0

Re: SplitTaxLines mod support thread

Hi Alan,

I was wondering if the the version 1.1 for zc 1.3.8 is alredy working for the taxes with different priorities? If it does then I will upgrade my ZC and check.

Thanks

3 Jan 2008, 1:35 PM
#18
alanhigg avatar

alanhigg

New Zenner

Join Date:
Nov 2007
Posts:
31
Plugin Contributions:
1

Re: SplitTaxLines mod support thread

Hi vhjdb,

Yes, stl1.1 for zc1.3.8 should handle tax priorities properly. Good luck with your upgrade and let us know how it goes.

Alan

7 Jan 2008, 4:29 PM
#19
ljsoroka avatar

ljsoroka

New Zenner

Join Date:
Sep 2007
Posts:
10
Plugin Contributions:
0

Re: SplitTaxLines mod support thread

alanhigg:

Ok, lots of news:

First of all, I have just uploaded a new zc1.3.7-based version of SplitTaxLines. I have called it version 1.01. With any luck the zen cart team will activate it shortly. They were very quick with the last update. Thanks guys!

Alan

Hi Alan, where is the link that I can get this or should I just search the forum?
thanks for all your hard work :)

8 Jan 2008, 2:50 AM
#20
wolflupo avatar

wolflupo

New Zenner

Join Date:
Feb 2007
Posts:
27
Plugin Contributions:
0

Re: SplitTaxLines mod support thread

Alan,
thanks for the reply, I have installed other modules using sql patchs with no problems. here is a list of modules installed:
order edit, super order, shopping cart images on sidebox, search box in header and using the lavender template.
very strange that I cannot install this module.
BTW: I have managed to install this on another web site I'm developing without any problems. same modules installed.