• Resolved NunoRebocho

    (@nunorebocho)


    Hi,
    I saw in youtube videos that order is printted automatically, can i desactivated this feature. I would like print manually with a print button on backoffice.

    Thanks
    Regards

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 16 total)
  • Plugin Contributor lawrenceowen

    (@lawrenceowen)

    @nunorebocho There is no standard option to disable the automatic printing. But, it’s actually quite easy to modify the plugin to do this (you just need to comment out, or delete one line). I’ll also definitely consider adding this as a standard option now that you have shown there is a a requirement for it.

    Thread Starter NunoRebocho

    (@nunorebocho)

    Hi @lawrenceowen,

    Can you share with me the line that i should removed.
    In backoffice how do i print the ticket? Where is the button print?

    Thanks

    Plugin Contributor lawrenceowen

    (@lawrenceowen)

    To print from the back office you will need this sample version of the plugin. I’m aiming to make an official release to the WordPress plugin repository withing about 2-3 weeks that will add the feature officially.
    Once installed, receipts can be printed via an order action when you view the order via the WooCommerce back office pages.

    You can disable automatic order printing by commenting out line 437 of order-handler.php:
    add_action('woocommerce_order_status_processing', 'star_cloudprnt_trigger_print', 1, 1);

    • This reply was modified 3 years, 10 months ago by lawrenceowen.
    Thread Starter NunoRebocho

    (@nunorebocho)

    @lawrenceowen can you share with me a ticket layout, please. I don’t find anywhere.

    I am using this plugin: Delivery & Pickup Date Time for WooCommerce (https://www.ads-software.com/plugins/woo-delivery/). The information “Date & Time” will be printed in ticket too?

    Thanks

    Plugin Contributor lawrenceowen

    (@lawrenceowen)

    @nunorebocho

    Data from external plugins will usually work, (if you have the sample version of the plugin that I linked). But, this does depend on on how those plugins register their data fields.

    I installed the delivery plugin you are using to one of my servers, and you can see the output at https://vault.star-emea.com/s/mryKxMtHM5JgHcN which does include the extra delivery information fields.

    Currently, our plugin does not let you modify the ticket design of reformat the fields from other plugins, although we hope to make that more flexible in the future.

    Thread Starter NunoRebocho

    (@nunorebocho)

    Hi @lawrenceowen
    Your plugin is almost perfect for me.

    You select date delivery on order or only time delivery?
    In your ticket printed is only: delivery_type and delivery_time. I need delivery_date too.

    Thanks

    Plugin Contributor lawrenceowen

    (@lawrenceowen)

    @nunorebocho

    That’s good to hear ??

    The limited fields on my sample are because I had only configured the Delivery & Pickup Date Time for WooCommerce plugin to manage delivery time and not delivery date. Sorry, I did not know how to correctly configure that plugin initially, but there should be no problem with delivery date either.

    I have reconfigured my test environment to help with another project, so I can not test again immediately. But later today I will enable delivery data support too and can test to make absolutely sure for you (but I expect it will work).

    Plugin Contributor lawrenceowen

    (@lawrenceowen)

    Thread Starter NunoRebocho

    (@nunorebocho)

    Thanks @lawrenceowen

    Last question, I think.
    The name and address client can be in the ticket?

    Thanks

    Plugin Contributor lawrenceowen

    (@lawrenceowen)

    @nunorebocho

    Yes, I had disabled address printing on mine but usually the shipping and/or billing address and contact details are printed too.

    Thread Starter NunoRebocho

    (@nunorebocho)

    Can you share with me a screenshot with this data, please?

    @nunorebocho

    This is how it prints with us, see: https://ibb.co/yn3RN6p

    Plugin Contributor lawrenceowen

    (@lawrenceowen)

    @gendai thanks for helping ??

    @nunorebocho The address will look just like @gendai has shown, but they have modified their output quite a lot (which requires an understanding of php currently) so the rest of your ticket would look like the samples that I already showed you.

    You can see how it will look from the standard version of the plugin at https://vault.star-emea.com/s/z4EGB2Sp7kCJqbB

    Thread Starter NunoRebocho

    (@nunorebocho)

    @lawrenceowen @gendai thanks for your help

    Plugin Contributor lawrenceowen

    (@lawrenceowen)

    @nunorebocho

    I have added the option to disable automatic printing to the official version of the plugin, from version 2.0. The new version also adds a print button to the edit order page, instead of requiring you to use the order action drop down list (it’s quicker and easier). Depending on testing, this is intended to be released on 15th Feb.

    You can access the new features immediately if you like, by installing the pre-release version from this thread.

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Print Button’ is closed to new replies.