Exclusive eBooks, Software Solutions, Quality Guaranteed
 
Web NukeBiz
Welcome to NukeBiz · Members
Amazon
show cart or checkout0 items
Cart Value: 0.00

Forums » DragonflyCMS Projects » Storez » [wip] Tax handling
[wip] Tax handling
A comprehensive shopping cart solution.
Topic initiation via Bugger.

Post new topic    Reply to topic    Printer Friendly Page     Forum Index »  eCommerce » Storez

View previous topic :: View next topic  
Author Message
movix
Nice Poster
Nice Poster

Offline Offline
Joined: Mar 02, 2012
Posts: 7

PostPosted: Fri May 11, 2012 4:56 am
Post subject: [wip] Tax handling

Hello,

is there a way to show prices including the taxes in the whole shop and cart/checkout dialog upon a selected default tax ?

Perhaps there is a way to get the tax guessed from the currently selected language, that would be great.

I will try to get a solution for this. Do you have some advices where to start or which way to do it ?


movix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/Apache/MySQL 5.1.49/PHP 5.3.6/ DF 9.3.2.0
Back to top
View user's profile
Phoenix
Chairman
Chairman

Offline Offline
Joined: Mar 17, 2004
Posts: 1543
Location: Netizen
PostPosted: Mon May 14, 2012 8:31 pm
Post subject: Re: Tax handling

Tax doesn't work how it should, so I'm now going through the whole tax system.

My primary objective is ensuring that any changes reflect what is best for all Storez users, which may mean adding extra admin options.

Showing in the whole shop is tricky since tax is invariably location based, especially so for guests, where you have no idea of their location. Since pretty much everything is now templated, you might be best served to add your own text somewhere.

Showing in the cart can and will be enhanced, which may mean discarding past ill-advised changes.

A language basis is not an option since it cannot always reflect the state and/or country for a store, english and french being obvious examples - which of dozens of countries would we use for the tax?

PS for the whole store, perhaps something along these lines:
nukebiz.com/Forums/vie...3120/#3120

_________________
DonationsPro for vBulletin, SMF, MyBB, DragonflyCMS


Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website ICQ Number Yahoo Messenger Photo Gallery
movix
Nice Poster
Nice Poster

Offline Offline
Joined: Mar 02, 2012
Posts: 7

PostPosted: Mon May 14, 2012 11:42 pm
Post subject: Re: Tax handling

What do you think to add template variables called
STOREZ_LOCAL_TAX and STOREZ_LOCAL_PRICE_WITH_VAT using the tax from the country the shop resides in. After that is't upon templating to use it or not.

That said there is still a need to have various tax rates within a same country. so do you plan to have various tax levels for one same country. for example food has not the same tax than computers will have here in france.


movix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/Apache/MySQL 5.1.49/PHP 5.3.6/ DF 9.3.2.0
Back to top
View user's profile
Phoenix
Chairman
Chairman

Offline Offline
Joined: Mar 17, 2004
Posts: 1543
Location: Netizen
PostPosted: Tue May 15, 2012 6:13 am
Post subject: Re: Tax handling

Providing template variables is the direction that Australian GST example was headed, by showing the VAT component. Showing the total price including VAT is more complex.
Quote::
My primary objective is ensuring that any changes reflect what is best for all Storez users
I cannot assume everyone wants VAT displayed and therefore cannot expect users to edit such info out of their templates, so it will be optional.

There is still the major problem of deciding which country a guest is from before they checkout, so it will have to assume the Company Information you provide in admin settings - a problem if you're selling internationally.

There is no need to provide any more tax options as Storez already lets you create however many taxes you want by country and/or state/province, so you can already use different VATs for different product types.
(thankfully I only have to deal with 2 levels - it's either taxed at 10% or it's not)

(Using L_(LANG_DEFINE) in templates is a superior approach to language, so I'll continue removing L_LANG_DEFINE from core code and templates wherever I find them)

_________________
DonationsPro for vBulletin, SMF, MyBB, DragonflyCMS


Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website ICQ Number Yahoo Messenger Photo Gallery
movix
Nice Poster
Nice Poster

Offline Offline
Joined: Mar 02, 2012
Posts: 7

PostPosted: Tue May 15, 2012 9:15 pm
Post subject: Re: [wip] Tax handling

if you sell internationnaly you only have to apply the vat in the countries from which your company can make invoices otherwise you have to apply your local VAT. I don't know a lot about other situations in non europe countries.
In Europe on top of that if we have euro-international b2b commerce there is no VAT applied at all.
This aims to say if the country of the user is not clearly identified the default values in the template variable could be the local tax of the shop owner. I guess this would fit the needs of most european countries.

one language multiple countries speeking it, on country with serveral languages, all this makes it a bit complicated.


movix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/Apache/MySQL 5.1.49/PHP 5.3.6/ DF 9.3.2.0
Back to top
View user's profile
Display posts from previous:   
Post new topic    Reply to topic    Printer Friendly Page    Forum Index »  eCommerce » Storez
Page 1 of 1
All times are GMT + 9.5 Hours



Jump to:  


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum