Zen Cart Logo
Forums / Currencies & Sales Taxes, VAT, GST, etc. / Display product with tax does not when customer is logged in

Display product with tax does not when customer is logged in

Views: 3,204

Results 1 to 17 of 17
4 Feb 2014, 6:30 PM
#1
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Display product with tax does not when customer is logged in

I have a test cart, no mods, using 1.3.9 and one using 1.5.1 and see this same behavior in both. I'm trying to have products display with prices but collect sales tax so my customer can report it.

The products display with tax correctly for non-logged in visitors. Once you log in, the product displays the product without tax. I don't know why logging in is causing the product price to display without tax.

My Store:
Store Zone: Sweden
Display Prices with Tax: True
Basis of Product Tax: Store

Tax Rates:
Zone: Sweden
Rate: 12%

Zone Definition is set to Sweden.

This item is $32, with tax $35.84.
http://www DOT wheatonwebsiteservices DOT com/zen139/index.php?main_page=product_info&cPath=3_15&products_id=14

View the site and it displays as $35.84. Log in and it's $32.

4 Feb 2014, 6:43 PM
#2
twitchtoo avatar

twitchtoo

Totally Zenned

Join Date:
Apr 2007
Location:
Ontario, Canada
Posts:
1,733
Plugin Contributions:
14

Re: Display product with tax does not when customer is logged in

Go to Admin -> Configuration -> My Store

- Display Prices with Tax <- change this one

  • Display Prices with Tax in Admin

  • Basis of Product Tax

  • Basis of Shipping Tax

  • Sales Tax Display Status

4 Feb 2014, 7:05 PM
#3
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: Display product with tax does not when customer is logged in

You're saying to set that value to 'false'? I want the tax to display with the prices.

4 Feb 2014, 7:38 PM
#4
twitchtoo avatar

twitchtoo

Totally Zenned

Join Date:
Apr 2007
Location:
Ontario, Canada
Posts:
1,733
Plugin Contributions:
14

Re: Display product with tax does not when customer is logged in

Sorry I missed some details, it should be set for true, have you applied the tax class to the individual products in admin?
What is the default here:
Admin -> Catalog -> Product Types
Product Price Tax Class Default - When adding new products?

I logged in from a Canadian address and see the same price $32.00, as guest or logged in.

4 Feb 2014, 8:00 PM
#5
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: Display product with tax does not when customer is logged in

Products are set to Taxable and there is only one tax class.

I have been trying various settings which is why the price you saw was $32 both times. Please try again, it's back to the way is was as mentioned in the first post.

5 Feb 2014, 1:39 AM
#6
twitchtoo avatar

twitchtoo

Totally Zenned

Join Date:
Apr 2007
Location:
Ontario, Canada
Posts:
1,733
Plugin Contributions:
14

Re: Display product with tax does not when customer is logged in

Okay, this time I can see the tax included price as a guest, log in and see $32 as a Canadian.

Add the product to the cart and no tax.

Change my billing address to one in Sweden, taxes are added.

What is your store Country?... it should be Sweden.

You said your store Zone is Sweden... it should be a province/state.

Admin -> Configuration -> My Store

5 Feb 2014, 1:48 AM
#7
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Display product with tax does not when customer is logged in

You have tax set to Store ... do you want to charge everyone for Tax or just when delivery or billing address is Sweden?

The setting for:

Basis of Product Tax:
Shipping
Billing
Store

controls this setting ...

5 Feb 2014, 2:25 AM
#8
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: Display product with tax does not when customer is logged in

Admin>Configuration>My Store>Country: Sweden
Admin>Configuration>My Store>Zone: blank
Admin>Configuration>My Store>Basis of Product Tax: Store

We want to charge everyone the tax. I just don't understand why logging in as a customer removes the tax.

5 Feb 2014, 3:20 AM
#9
twitchtoo avatar

twitchtoo

Totally Zenned

Join Date:
Apr 2007
Location:
Ontario, Canada
Posts:
1,733
Plugin Contributions:
14

Re: Display product with tax does not when customer is logged in

I got it.

twitchparts.com runs v1.51 in Country - Canada, Zone - Ontario
I changed it all to the settings you have, turned all the tax display settings ON

No problems logging in and out it all worked.

Then I set the store for this:

Admin>Configuration>My Store>Country: Sweden
Admin>Configuration>My Store>Zone: blank

Presto, recreated the problem exactly. You need a store Zone.

5 Feb 2014, 3:36 AM
#10
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: Display product with tax does not when customer is logged in

Great!! But Sweden does not have any zones. When I select Sweden for the Country (Admin>Configuration>My Store>), the drop-down for Zone is blank.

