Hi Olly,
Before Upgrade to WP Pizza 3, I made to last update for the Add Ingredient Extension.
I had a Filter to add a “add to cart” button at the bottom of the Pop Up.
add_filter(‘wppizza_add_ingredients_filter_after_groups’, ‘my_custom_filter’,12,2);
function my_custom_filter($str,$lbl){
$str.='<div style=”margin:0 0 30px 0;padding:2px 2px 10px 10px;”><input id=”wppizza-diy-to-cart” class=”btn btn-primary” type=”button” value=”‘.$lbl[‘add_to_cart’].'”></div>’;
return $str;
}
Unfortunately with the last update of the extension, this filter is not working anymore. The button is still here but the click doesn’t work anymore.
Could you help me please.
Thank you.