I am trying to check if module1 is called on the default default page.
If module1 is called, I want to show the product description for this module. when I tried to add a description on the default page, it shows the description in all virtue mart product modules.
I am stuck at this stage of my project, where I cannot catch the call of module1 on the martial page.
how can i check this call to module1?
here is the code for the description:
// Product Description if (!empty($this->product->product_desc)) { ?> <div class="product-description"> <?php ?> <span class="title"><?php echo JText::_('COM_VIRTUEMART_PRODUCT_DESC_TITLE') ?></span> <?php echo $this->product->product_desc; ?> </div> <?php }
source share