We can also use this great module with 1.3.8a and Alan's great module :)
We can also use this great module with 1.3.8a and Alan's great module :)
I am using STL in 1.3.7.1 and it works fine. I am in the process of upgrading it to 1.3.8a. STL is must for my site, I could use CTE if it is compatible with STL in 1.3.8a.
Still with ZC 1.3.7.
Is the STL version 1.1 working with ZC 1.3.7 or only with 1.3.7.1 ?
imak,
I haven't tested this mod with 1.3.7 but I would expect it to work as I don't think that any of the differences between 1.3.7 and 1.3.7.1 will affect it.
Just be certain that you are using the right version of split tax lines. Version 1.1 is for the 1.3.8 series of zen-cart. For zen-cart 1.3.7 the one that you need is STL v1.01
Let us know if you have success with it!
Alan
Alan, you could use PRODUCT_VERSION_MAJOR and PRODUCT_VERSION_MINOR to distinguish 1.3.7 from 1.3.8 and have one version for all versions of Zen Cart.
Hi numinix,
I looked into this a bit but unfortunately, the 1.3.7-based STL has a different file structure compared to the 1.3.8-based STL due to core changes in the tax calculations between the two zen-cart versions. I felt (and still feel) that the safest way was to have two separate versions. The unfortunate side effect is that there is a greater risk of confusion to the user.
If you have come up with a way to manage this type of thing using the internal version numbers please let me know and I will re-examine my approach. I would like to simplify but I just can't see a way.
By the way - have you had a chance to extend your customer tax exempt functionality into the new core tax functions in 1.3.8? STL and CTE will play nicely once you have completed this, and we're all looking forward to that day :-)
Alan
No I haven't had time. Very busy building sites and writing new mods for clients. If someone would like to sponsor an upgrade, I can make it a priority. I wrote this mod when Numinix sold computer hardware and as we no longer need to set some customers as exempt, I haven't had to use the mod myself.
Alan, specifically, which files have moved and to what folders?
Hi numinix,
Nothing has moved in zc, it's mainly just the STL installation process that differs by one file:
stl1.01 for zc-1.3.7 - ships with extra tax functions defined in "includes>functions>extra_functions>functions_splittaxlines.php"
stl1.1 for zc-1.3.8 - does not need this file as the core zc tax functions have been upgraded to provide the functionality needed.
I could ask the user to copy (or not ) this extra file depending on the zc version being used but I feel this really increases the likelihood that someone may leave it out when it is needed and bring his cart crashing to the ground, so I have avoided that until now.
I will be sending you a pm shortly with a few thoughts that are more about CTE than STL and therefore don't really need to be on this support thread.
Alan
That folder still exists in 1.3.8 so at the very beginning of your custom function file, you can add
I've read your PM and have responded. I will set aside a little time this weekend.PHP Code:if (PROJECT_VERSION_MAJOR != '1' && substr(PROJECT_VERSION_MINOR, 0, 3) != '3.8') {
Bookmarks