Coupon draft has a bug!

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Tagged: ,

Viewing 1 reply thread
  • Author
    Posts
    • #128121
      shivchawla2001
      Participant

      I can’t create a draft coupon. Rather it’s published (no matter whether you press Publish or Draft)

      and here is the bug….

      if(isset($wcfm_coupon_manager_form_data['status']) && ($wcfm_coupon_manager_form_data['status'] == 'draft')) {
      $coupon_status = 'draft';

      The form variable has no field “status”. “status” is a part of the POST object. It should be..

      if(isset($_POST['status']) && ($_POST['status'] == 'draft')) {
      $coupon_status = 'draft';
    • #128433
      Sushobhan
      Keymaster

      Hi,
      Thank you for reporting this.
      We will fix this in our next update.
      Thanks!

Viewing 1 reply thread
  • You must be logged in to reply to this topic.