When the PostNL Pick-up Points and Delivery Days settings are currently disabled, no additional options are available on the WooCommerce order page. Only the number of labels and the return label options are shown.
Our use case requires that we keep these checkout-related settings disabled, but have the option for a letterbox parcel (Brievenbuspakje+) available when generating a label.
We have manually added the letterbox option on line 244 of src/Order/Base.php as a temporary solution.
It would be desirable to make the additional options available, even though the checkout-related preferences are disabled. For a letterbox parcel, this appears to work without any issues. I have not verified this for other options, but this should be similar.
When the
PostNL Pick-up Points
andDelivery Days
settings are currently disabled, no additional options are available on the WooCommerce order page. Only the number of labels and the return label options are shown.Our use case requires that we keep these checkout-related settings disabled, but have the option for a letterbox parcel (Brievenbuspakje+) available when generating a label.
We have manually added the
letterbox
option on line244
ofsrc/Order/Base.php
as a temporary solution.https://github.com/Progressus-io/postnl-for-woocommerce/blob/37ab96c4947535e226cffe54339cd332c75f9fd9/src/Order/Base.php#L243-L245
It would be desirable to make the additional options available, even though the checkout-related preferences are disabled. For a letterbox parcel, this appears to work without any issues. I have not verified this for other options, but this should be similar.