Beispiel #1
0
                </tr>
            </thead>
            <tbody>
            <?php 
    $i = 0;
    $k = 0;
    ?>
 
            <?php 
    foreach ($items as $item) {
        ?>
            	
            	<?php 
        $params = new DSCParameter(trim(@$item->wishlistitem_params));
        $default_url = "index.php?option=com_tienda&view=products&task=view&id=" . $item->product_id;
        $attributes = TiendaHelperProduct::convertAttributesToArray($item->product_id, $item->product_attributes);
        for ($j = 0, $c = count($attributes); $j < $c; $j++) {
            $default_url .= '&attribute_' . $attributes[$j][0] . '=' . $attributes[$j][1];
        }
        if ($itemid = $products_model->getItemid($item->product_id)) {
            $default_url .= "&Itemid=" . $itemid;
        }
        $link = $params->get('product_url', $default_url);
        $link = JRoute::_($link);
        ?>
            
                <tr class="row<?php 
        echo $k;
        ?>
 wishlistitem-<?php 
        echo $item->wishlistitem_id;