5 Feb 2014, 4:02 AM
#11
twitchtoo avatar

twitchtoo

Totally Zenned

Join Date:
Apr 2007
Location:
Ontario, Canada
Posts:
1,733
Plugin Contributions:
14

Re: Display product with tax does not when customer is logged in

You'll need something like this from the plugins:
http://www.zen-cart.com/downloads.php?do=file&id=1177

I'm not familiar with Sweden, so check to see if there are zones in Sweden in the list.

Backup your SQL database before running any scripts.

5 Feb 2014, 5:10 AM
#12
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Display product with tax does not when customer is logged in

You said you want to charge everyone for tax ... by everyone do you mean everyone in the world or everyone in Sweden?

If you mean everyone in the world then build your Zone Definition for the taxes to be the whole world ...

In the FAQs there is a Zone Definition for the Rest of the World except the US ... use that and add the US and now it is the whole world ...

Then you can use the default settings on the Product Tax etc. and everyone in the world will always see Tax and everyone in the world will always be charged tax ...

Not sure if you want to do that, but that is how you can do it ...

5 Feb 2014, 1:38 PM
#13
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: Display product with tax does not when customer is logged in

Yes, everyone one in the world.

I didn't see a Rest of the World except US in the FAQ or in the Plugins. Can't I set create a Zone Definition of 'All Countries' and 'All Zones'? Then I could set
Admin>Configuration>My Store>Country: United States
Admin>Configuration>My Store>Zone: Alabama

Or actually anything, since all countries are included, right?

The answer seems to be 'no' because that's what I did but I'm still getting tax without logging in and no tax when logged in.

5 Feb 2014, 1:58 PM
#14
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Display product with tax does not when customer is logged in

You can paste this in the Tools ... Install SQL Patches ...

INSERT INTO `geo_zones` (`geo_zone_id`, `geo_zone_name`, `geo_zone_description`, `last_modified`, `date_added`) VALUES (23, 'The World', 'All Countries Around the World', NULL, '2014-02-04 00:00:00');

INSERT INTO `zones_to_geo_zones` (`zone_country_id`, `zone_id`, `geo_zone_id`) VALUES (1, 0, 23),
(2, 0, 23),
(3, 0, 23),
(4, 0, 23),
(5, 0, 23),
(6, 0, 23),
(7, 0, 23),
(8, 0, 23),
(9, 0, 23),
(10, 0, 23),
(11, 0, 23),
(12, 0, 23),
(13, 0, 23),
(14, 0, 23),
(15, 0, 23),
(16, 0, 23),
(17, 0, 23),
(18, 0, 23),
(19, 0, 23),
(20, 0, 23),
(21, 0, 23),
(22, 0, 23),
(23, 0, 23),
(24, 0, 23),
(25, 0, 23),
(26, 0, 23),
(27, 0, 23),
(28, 0, 23),
(29, 0, 23),
(30, 0, 23),
(31, 0, 23),
(32, 0, 23),
(33, 0, 23),
(34, 0, 23),
(35, 0, 23),
(36, 0, 23),
(37, 0, 23),
(38, 0, 23),
(39, 0, 23),
(40, 0, 23),
(41, 0, 23),
(42, 0, 23),
(43, 0, 23),
(44, 0, 23),
(45, 0, 23),
(46, 0, 23),
(47, 0, 23),
(48, 0, 23),
(49, 0, 23),
(50, 0, 23),
(51, 0, 23),
(52, 0, 23),
(53, 0, 23),
(54, 0, 23),
(55, 0, 23),
(56, 0, 23),
(57, 0, 23),
(58, 0, 23),
(59, 0, 23),
(60, 0, 23),
(61, 0, 23),
(62, 0, 23),
(63, 0, 23),
(64, 0, 23),
(65, 0, 23),
(66, 0, 23),
(67, 0, 23),
(68, 0, 23),
(69, 0, 23),
(70, 0, 23),
(71, 0, 23),
(72, 0, 23),
(73, 0, 23),
(74, 0, 23),
(75, 0, 23),
(76, 0, 23),
(77, 0, 23),
(78, 0, 23),
(79, 0, 23),
(80, 0, 23),
(81, 0, 23),
(82, 0, 23),
(83, 0, 23),
(84, 0, 23),
(85, 0, 23),
(86, 0, 23),
(87, 0, 23),
(88, 0, 23),
(89, 0, 23),
(90, 0, 23),
(91, 0, 23),
(92, 0, 23),
(93, 0, 23),
(94, 0, 23),
(95, 0, 23),
(96, 0, 23),
(97, 0, 23),
(98, 0, 23),
(99, 0, 23),
(100, 0, 23),
(101, 0, 23),
(102, 0, 23),
(103, 0, 23),
(104, 0, 23),
(105, 0, 23),
(106, 0, 23),
(107, 0, 23),
(108, 0, 23),
(109, 0, 23),
(110, 0, 23),
(111, 0, 23),
(112, 0, 23),
(113, 0, 23),
(114, 0, 23),
(115, 0, 23),
(116, 0, 23),
(117, 0, 23),
(118, 0, 23),
(119, 0, 23),
(120, 0, 23),
(121, 0, 23),
(122, 0, 23),
(123, 0, 23),
(124, 0, 23),
(125, 0, 23),
(126, 0, 23),
(127, 0, 23),
(128, 0, 23),
(129, 0, 23),
(130, 0, 23),
(131, 0, 23),
(132, 0, 23),
(133, 0, 23),
(134, 0, 23),
(135, 0, 23),
(136, 0, 23),
(137, 0, 23),
(138, 0, 23),
(139, 0, 23),
(140, 0, 23),
(141, 0, 23),
(142, 0, 23),
(143, 0, 23),
(144, 0, 23),
(145, 0, 23),
(146, 0, 23),
(147, 0, 23),
(148, 0, 23),
(149, 0, 23),
(150, 0, 23),
(151, 0, 23),
(152, 0, 23),
(153, 0, 23),
(154, 0, 23),
(155, 0, 23),
(156, 0, 23),
(157, 0, 23),
(158, 0, 23),
(159, 0, 23),
(160, 0, 23),
(161, 0, 23),
(162, 0, 23),
(163, 0, 23),
(164, 0, 23),
(165, 0, 23),
(166, 0, 23),
(167, 0, 23),
(168, 0, 23),
(169, 0, 23),
(170, 0, 23),
(171, 0, 23),
(172, 0, 23),
(173, 0, 23),
(174, 0, 23),
(175, 0, 23),
(176, 0, 23),
(177, 0, 23),
(178, 0, 23),
(179, 0, 23),
(180, 0, 23),
(181, 0, 23),
(182, 0, 23),
(183, 0, 23),
(184, 0, 23),
(185, 0, 23),
(186, 0, 23),
(187, 0, 23),
(188, 0, 23),
(189, 0, 23),
(190, 0, 23),
(191, 0, 23),
(192, 0, 23),
(193, 0, 23),
(194, 0, 23),
(195, 0, 23),
(196, 0, 23),
(197, 0, 23),
(198, 0, 23),
(199, 0, 23),
(200, 0, 23),
(201, 0, 23),
(202, 0, 23),
(203, 0, 23),
(204, 0, 23),
(205, 0, 23),
(206, 0, 23),
(207, 0, 23),
(208, 0, 23),
(209, 0, 23),
(210, 0, 23),
(211, 0, 23),
(212, 0, 23),
(213, 0, 23),
(214, 0, 23),
(215, 0, 23),
(216, 0, 23),
(217, 0, 23),
(218, 0, 23),
(219, 0, 23),
(220, 0, 23),
(221, 0, 23),
(222, 0, 23),
(224, 0, 23),
(223, 0, 23),
(225, 0, 23),
(226, 0, 23),
(227, 0, 23),
(228, 0, 23),
(229, 0, 23),
(230, 0, 23),
(231, 0, 23),
(232, 0, 23),
(233, 0, 23),
(234, 0, 23),
(235, 0, 23),
(236, 0, 23),
(237, 0, 23),
(238, 0, 23),
(239, 0, 23),
(240, 0, 23);

Then change the Name/Definition to read as you like ...

Next, set up the Tax Rate to use this Zone Definition ...

Then set the Tax settings in My Store back to the defaults and you should get both guests and logged in users seeing taxes ...

5 Feb 2014, 2:20 PM
#15
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: Display product with tax does not when customer is logged in

And we have a winner! Thanks for your persistence Linda. Coffee and donut on the way....

5 Feb 2014, 2:48 PM
#16
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Display product with tax does not when customer is logged in

Thanks for the update that this is now working for you ... :smile:

Thanks also for the coffee and donuts, we really appreciate the support that allows us to continue to help you! :cool:

17 Feb 2014, 10:22 AM
#17
devyani avatar

devyani

Zen Follower

Join Date:
Aug 2011
Posts:
199
Plugin Contributions:
0

Re: Display product with tax does not when customer is logged in

Don't know if this is the right answer, but I had similar problem. Even put a query - http://www.zen-cart.com/showthread.php?212170-VAT-is-not-being-added-for-logged-in-customers-!&p=1237369#post1237369

And after reading up a bit, my problem got sorted by changing the Configuration -> My store -> Basis of product tax setting to "shipping"