A bug, a notice and two feature requests
-
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
- The topic ‘A bug, a notice and two feature requests’ is closed to new replies.