| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Pre-Login Shipping Calculator | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#161
|
|||||||
|
|||||||
![]() Anybody using pre shiipin mod on 4.1.0?
__________________
X Cart Gold Ver. 4.1.6 |
|||||||
#162
|
|||||||||
|
|||||||||
![]() Code:
Jeff, I had the same problem as you do. I just changed my default city, state and zip to anywhere outside of my state (NY), which has the sales tax. That should take care of the problem. -David
__________________
4.4 Code:
|
|||||||||
#163
|
|||||||
|
|||||||
![]() I have implemented the mentioned code in all of the previous code and I tested it and it works great as far as I can see.
What I tested: * Product with defined shipping freight. * Flat tax rate (added extra code to set the default state to another state so tax rate isn't calculated as opposed to changing the default state in the X-Cart admin) * Combination of above. I have yet to test it with defined shipping methods but I have added the appropriate mentioned code to handle it. I was wondering what other cosiderations should I be aware of. Thanks to all the contributors of this great mod. EDIT: This seems like a good free PHP solution for ZIP to state conversion. I've seen another that used arrays rather than a bunch of cases. EDIT: Before I implement FEDEX into the system, I heard that it does not play nicely with this great mod, is this true?
__________________
4.1.8 |
|||||||
#164
|
|||||||
|
|||||||
![]() I made some modifications to the original code (minor ones). The modifications are there to make the site a bit more user-friendly.
In cart.php, change Code:
Code:
Code:
Now everytime the users make a submission it'll scroll back down to your anchor which makes making multiple changes a little better and it'll show what the user choose as the Zip Code so they can reference it in case they forgot or they made a typo. Also to ask the question again, does this work with Fedex (both import rates and using the mods). The changes are pretty general so it should apply to all versions but the filenames for the changes might be different.
__________________
4.1.8 |
|||||||
#165
|
|||||||
|
|||||||
![]() Quote:
Does anybody have this working yet for 4.1 or something that would do the same for 4.1? It would be very nice to have this. Thanks
__________________
X-Cart Pro v4.1.1 |
|||||||
#166
|
|||||||
|
|||||||
![]() rackit, interesting mod.
i check out ur site. i like how u have the shipping discount, tax all pre loging. however ur tax is not calcualted for ur state. i type a few CA zips and it alwasy gives me n/a tax. I even typed in ur own zip code.
__________________
X-Cart 4.0.18 DBest |
|||||||
#167
|
|||||||
|
|||||||
![]() skin1/images/calculate.gif should not be used if ur thinking about multiple languages.
__________________
X-Cart 4.0.18 DBest |
|||||||
#168
|
|||||||
|
|||||||
![]() booomer, i noticed you hard coded the text messages. any way to make this language compatible?
also, is there any way that when they put the zip code, a separate line showing the tax will show?
__________________
X-Cart 4.0.18 DBest |
|||||||
#169
|
|||||||
|
|||||||
![]() is this pre login shipping calculations working on 4 0 18?
how do we make it calculat tax at the same time when they put the zip? thanks
__________________
X-Cart 4.0.18 DBest |
|||||||
#170
|
|||||||
|
|||||||
![]() It works for v4.0.18 and it does tax calculation as well (with some minor modification)
__________________
4.1.8 |
|||||||
|
|||
X-Cart forums © 2001-2020
|