News:

Looking for documentation? Take a look on our wiki

Main Menu

Customized Product Details in Lightbox

Started by liquid.ideas, September 02, 2013, 10:02:18 AM

Previous topic - Next topic

liquid.ideas

Morning Guys,

I'm sure the question has been asked and answered but I cannot seem to find it in the forums so here goes.

I would like to have a custom lightbox that comes up when you click the product image in the category view, I would say it would be done much like this:

<div class="clear"></div>
<a class="product-details modal" rel="Lightbox" href="<?php echo $url ?>"><?php echo JText::_('COM_VIRTUEMART_PRODUCT_DETA 


That is what I used for a product details button, but the problem is that the lightbox brings up the whole of the custom product details page, is there a way to do this that you can only call up the product image and description, like productdetails/default_simple.php without the add to cart etc etc?

Any help would be greatly appreciated!

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

liquid.ideas

Mmmm R721.60 seems a bit steep if only wanting to use one piece of that component. Thanks anyway jenkinhill

liquid.ideas

My very ugly workaround (in case anyone needs it):

Add a css sheet to component.php, in that sheet I used a couple of {display:none;} 's to hide all the excess content. Just for now. Will let you guys know when I come up with a proper solution.