Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Aamir

    (@aamiribsf)

    Hello @bprado ,

    Greetings for the day!

    If you’re not sure how to use this custom PHP code, please refer to the following article on our knowledge base:

    How and Where to Add the Custom JS, CSS & PHP Codes?

    add_filter('woo_ca_generate_coupon', 'update_coupon_options');
    
    function update_coupon_options( $coupon_post_data ){
    
        $coupon_post_data['exclude_sale_items'] = 'yes';
    
        return $coupon_post_data;
    }

    Currently, we only have the above solution suggested using the PHP code

    Hope this helps.

    Let me know how it goes.

    Plugin Support Shravan Bhaskaravajjula

    (@bhshravankumar)

    Hello?@bprado?,

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.
    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘exclude auto generated coupons from sales items’ is closed to new replies.