teitbite wrote:Hi
Please try to rename /html/com_virtuemart/category to /html/com_virtuemart/_category and let me know if this makes a difference.
This doesn´t work. Now, I solved the Problem with these code at the file "default_products" in
/template/gk_shop_and_buy/html/com_virtuemart/virtuemart/
at line 43
- Code: Select all
// Show Products ?>
<div class="product floatleft<?php echo $cellwidth . $show_vertical_separator ?>">
<div class="spacer">
<?php // Product Image
if ($product->images) {
echo '<div>';
echo JHTML::_ ( 'link', JRoute::_ ( 'index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=' . $product->virtuemart_product_id . '&virtuemart_category_id=' . $product->virtuemart_category_id ), $product->images[0]->displayMediaThumb( 'class="featuredProductImage" border="0"', false,'class="modal"' ) );
echo '</div>';
}
?>
<?php // AFTER THIS IS THE NEW CODE#########################?>
<div>
<h3 class="catProductTitle"><?php echo JHTML::link ( JRoute::_ ( 'index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=' . $product->virtuemart_product_id . '&virtuemart_category_id=' . $product->virtuemart_category_id, FALSE ), $product->product_name, array ('title' => $product->product_name ) ); ?></h3>
<span class="catProductPrice">
<?php
echo $this->currency->createPriceDiv('salesPrice', '', $product->prices);
echo $this->currency->createPriceDiv('taxAmount', JText::_('TPL_GK_LANG_VM_INC_TAX'), $product->prices);
?>
</span>
<a href="<?php echo $product->link; ?>" class="readon"><?php echo JText::_('COM_VIRTUEMART_PRODUCT_DETAILS'); ?></a>
</div>
</div>
</div>
I hope it is correct. But it works.
BR