Wednesday, February 24, 2010

virtuemart addtocart_list_single.tpl.php on line 38

If you are getting an attributes error in virtuemart with child products on line 38. Just open the file and add an if isset to the attributes around the foreach statement.

likea-so


if(isset($product['attrib_value']))
{
foreach($product['attrib_value'] as $attribute) { ?>
<span class="vmChildDetail<?php echo $cls_suffix ?>" style="width :<?php echo $attrib_width ?>;" />
<?php echo " ".$attribute ?></span>
<?php
}
}


Stumble Upon CodePyro

1 comment:

lin liyi said...

Watches are undoubtedly one of the rolex submariner replica best rulers to measure a man taste. Apart from the replica watches sale wedding ring, watches may be the most acceptable jewelry for rolex replica sale men. Choosing a delicate watch is rolex replica uk understandable for a successful man. For those who really love the watch, there is a kind of almost totem like devotion to the watch. The steadiness, fortitude and punctuality of a man can be reflected in the movement of time. The gentleman introverted character and unique aesthetic taste through the appearance of out, they also know how to deepen the connotation of tag heuer replica accumulation, personal charm, reading, travel, or focus on loving personal hobbies, rich inner time after precipitation given the attractive appearance out of the ordinary man.

Post a Comment