We are building a pizza ordering website and acquired your Attributes checkbox module. So far everything's working fine. There's just a small tweak the owner suggested. In the enclosed file you'll see that the list of attributes is very long when it is displayed in the cart. We would like to display only the attributes that were chosen, so that the cook and the other workers don't have to go through the whole list looking for the items that say "Sí".
My idea is to go to /lib/functions.php and around where it says
if (count($atribute)) $html .= '<div class="list_attribute">';
foreach($atribute as $attr){
$dispatcher->trigger('beforeSprintAtributeInCart', array(&$attr) );
select the attribute every time its value is "No" and exclude it from the array.
But that's as far as I get. I don't know enough php syntax to write that without breaking it all up. Can you please add that in for me?
Joomla: 3.3.6
JoomShopping: 4.6.1
PHP: 5.3.28
MySQL: 5.6.17
Website Url: pizzaescazu.com
JoomShopping: 4.6.1
PHP: 5.3.28
MySQL: 5.6.17
Website Url: pizzaescazu.com