VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: rafser on December 24, 2015, 14:18:59 PM

Title: Number "1" is visible in every product detail page
Post by: rafser on December 24, 2015, 14:18:59 PM
​VirtueMart 3.0.12 - Joomla! 3.4.7

Hello,

Number "1" is visible in every product detail page.
What is it and how to get rid of it? Any help is appreciated.
Thank you.

Check attached picture:
Title: Re: Number "1" is visible in every product detail page
Post by: jenkinhill on December 24, 2015, 15:20:01 PM
It is not coming from native VirtueMart. It is within your template overrides, probably put in by the developer as a div marker. It seems to be in div "row" which is started in productdetails/default_showcategory.php - so search the overrides and you should eventually find it. Or ask the template developer.

http://forum.virtuemart.net/index.php?topic=108212.0
Title: Re: Number "1" is visible in every product detail page
Post by: GJC Web Design on December 24, 2015, 21:57:01 PM
Or I have seen this on system and content plugins that return "true"  and this gets rendered as a 1

try disabling plugins esp. any called after content render etc
Title: Re: Number "1" is visible in every product detail page
Post by: rafser on December 24, 2015, 23:06:12 PM
Thanks GJC and Jenkinhill ,

I'm sure it is a plugin issue, I did try disabling each one of them but I didn't find the one causing the issue yet, I'm sure it a System plugin.

Is there a way to determine which plugin is cause this issue?

I also followed Jenkinhill suggestion and the template developer suggested me to alter the following code ... and it did work:

templates\t3_bs3_blank\tpls\blocks\mainbody\one-sidebar-left.php
67 String
Remove:
print_r($hide_asides);

Is there a way to see which plugin is causing conflict?
I didn't understand "try disabling plugins "esp". (ESP?)

Thanks for your help.
Title: Re: Number "1" is visible in every product detail page
Post by: jenkinhill on December 24, 2015, 23:37:57 PM
esp is the standard abreviation for especially.