Shipping method is not printing after update.
-
update the plugin to latest version. As you said the shipping method will be print out in customer receipt template but shipping method is not printing still.try all three template and no luck to get shipping method print out. woocommerce 3.46 and latest wordpress version. Please check it. thank you.
-
Choutin,
Thank you for reaching out.
We just performed a verification test, using our Plugin version 2.0.4 and WooCommerce latest version released 3.5.1.
The Shipping Method shows on the Customer Order Receipt template both for the HTML template and Plain Text Template. On the print-out, the Shipping Method prints under the Customer Details section within the Shipping Address section on the line above the Customer Address.
In addition, if you download the source code for the plugin, versions 2.0.4 and review the code under the Templates folder, file details-html.php line 101 calls to get the Shipping Method on the order
($shipping = $order->get_shipping_method().
for the HTML Template And on file details-plan.php line 44 for Plain Text template.Our recommendation, verify you are running the latest versions 2.0.4 and check the Template source code. Check the Shipping Method setup, the name used for the Print-out is the Title of the Shipping Method, not the Shipping Zone name.
If you are still encountering problems, please contact out support channel on bizswoop.com/support, and send us your Print Logs, Print Location Settings, WooCommerce Status Logs and any Debug Logs.
Support Team
I am using force to customers billing addrrss. so the shipping address is not showing. It is on the lasted version as I look inside the details html php file. I did find the shortcode you mentioned above. Is there any way I can put the code to change shipping method to be appear somewhere I want it? Thank you.
Now I have switch to use customer billing address. the shipping method do show up under the shipping address. problem is now, I have local pick up as a shipping method. and local pickup doesn’t show the shipping field on either email or print out paper. so which means I can’t see the shipping method on print out. back to question, if it possible to make it appear somewhere in the print out regardless if it is local pick up or force to customer billing address? I want it to be appear somewhere when there is not shipping address. Thank you.
Is it possible to print the delivery or billing address of the order on the thermal printer?
yes. you need to choose the customer order receipt template. Now I am waiting the answer for my above question.
Alaikke and Choutin, thank you for the questions and feedback.
Alaikke, Yes, the Shipping and Billing Address show on the Customer Order Receipt Template. Both the Plain Text and HTML Template versions display on a Thermal Printer. For the Thermal printer, select the Layout Size: Custom. After selecting Custom modify the settings to optimize for the Thermal Printer you are using.
Choutin, based upon your feedback, we’ve decided to make some changes to the Shipping Method support.
Now on the Customer Order Receipt Template, we will show the Shipping Method as a section after Billing, but before Shipping. We will also display Local Delivery Pick-up, if the Shipping Method is enabled and selected during checkout. If the Customer also doesn’t select the “Ship to different address?” option, we will still show the Shipping Method now under the Billing section.
Now on the Order Receipt Template, we will show the Shipping Method as a section after the Product. We will also display Local Delivery Pick-up, if the Shipping Method is enabled and selected during checkout. The Order Receipt Template will not include the Billing or Shipping Address, only the Shipping Method. The plugin location functionality supports the ability to print multiple locations to a single printer. If the Billing or Shipping Address is required, you can setup the location to include the Customer Order Receipt Template.
For any customizations, as noted above, you can use
$shipping = $order->get_shipping_method()
code, but I’d recommend you consult with a developer and understand the best approach to implement customizations for your WooCommerce setup.We are in the final stages of testing for the new version. We should have the new version released in the next 48 hours.
Support Team.
Thank you for your support. eaiting for your new release update.
One more question. I like the template table in order receipt template as I wrap one product and options in one section. but the customer order receipt is just too many line betweem product and options. Is it possible to get the order receipt table layout in the customer order receipt template. Thank you.Choutin, the Template printout table style for Order Receipt and Customer Order Receipt are different because the Customer Order Receipt Template includes the pricing for the products. The Order Receipt Template only includes quantity, not pricing.
The Order Receipt Template is often used for Order fulfillment and pricing is not included on the Template.
Hi, I have do some customize on the template now and it’s work perfect now. Thank for the plugin.
Only 2 more question.
Before you release the support on third party plugin like these 2 plugins. https://www.ads-software.com/plugins/additional-charge/ and https://www.ads-software.com/plugins/woocommerce-local-pickup-time-select/I got some idea how to add some snippet to the function.php to get it print. but just don’t know what to add to the action. If you can get some help. below is some idea.
add_action( ‘???something like Print_Google_Cloud_Print_GCP _WooCommerce_before_order_details’,
‘???something like Print_Google_Cloud_Print_GCP _WooCommerce_before_order_details_time’, 10,2);
function ???Print_Google_Cloud_Print_GCP _WooCommerce_before_order_details_time ( $tyle, $order ){
$order_meta = get_post_custom( $order->id );
$value = $order_meta[‘_local_pickup_time_select’][0];
$value = preg_replace(‘/(\d)_(\d)/’,’$1:$2′, $value);
$value = explode(‘_’, $value);
$time = __( $value[0], ‘woocommerce-local-pickup-time’ ). ‘ ‘ .$value[1];
echo ‘<p style=”margin-bottom:5px;”>‘ . __( ‘Pickup Time:’, ‘woocommerce-local-pickup-time’ ) . ‘ ‘ . $time . ‘</p>’;
}If you give me some suggestion. Thank you so much.
- The topic ‘Shipping method is not printing after update.’ is closed to new replies.