News:

Support the VirtueMart project and become a member

Main Menu

Price products overwritten

Started by dakotaclan, July 26, 2015, 16:52:09 PM

Previous topic - Next topic

dakotaclan

Hi friends,
How can I lower the price of products covered by the text of the short description, to make it visible.

Thanks in advance

Use: Joomla 3.4.3 and VM 3.0.9

http://www.vhs-store.com/index.php/vhs-horror


jenkinhill

The VM default products.php sublayout template includes the code:  echo shopFunctionsF::limitStringByWord ($product->product_s_desc, 60, ' ...')   to limit the number of charcters in the shorst desc, and therefore its height. I guess you removed in an override that so now the desc overlays the price.

Use Firebug to work out what you need to do to fix this - or fix it within your products.php file.    http://forum.virtuemart.net/index.php?topic=116620.0

Never tried this, but something like  .product_s_desc::after {clear:both;} may work, or play with the heights.
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

dakotaclan

Hi  Jenkinhill,
I have tried to change the height of the short description in the file products.php but it works only if I leave the original height to 60. I have not changed or deleted no override, and do not understand how to solve it. :(