VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: bigrich66 on May 05, 2017, 10:44:41 AM

Title: Custom Field not displaying even though two others already are
Post by: bigrich66 on May 05, 2017, 10:44:41 AM
Joomla 3.7.0
VM 3.2.1
PHP7

Hi

I cannot get a Custom Field to display even though it is set up correctly.

I already have two other custom fields displaying correctly but this third one will not display. You can see the two working ones (colour and size) on the page below

https://www.fairytaleendings.co.uk/shop-by-department/evening-dresses/ls1002-precis-petite-navy-detail

I dont think its the template because if I change it to Protostar temporarily the field still does not show

I have attached a screen shot of the Custom field that does not work settings

Cheers
Title: Re: Custom Field not displaying even though two others already are
Post by: GJC Web Design on May 05, 2017, 11:20:22 AM
are there any differences between this on and the other two re settings?
Title: Re: Custom Field not displaying even though two others already are
Post by: bigrich66 on May 05, 2017, 12:28:24 PM
Here are the other two Custom Field settings that work
Title: Re: Custom Field not displaying even though two others already are
Post by: GJC Web Design on May 05, 2017, 22:02:49 PM
looks identical to me

u need to do some debugging and echo out the $product object and see if the custom field is there

print 'Debug Line '.__LINE__.' $this->product <pre>'; print_r ($this->product); print "</pre><br />\n";

anywhere in the php of your details default template