You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.
trying to remove or at least style the 'Inc VAT' text after the price in version 7. Im looking in pricedisp.php but it seems to be all in the $priceinfo variable ( I think ). where about would I find the 'inc VAT' text on its own?
Last edited by scotty666 (03-31-2010 05:58:37)
Offline
store-private\core\CORE\install\data_core_settings_1.xml
Offline
NicheDev wrote:
store-private\core\CORE\install\data_core_settings_1.xml
whoa! never would've looked in there!
thanks.
Offline
The XML files have nothing at all to do with displaying things. They are only used during installation.
Offline
Sorry, guys, I did a quick file search for the phrase and thought that was it. Tried to help. Would someone please wipe this egg off my face?
Offline
so is it possible to remove the Inc VAT text at all?
Offline
Its not so straightforward to remove the 'inc vat' then I guess?
** edit to add ***
Decided to use the rtrim() function to remove the text. probably not the best way to do it but I couldnt find anything else...... meh!
Last edited by scotty666 (04-05-2010 06:22:16)
Offline
The info posted earlier provides the clue where you'll need to go to alter that text. Getting there isn't obvious though
In admin go to System > Database > Raw Database Admin
Find the core_settings table and click on Guided Select
Leave ID checked in the Select clause section and enter
`id` = 'core.taxcountryeutextincl'
in the Where clause section then press submit.
You should get one hit.
Click on Update
Scroll down and you'll see Inc VAT in the value field. Remove it and press submit.
Offline
got it, thanks.
certainly beats my 'hacky' solution.
Offline