• Resolved max_Q

    (@max_q)


    Hi,

    Love your plugin. Very cleanly written and easy to work with.
    As the title says, I’ve got a bug, a deprecation notice and two feature requests.

    First, the bug: the Description field doesn’t seem to show up anywhere on the Checkout page. I manually put it in at the top of the payment_fields() function.

    <p class="form-row form-row-wide">
         <?php echo $this->description; ?>
    </p>

    Second, the notice: with debug on I was getting a WooCommerce 3.0 deprecation notice “Notice: payment_method was called incorrectly. Order properties should not be accessed directly.” Changing $order->payment_method to $order->get_payment_method() in pofwc_email_instructions() silenced the notice.

    And for the feature requests, my client didn’t need the customer to submit their address. I commented the address fields out, but could they be made optional? Also, he wanted a different name for the purchase order number field. I hard coded the name he wanted, but it would be great to be able to have a user defined label for that field.

    Cheers

Viewing 1 replies (of 1 total)
  • Plugin Author mcgregormedia

    (@mcgregormedia)

    In the next release, all required fields now have the option to be optional. I’ve added a user-defined label for purchase order number and fixed the bug and notice.

Viewing 1 replies (of 1 total)
  • The topic ‘A bug, a notice and two feature requests’ is closed to new replies.