Repository Forums Support WooCommerce Extended Coupon Features PRO Product discount not being applied but free product is

Topic Resolution: Resolved
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #3494
    andrea
    Participant

    I have a coupon SUMMER18 for a $3.00 discount on certain products and a free product also. It applies the free product to each qualifying item in the cart but won’t apply the discount. I even made sure the products weren’t on sale.

    #3495
    andrea
    Participant

    I notice Discount on Cart with Excluded Products is not available in my dashboard….the excluded products from the discount are the free items. Could this be the culprit?

    #3496
    Soft79
    Keymaster

    What version of WC and our plugin do you use?

    #3497
    andrea
    Participant

    WordPress 4.9.6
    2.6.3

    #3498
    Soft79
    Keymaster

    What version of WC?

    Can you please temporarily enable Settings > WC Extended Coupon Features > Debug mode and then on the coupon’s miscellaneous tab download Coupon as JSON and paste it here?

    #3499
    andrea
    Participant

    Woocommerce 3.4.3

    {“result”:”ok”,”coupons”:{“coupon_id”:26552,”coupon_code”:”summer18″,”meta”:{“_edit_last”:””,”_edit_lock”:””,”_wjecf_allow_cart_excluded”:”no”,”_wjecf_allow_enqueue”:”yes”,”_wjecf_apply_discount_to”:”all”,”_wjecf_apply_silently”:”no”,”_wjecf_bogo_matching_products”:”no”,”_wjecf_categories_and”:”no”,”_wjecf_custom_fields”:[{“key”:”_sale_price_dates_from”,”value”:”06\/22\/2018″},{“key”:”_sale_price_dates_to”,”value”:”06\/30\/2018″}],”_wjecf_custom_fields_and”:”no”,”_wjecf_first_purchase_only”:”no”,”_wjecf_free_product_ids”:”746″,”_wjecf_is_auto_coupon”:”no”,”_wjecf_multiply_free_products”:”yes”,”_wjecf_must_select_free_product”:”no”,”_wjecf_products_and”:”no”,”_wjecf_select_free_product_message”:”Please choose your free gift:”,”coupon_amount”:””,”customer_email”:””,”date_expires”:{“date”:”2018-06-30 00:00:00.000000″,”timezone_type”:1,”timezone”:”+00:00″},”discount_type”:”fixed_product”,”exclude_product_categories”:””,”exclude_product_ids”:””,”exclude_sale_items”:false,”expiry_date”:””,”free_shipping”:false,”individual_use”:false,”limit_usage_to_x_items”:null,”maximum_amount”:””,”minimum_amount”:”29.99″,”product_categories”:[95],”product_ids”:[246,25791,239,25792],”usage_count”:0,”usage_limit”:0,”usage_limit_per_user”:0}}}

    #3500
    Soft79
    Keymaster

    You are filtering custom fields for _sale_price_dates_from and _sale_price_dates_to. Can you please remove those filters and try again?

    #3501
    andrea
    Participant

    {“result”:”ok”,”coupons”:{“coupon_id”:26552,”coupon_code”:”summer18″,”meta”:{“_edit_last”:””,”_edit_lock”:””,”_wjecf_allow_cart_excluded”:”no”,”_wjecf_allow_enqueue”:”yes”,”_wjecf_apply_discount_to”:”all”,”_wjecf_apply_silently”:”no”,”_wjecf_bogo_matching_products”:”no”,”_wjecf_categories_and”:”no”,”_wjecf_custom_fields_and”:”no”,”_wjecf_first_purchase_only”:”no”,”_wjecf_free_product_ids”:”746″,”_wjecf_is_auto_coupon”:”no”,”_wjecf_multiply_free_products”:”yes”,”_wjecf_must_select_free_product”:”no”,”_wjecf_products_and”:”no”,”_wjecf_select_free_product_message”:”Please choose your free gift:”,”coupon_amount”:””,”customer_email”:””,”date_expires”:{“date”:”2018-06-30 00:00:00.000000″,”timezone_type”:1,”timezone”:”+00:00″},”discount_type”:”fixed_product”,”exclude_product_categories”:””,”exclude_product_ids”:””,”exclude_sale_items”:false,”expiry_date”:””,”free_shipping”:false,”individual_use”:false,”limit_usage_to_x_items”:null,”maximum_amount”:””,”minimum_amount”:”29.99″,”product_categories”:[95],”product_ids”:[246,25791,239,25792],”usage_count”:0,”usage_limit”:0,”usage_limit_per_user”:0}}}

    #3502
    Soft79
    Keymaster

    Now it works!

    You can disable debug mode now.

    #3504
    andrea
    Participant

    Thank you!!!

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.