News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Related roducts

Started by roman5527, November 23, 2015, 20:55:00 PM

Previous topic - Next topic

roman5527

Hi, how i remove product title from related products ? thanks

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

roman5527

Joomla : 3.4.5
VM : 3.0.12

on product detail page . thanks

jenkinhill

You can do that using template overrides, but easiest way is to use a css override.  You can work this out using Firebug  http://forum.virtuemart.net/index.php?topic=116620.0

In VM default template it could be something like   .product-fields-title-wrapper  {display:none;}     (not tested!).
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

SnakeFFM

you could do it with 1-2 maybe 3 simple lines of css... just by { display: none; }

Use firebug to get the right element...if you dont know firebug, you should get used to it, as you ll always need it..

SnakeFFM

Kelvyn is too fast, too furious  8)

roman5527

Hi, product title in relative product dint have tag or class. you can see img.

jenkinhill

That is a commercial template using its own overrides, so you may have to edit the overrides to add a class - or ask the template developer. 
http://forum.virtuemart.net/index.php?topic=108212.0
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

roman5527

Hi, yes this is commercial template.

I see file in template/html/com_virtuemart/sublayout/

this is code : <span class="product-field-display"><?php echo $field->display ?></span>

you can see img.

When I found what does mean $field->display and where i find code which is defined  <?php echo $field->display ?>


thnanks

roman5527