Forums / Features Wish List / Display price with VAT/TAX and Ex VAT/TAX

Display price with VAT/TAX and Ex VAT/TAX

Views: 57,806

Results 81 to 100 of 367
20 Mar 2008, 7:57 PM
#81
radub avatar

radub

New Zenner

Join Date:
Mar 2008
Posts:
11
Plugin Contributions:
0

Display price with VAT/TAX and Ex VAT/TAX

I installed this mod and all worked fine except that I could not complete checkout. I cannot get to step 2 of 3. I get a blank page.
I reinstalled the original files (thankfully, I backed up my files) and I can complete checkout again (but i am back to seeing just the one price without VAT)
Any solutions?
Radu

25 Mar 2008, 11:34 AM
#82
hem avatar

hem

Totally Zenned

Join Date:
Sep 2007
Location:
Dublin, Ireland
Posts:
1,281
Plugin Contributions:
5

Re: Display price with VAT/TAX and Ex VAT/TAX

Radu- are you getting any errors or just a blank page. Do you have a URL where I can check this out???

Andrew

Andrew Moore
Omnicia Agile Development
www.omnicia.com

27 Mar 2008, 7:45 PM
#83
radub avatar

radub

New Zenner

Join Date:
Mar 2008
Posts:
11
Plugin Contributions:
0

Re: Display price with VAT/TAX and Ex VAT/TAX

Hi Andrew,
I get only a blank page, no errors of any kind, no text, nothing. The website is https://www.radubstore.com. but as I said, the site was reverted to the original format, I removed all the the mods that showed the two prices and now it just shows the single VAT-less price. It is a pity, because it looked good and all worked well, but I just could not get to the second stage of checkout.
Radu

27 Mar 2008, 8:02 PM
#84
radub avatar

radub

New Zenner

Join Date:
Mar 2008
Posts:
11
Plugin Contributions:
0

Re: Display price with VAT/TAX and Ex VAT/TAX

Hi Andrew,
All I get is a blank page. The wesbite is radubstore.com, but the mod was removed and it is only displaying prices without VAT
Radu

28 Mar 2008, 9:33 AM
#85
hem avatar

hem

Totally Zenned

Join Date:
Sep 2007
Location:
Dublin, Ireland
Posts:
1,281
Plugin Contributions:
5

Re: Display price with VAT/TAX and Ex VAT/TAX

