OXID Community Forum

> International Forums > Newbies > Extension 'Country Specific VAT' doesn't work
Login
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Thread: Extension 'Country Specific VAT' doesn't work


Reply
 
Thread Tools Search this Thread Display Modes
#Top   #1  
Old 02-18-2011, 01:19 PM
gibsorter
Guest
Posts: n/a
Default Extension 'Country Specific VAT' doesn't work

Hello everybody,

I am using CE 4.4.6, have downloaded and installed the extension 'Country Specific VAT' and modified the config.inc.php like directed in README, but it doesn't work like stated in its description. It doesn't matter which country a customer is located to, OXID always uses the default VAT configured at Admin > Master Settings > Core Settings> Settings > VAT. What am I doing wrong?
For me it looks like that the function getUserVat in file modules/modvatselector.php will not be executed at any time. I than modified the function getUserVat in file /core/oxvatselector.php like this:

$aCountryVat = $this->getConfig()->getConfigParam( 'aCountryVat' );
if ($aCountryVat[$sCountryId] !== NULL) {
$ret = $aCountryVat[$sCountryId];
}
else {
$ret = $this->getConfig()->getConfigParam( 'dDefaultVAT' );
}

Now, it works like it should be, but this isn't really a good way, because it's a stupid workaround and it only works for standard products. Additionally it will be overwritten with oncoming updates from OXID. Does anyone have a clue how to get the extension working?

Best regards
Nils
Reply With Quote
#Top   #2  
Old 02-18-2011, 01:24 PM
Hebsacker's Avatar
Hebsacker Hebsacker is offline
Moderator
Join Date: Feb 2009
Location: Freie Republik Hohenlohe
Posts: 11,660
Hebsacker is on a distinguished road
Default AW: Extension 'Country Specific VAT' doesn't work

as this extension was written by OXID themselves, maybe it would be nice to post this issue in Bugtracker
__________________
Ray
www.stahlwarenhaus-hebsacker.de______________._.__Tipps zur Forensuche
www.haller-stahlwaren.de____________________._____Tipps zum Forum
_________________________________________._____Forum für Dummies
Reply With Quote
#Top   #3  
Old 02-18-2011, 04:57 PM
gibsorter
Guest
Posts: n/a
Default Re: AW: Extension 'Country Specific VAT' doesn't work

@Ray: Thanks for your advice, so I just dropped a post @ bugtrack.
Reply With Quote
#Top   #4  
Old 02-18-2011, 04:58 PM
Marco Steinhaeuser's Avatar
Marco Steinhaeuser Marco Steinhaeuser is offline
Community Manager @OXID
Join Date: Oct 2008
Posts: 12,702
Marco Steinhaeuser is on a distinguished road
Default Re: Extension 'Country Specific VAT' doesn't work

Hi,

this extension was published as a module and will therefore never been overwritten by any update. On the other hand, we presently have no possibility to support it with updates during the regular development process. Usually, this kind of modules are a result of specific extensions for certain projects/jobs...

Regards
__________________
Marco
http://oxidforge.org
http://about.me/marco.steinhaeuser

Will ignore unsolicited support requests via PM, email or IM.
Reply With Quote
#Top   #5  
Old 02-19-2011, 08:57 AM
gibsorter
Guest
Posts: n/a
Default Re: Extension 'Country Specific VAT' doesn't work

@Marco:
"this extension was published as a module and will therefore never been overwritten by any update."
Yes, you're right with that. But I stated that I modified a function in the file /core/oxvatselector.php and this one - maybe - is updated with the next version.

"On the other hand, we presently have no possibility to support it with updates during the regular development process."
No problem with that.

"Usually, this kind of modules are a result of specific extensions for certain projects/jobs..."
I can't follow this statement. No matter, if talking about a whole module or a single function, nevertheless the code should work prior to its release.
For me this sounds like "You can have this cd-tuner for your car for free". After you had installed the device, it is said "But it will not function, because it was designed to operate in certain cars.".
Reply With Quote
Reply

Bookmarks

Tags
country, extension, extension problem, specific, vat, work

« Previous Thread | Next Thread »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Nicht Sichtbar
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Display Products of Specific Category kermit_cof Templates and Design 10 04-12-2011 11:05 AM
zoom function doesn't work olsk General 4 11-17-2010 12:24 PM
_getAmountPrice function doesn't exist error gyan Newbies 3 10-05-2010 07:57 PM
Restrict CMS pages to specific Users MrVermondReal Administration 0 09-21-2010 05:01 PM
Language specific characters in pdf [email protected] Newbies 2 05-16-2009 09:12 AM

All times are GMT +1. The time now is 07:37 PM.