I'm still struggeling with this. The problem is i dont know wat to put in the product_listing. i tried this:
Code:
$lc_text =$listing->fields['products_quantity'] . '<br/><a href="' . zen_href_link(FILENAME_DEFAULT, 'manufacturers_id=' . $listing->fields['manufacturers_id']) . '">' . $listing->fields['manufacturers_name'] . '</a><br/>';
This works what i get is the quantity of the products in total.
What i want is just the name of the attributes so i looked around in the codes and found in /includes/classes/order.php this line // 'products_options_values' => $attributes_values->fields['products_options_values_name'], so i tried:
Code:
$lc_align = '';
$lc_text = $attributes_values->fields['products_options_values_name'] . '<a href="' . zen_href_link(FILENAME_DEFAULT, 'manufacturers_id=' . $listing->fields['manufacturers_id']) . '">' . $listing->fields['manufacturers_name'] . '</a><br/>';
break;
Can someone point me in the right direction? I unterstand it is a loop, but in dont understand to make this loop. In a ideal world i only want to display the attribute when its product_options_id is 1 or 4 and the quantity is > 0
I'm learning but now im stuck. Help?