Radu- do you have ZenCart installed on localhost??? If so can you install the mod there and see if you get the same error. If you do edit your application_top.php (it's in /includes) and switch on error reporting by adding the following line:

define(STRICT_ERROR_REPORTING,true);

before the lines that read:

if (defined('STRICT_ERROR_REPORTING') && STRICT_ERROR_REPORTING == true) {
  @ini_set('display_errors', '1');
  error_reporting(E_ALL);
} else {
  error_reporting(0);
}

This should be at line 52. You will now get a lot of messages appear. Go to your page 2 of the checkout- The last message should be error that is stopping the page from loading.

Andrew

Andrew Moore
Omnicia Agile Development
www.omnicia.com

28 Mar 2008, 9:55 AM
#86
radub avatar

radub

New Zenner

Join Date:
Mar 2008
Posts:
11
Plugin Contributions:
0

Re: Display price with VAT/TAX and Ex VAT/TAX

Hi Andrew,
I reinstalled it and I get the same problem. You can check it for yourself - the website is on-line now.

I did what you said and I get some errors: (I will send them by PM)

The thing is that I am a novice at this and I have no idea where to look or how to fix these. :-(

All help much appreciated.
Radu

28 Mar 2008, 2:25 PM
#87
radub avatar

radub

New Zenner

Join Date:
Mar 2008
Posts:
11
Plugin Contributions:
0

Re: Display price with VAT/TAX and Ex VAT/TAX

Sorted, with many thanks to Andrew. The "problem" was not with his mod, it was all to do with my website. Andrew found the solutions and all is fine now.
Thanks again, Andrew!
Radu

28 Mar 2008, 3:17 PM
#88
hem avatar

hem

Totally Zenned

Join Date:
Sep 2007
Location:
Dublin, Ireland
Posts:
1,281
Plugin Contributions:
5

Re: Display price with VAT/TAX and Ex VAT/TAX

No problems- glad I could help.

Andrew

Andrew Moore
Omnicia Agile Development
www.omnicia.com

5 Apr 2008, 9:59 AM
#89
spbennett avatar

spbennett

Zen Follower

Join Date:
Feb 2007
Location:
Leicester UK
Posts:
230
Plugin Contributions:
0

Re: Display price with VAT/TAX and Ex VAT/TAX

spbennett:

Thanks for the mod Andrew. Works great.

Would it be possible though, to display prices with tax and add without tax, rather than show without tax and add with tax?

The reason I need this is because when automatic feeds are generated, the generated price is Ex VAT but a few of the sites I submit feeds to insist on a price field which includes VAT.

Would it be much work to swap it around? Can you point me in the right direction please?

Any update on this Andrew?

5 Apr 2008, 2:17 PM
#90
mali avatar

mali

New Zenner

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

Re: Display price with VAT/TAX and Ex VAT/TAX

Hello,

I have had a look at this module Include and Exclude Tax in Prices (Nett/Gross)
And it seemed to be for zencart 1.3.8.

I have my store using zencart 1.3.7. I tried my luck to install this on the local test site. It seem to work fine. However, all the TAX calculation seem to not work when you logged in. The TAX are not calculated for some reason.

For example, when you browse the site as a guess you will see

Product A
22.99 Ex VAT
27.01 Inc VAT

But after you logged in, You will see
22.99 Ex VAT
22.99 Inc VAT

The price stay the same which is wrong.

Is there any specific file in 1.3.7 that I should be look at? And if so, Can you please advise how to do it.

Any help will be greatly appreciated.

thanks.
Mali

mali

5 Apr 2008, 2:56 PM
#91
mali avatar

mali

New Zenner

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

Re: Display price with VAT/TAX and Ex VAT/TAX

Forgot to mentioned that I managed to have it work fine on the local test site. (The price Inc/Ex VAT show correctly before and after logged in). But when I installed it on live site then it didn't work. :frusty:

mali

7 Apr 2008, 8:25 AM
#92
hem avatar

hem

Totally Zenned

Join Date:
Sep 2007
Location:
Dublin, Ireland
Posts:
1,281
Plugin Contributions:
5

Re: Display price with VAT/TAX and Ex VAT/TAX

spbennett:

Any update on this Andrew?

Will be done some time this week- Just putting the finishing touches to my Reward Point mod and then I can get back to this.

Andrew

Andrew Moore
Omnicia Agile Development
www.omnicia.com

26 Apr 2008, 9:36 PM
#93
clevatreva avatar

clevatreva

New Zenner

Join Date:
Apr 2008
Posts:
12
Plugin Contributions:
0

Re: Display price with VAT/TAX and Ex VAT/TAX

Hi Hem

Great Mod! :smile:

I just tried to install this mod.

The SQL bit didn't work. I have no db prefix set and found removing the database names worked:

From this:

UPDATE `zencart`.`configuration` SET `configuration_description` = 'Display prices with Tax?<br>
0= Display with tax excluded<br>
1= Display with tax included<br>
2= Display tax included AND excluded prices', set_function = 'zen_cfg_select_option(array(''0'', ''1'', ''2''),', `configuration_value` = '2' 
WHERE `zen_configuration`.`configuration_id` =15;
UPDATE `configuration` SET `configuration_description` = 'Display prices with Tax?<br>
0= Display with tax excluded<br>
1= Display with tax included<br>
2= Display tax included AND excluded prices', set_function = 'zen_cfg_select_option(array(''0'', ''1'', ''2''),', `configuration_value` = '2'
WHERE `configuration`.`configuration_id` =15;

Also, the excluding VAT bit says 'Ex VAT', but most sites say 'Exc VAT'. I changed this in the IncExTaxMod_defines.php file.
Onwars and upwards. I owe you a beer.

Trev

30 Apr 2008, 9:22 PM
#94
billnally avatar

billnally

Zen Follower

Join Date:
Jan 2006
Posts:
251
Plugin Contributions:
0

Re: Display price with VAT/TAX and Ex VAT/TAX

hem:

Craig, this will be because you have set a prefix for your ZenCart tables. You will have to edit the sql file and add this prefix to the table names. Let me know if you need any help.

Hi guys, I’m having this same error but I have no idea what to do about it.

1 May 2008, 7:10 AM
#95
spbennett avatar

spbennett

Zen Follower

Join Date:
Feb 2007
Location:
Leicester UK
Posts:
230
Plugin Contributions:
0

Re: Display price with VAT/TAX and Ex VAT/TAX

Copy & Paste the sql script in Admin>Tools>Install SQL Patches and zencart will add the database and table prefixes.

If you use PHPMyAdmin you'll need to edit the script to reflect your prefixes before you run it.

1 May 2008, 2:01 PM
#96
hem avatar

hem

Totally Zenned

Join Date:
Sep 2007
Location:
Dublin, Ireland
Posts:
1,281
Plugin Contributions:
5

Re: Display price with VAT/TAX and Ex VAT/TAX

Just a heads-up. I've submitted the latest version of this mod to Contributions. Version 1.1.0 is a major facelift- I've removed all modifications and overwrites of core files, so the mod is entirely standalone. This should resolve some of the mod clash problems. Also the problems with the weird prices appearing have been resolved.

And last but not least- The display price with tax included and then excluded has been added.

Hopefully the ZenCart mods will approve it shortly.

Andrew

Andrew Moore
Omnicia Agile Development
www.omnicia.com

1 May 2008, 2:03 PM
#97
hem avatar

hem

Totally Zenned

Join Date:
Sep 2007
Location:
Dublin, Ireland
Posts:
1,281
Plugin Contributions:
5

Re: Display price with VAT/TAX and Ex VAT/TAX

Downside is if you have been using the previous mod you will need to replace all the core files that that version overwrote, otherwise there will be some extremely amusing effects...

Andrew

Andrew Moore
Omnicia Agile Development
www.omnicia.com

1 May 2008, 3:37 PM
#98
clevatreva avatar

clevatreva

New Zenner

Join Date:
Apr 2008
Posts:
12
Plugin Contributions:
0

Re: Display price with VAT/TAX and Ex VAT/TAX

hem:

Downside is if you have been using the previous mod you will need to replace all the core files that that version overwrote, otherwise there will be some extremely amusing effects...

Hi Hem (or is it Andrew?),

Do you have (or does the new version include) a how to undo 1.0 and install 1.1 step-by-step guide or instructions?

Trev

1 May 2008, 8:48 PM
#99
hem avatar

hem

Totally Zenned

Join Date:
Sep 2007
Location:
Dublin, Ireland
Posts:
1,281
Plugin Contributions:
5

Re: Display price with VAT/TAX and Ex VAT/TAX

ClevaTreva:

Hi Hem (or is it Andrew?),

Do you have (or does the new version include) a how to undo 1.0 and install 1.1 step-by-step guide or instructions?

Trev

No- but give me a little time and I'll put together a "rescue package" :wink:

Andrew

Andrew Moore
Omnicia Agile Development
www.omnicia.com

1 May 2008, 9:25 PM
#100
clevatreva avatar

clevatreva

New Zenner

Join Date:
Apr 2008
Posts:
12
Plugin Contributions:
0

Re: Display price with VAT/TAX and Ex VAT/TAX

hem:

No- but give me a little time and I'll put together a "rescue package" :wink:

Quality :cool: