Kryptronic Software Support Forum

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.

#1 03-31-2010 05:57:56

scotty666
Member
Registered: 08-17-2009
Posts: 22

style / remove 'Inc VAT' in V7

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

 

#2 03-31-2010 07:43:38

NicheDev
Member
Registered: 02-04-2009
Posts: 152

Re: style / remove 'Inc VAT' in V7

store-private\core\CORE\install\data_core_settings_1.xml

Offline

 

#3 03-31-2010 08:05:24

scotty666
Member
Registered: 08-17-2009
Posts: 22

Re: style / remove 'Inc VAT' in V7

NicheDev wrote:

store-private\core\CORE\install\data_core_settings_1.xml

whoa! never would've looked in there!

thanks.

Offline

 

#4 03-31-2010 17:26:31

Dave
Member
Registered: 07-05-2003
Posts: 11233

Re: style / remove 'Inc VAT' in V7

The XML files have nothing at all to do with displaying things. They are only used during installation.

Offline

 

#5 03-31-2010 18:10:26

NicheDev
Member
Registered: 02-04-2009
Posts: 152

Re: style / remove 'Inc VAT' in V7

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

 

#6 04-01-2010 04:54:39

scotty666
Member
Registered: 08-17-2009
Posts: 22

Re: style / remove 'Inc VAT' in V7

so is it possible to remove the Inc VAT text at all?

Offline

 

#7 04-05-2010 05:50:09

scotty666
Member
Registered: 08-17-2009
Posts: 22

Re: style / remove 'Inc VAT' in V7

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

 

#8 04-05-2010 06:25:48

Dave
Member
Registered: 07-05-2003
Posts: 11233

Re: style / remove 'Inc VAT' in V7

The info posted earlier provides the clue where you'll need to go to alter that text. Getting there isn't obvious though smile

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

 

#9 04-05-2010 07:17:36

scotty666
Member
Registered: 08-17-2009
Posts: 22

Re: style / remove 'Inc VAT' in V7

got it, thanks.

certainly beats my 'hacky' solution.

Offline

 

Board footer