I am developing a custom module that tells me if a product is discountable or not with a coupon.
So I need to know what function tells me whether the coupon is applicable to an individual product.
thanks a lot
stefano
<?php
$coupon_session = AC()->storediscount->get_coupon_session();
?>