Today I found a little bug in VirtueMart 1.13 or perhaps it's a feature. When using related products on your product page only 4 items of related products would show. If you modify
administrator/components/com_virtuemart/html/shop.product_details.php
at line 85:
$q .= "AND FIND_IN_SET(#__{vm}_product.product_id, REPLACE(related_products, '', ',' )) LIMIT 0, 4";
to
$q .= "AND FIND_IN_SET(#__{vm}_product.product_id, REPLACE(related_products, '', ',' )) ";
you remove this silly limit. Easy! :)
No comments:
Post a Comment