VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: deeceedertien on August 15, 2016, 20:41:23 PM

Title: Can't find where to remove */?> from extra fields/size field
Post by: deeceedertien on August 15, 2016, 20:41:23 PM
Hi Guys,

I just wanted to ask your help. On our site there is a */?> appearing above the extra fields, and i can't find where to remove it (i mean in which file).
Can anyone please help me out and have a look with chrome or firebug or something to see if they can spot where it should be?

The link to the example page is (shortened): http://bit.ly/2b9pOWK

A screenshot of the issue has been attached to this message.

Thanks alot in advance for helping me out!


Cheers!



p.s. Running on VM2.6.20 on Joomla 2.5.28



Title: Re: Can't find where to remove */?> from extra fields/size field
Post by: GJC Web Design on August 15, 2016, 20:52:28 PM
assume either

components\com_virtuemart\sublayouts\customfields.php

or

components\com_virtuemart\sublayouts\customfield.php

or their over rides if over ridden
Title: Re: Can't find where to remove */?> from extra fields/size field
Post by: deeceedertien on August 15, 2016, 21:42:14 PM
thanks man for your quick response! Highly appreciated! Unfortunatly i don't have a folder "sublayouts"  in com_virtuemart. not in site and not in admin folders.
Any other suggestions maybe?

I should have mentioned that this is Joomla 2.5.28 and VM2.6.20

Thanks again!
Title: Re: Can't find where to remove */?> from extra fields/size field
Post by: GJC Web Design on August 15, 2016, 22:11:14 PM
QuoteI should have mentioned that this is Joomla 2.5.28 and VM2.6.20

Yes-- indeed u should have.. first sticky.. http://forum.virtuemart.net/index.php?topic=79799.0

then in 2.6 customs are rendered in the model as far as i can remember

maybe  administrator\components\com_virtuemart\models\customfields.php

or   administrator\components\com_virtuemart\models\custom.php

or could be template etc
Title: Re: Can't find where to remove */?> from extra fields/size field
Post by: deeceedertien on August 15, 2016, 23:05:35 PM
That's why i've corrected the posts. Speaks for itself :)
Thanks again, but no luck, did not find the file this is located in. Driving me nuts though.
Title: Re: Can't find where to remove */?> from extra fields/size field
Post by: PRO on August 16, 2016, 16:37:57 PM
thats not in administrator folder.

http://forum.virtuemart.net/index.php?topic=98505.0

default_customfields

it might actually be in your addtocart form file.

Title: Re: Can't find where to remove */?> from extra fields/size field
Post by: deeceedertien on August 16, 2016, 19:52:57 PM
Quote from: PRO on August 16, 2016, 16:37:57 PM
thats not in administrator folder.

http://forum.virtuemart.net/index.php?topic=98505.0

default_customfields

it might actually be in your addtocart form file.

@ PRO: THANKS SOOOOO MUCH!! You are a hero man. It was in de addtocart.php override indeed!! #HeroTypeOfStuff #ProblemSolved