| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Pre-Login Shipping Calculator | ||||
|
|
Thread Tools | Search this Thread |
#121
|
|||||||||
|
|||||||||
Quote:
Yes that is the same problem. If 'display cart/order totals including tax' but in the way I 'think' Jeanne has it. This way actually shows tax calculation on each value in the cart. e.g. with the box checked Subtotal: $10.31 Discount: $0.95 Discounted subtotal: $9.28 Shipping: $5.38 TOTAL: $14.65 Including: Sales Tax: $1.16 e.g. without the box checked Subtotal: $9.49 Discount: $0.95 Discounted subtotal: $8.54 Shipping: $4.95 Sales Tax 8.625%: n/a TOTAL: $14.65 e.g. when customer is logged in (the way I want it) Subtotal: $9.49 Discount: $0.95 Discounted subtotal: $8.54 Shipping: $4.95 Sales Tax 8.625%: $1.16 TOTAL: $14.65 Certainly will post if I come up with the solution. Jeanne am I correct in assuming what I did about your taxes calculation?
__________________
X-Cart pro v4.0.17 X-Cart pro v4.1.6 X-Cart pro v4.2 |
|||||||||
#122
|
|||||||
|
|||||||
If the tax zone is looking for cities then the only way that you will get taxes to show with the zip code estimate is to either build a routine in cart.php that will translate the zip to a city or set up your tax zone by zip code.
if($zipcode_estimate >= 10001 && $zipcode_estimate <= 10002){ $config["General"]["default_city"] = "A City"; }elseif($zipcode_estimate >= 10003 && $zipcode_estimate <= 10004){ $config["General"]["default_city"] = "Another City"; } (I don't know what the correct zip codes would be.) I think that it would be easier to set up your tax zone up by zip code though so if you needed to change any zip codes you would not have to dig through the code.
__________________
Jeanne 4.1.8 Gold |
|||||||
#123
|
|||||||
|
|||||||
Sorry I didn't see that part about having that box unchecked before.
That is the way that I have it on my site (The "Display cart/order totals including tax" is unchecked). It looks like this when someone enters a zip code (not logged in) that is from California. Subtotal: $32.95 Shipping: $2.00 California State Tax 7.25%: $2.39 TOTAL: $37.34
__________________
Jeanne 4.1.8 Gold |
|||||||
#124
|
|||||||
|
|||||||
OK Duh, I obviously don't keep close enough track on what I change in my files. Go to main/customer/cart_totals.tpl
Instead of Code:
Code:
That should get the tax to show up instead of n/a
__________________
Jeanne 4.1.8 Gold |
|||||||
#125
|
|||||||
|
|||||||
THANK YOU JEANNE! That fixed it. You are a star!
__________________
X-Cart Pro 4.1.11 (Live) XRMA XAFF XAOM DSEFU Pro XGift Reg Firetank Feed Manager BCSE Shipping Calculator XcartMod Dynamic Images |
|||||||
#126
|
|||||||||
|
|||||||||
ALL HAIL JEANNE Thank you . Also special thanks to Rackit and all others who. But right now Jeanne you are the
__________________
X-Cart pro v4.0.17 X-Cart pro v4.1.6 X-Cart pro v4.2 |
|||||||||
#127
|
|||||||||
|
|||||||||
Got it working on 4.0.13. The problem I was having was with the taxes, but Jeanne's cart_totals.tpl tweak fixed my issue.
Thanks, Jason |
|||||||||
#128
|
|||||||
|
|||||||
I use xcart 4.0.13
and modify cart.php and cart_totals.tpl as follow 1- cart.php after Code:
Addition: Code:
2-cart_totals.tpl Addition: Code:
I setup zones manually and all shipping price depending on country only If I choose the country form Drop-Down list I have no change (the shipping price stile 0$) for check on cart.php I use this url Code:
I found it works good with no error (correct value of shipping price) I down't know what I do? I think I need to modify in cart_totals.tpl .
__________________
X-Cart Platinum 4.6.5 |
|||||||
#129
|
|||||||||
|
|||||||||
Has anyone come up with a solution to this one:
Quote:
This happens when using the Canada Post Sell Online Shipping Module and entering a US zip code. I am wondering if Canada Post requires a State as well? Thanks, Jason |
|||||||||
#130
|
|||||||
|
|||||||
update mod
Here we are over a year old on this mod. Over 9 pages to read thru and try to figure out what was good is not good now and need to change that to this to make it work now. Can someone post the most current code for 4.0.14. This way we can start from there to keep this mod alive.
Thank you
__________________
X-Cart version 4.0.14 Sales-n-Stats 1.1 build 36 PHP 5.0.5 MySQL server 4.1.22-Standard Perl 5.008 |
|||||||
|
|||
X-Cart forums © 2001-2020
|