• Resolved scph35003

    (@scph35003)


    hi – is there a shortcode abailable? im using the themes default cart/checkout page and the quickship isnt showing. Also using Elementor product page and again cannot get it to show

    Also on the home page for the show on acrhives the font/icon is huge so had to disable this. Also the min/seconds isnt showing for me since the new update

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Support lazyowner458

    (@lazyowner458)

    Hi @scph35003 ,

    We did not previously have shortcode support for estimated delivery dates. However, based on your enquiry, we’ve added this feature to the plugin. We’ve also fixed the time preview issue, and both fixes are included in the latest release.

    You can find the shortcodes in the “Help” section of the plugin.

    Please note that if the order cutoff time has already passed, the time will not be displayed. Make sure the order cutoff time is set to a future time.

    Thread Starter scph35003

    (@scph35003)

    Thank you – that would massivly help.

    Also how do i disable showing on email? I have YITH PDF invoice and packing slip and its showing on the packing slip for each product… so each day i have to print the packing slips for the orders and this extra info is adding more lines and using more paper – if that makes sense

    • This reply was modified 2 weeks, 3 days ago by scph35003.
    • This reply was modified 2 weeks, 3 days ago by scph35003.
    • This reply was modified 2 weeks, 3 days ago by scph35003.
    Plugin Support lazyowner458

    (@lazyowner458)

    Hi @scph35003,

    We’ll release another update next week that will include the option to disable the dates on emails, along with patches for other minor bugs. Please stay tuned.

    Plugin Support lazyowner458

    (@lazyowner458)

    @scph35003, we’ve pushed the release early and also added the option to disable the dates in emails. Do check it out as well.

    Also, thanks for the review. It keeps us motivated to make the plugin even better.

    Thread Starter scph35003

    (@scph35003)

    thanks you! ive read it does not cover PDF invoices/Packing slips etc…. what emails do i need to turn off? All of them or any specific ones?

    Plugin Author Yoyal Limbu

    (@y0000el)

    None, leave the email switches alone. They only affect WooCommerce’s own
    emails. Packing slips read the estimate straight off the order line.

    Turn off “Save on the order” under Display > Orders & Emails instead. It then
    is not stored at all, so it drops off slips, invoices, emails, admin orders and
    My Account together. Note it only applies to new orders, anything already
    placed will still print.

    To keep it in your emails and strip it only from the YITH documents, leave that
    on and add this. It also cleans up existing orders:

    add_action(
    ‘ywpi_before_template_generation’,
    function () {
    add_filter(
    ‘woocommerce_order_item_get_formatted_meta_data’,
    function ( $meta ) {
    foreach ( $meta as $id => $entry ) {
    if ( isset( $entry->key ) && ‘Est. Delivery’ === $entry->key ) {
    unset( $meta[ $id ] );
    }
    }
    return $meta;
    }
    );
    }
    );

    Put it in your functions.php or wp-content/mu-plugins/quickshipd-hide-on-pdf.php.

    This targets YITH WooCommerce PDF Invoice and Shipping List. If you are on “PDF
    Invoices & Packing Slips for WooCommerce” instead, that is a different plugin
    and needs a different hook, so let me know. We do not officially support YITH
    in the free version, so the snippet is as is. A Pro version with proper
    integrations and direct support is coming.

    Thread Starter scph35003

    (@scph35003)

    Thanks – really sorry, im using another plugin (not YITH) its called PDF Invoices & Packing Slips for WooCommerce by WP Overnight

    Plugin Author Yoyal Limbu

    (@y0000el)

    No problem, that changes the snippet. This removes the estimate from packing slips only, and leaves it on your invoices and in your emails. It also covers orders already placed, since it runs when the PDF is built:

    add_action(
    'wpo_wcpdf_before_html',
    function ( $document_type ) {
    if ( 'packing-slip' !== $document_type ) {
    return;
    }
    add_filter(
    'woocommerce_order_item_get_formatted_meta_data',
    function ( $meta ) {
    foreach ( $meta as $id => $entry ) {
    if ( isset( $entry->key ) && 'Est. Delivery' === $entry->key ) {
    unset( $meta[ $id ] );
    }
    }
    return $meta;
    }
    );
    }
    );

    Put it in your functions.php.It works for bulk printing too, which is what you want for the daily run.

    If you would rather it came off invoices as well, change ‘packing-slip’ to
    ‘invoice’ on a second copy, or just turn off “Save on the order” under Display Settings.

    Thread Starter scph35003

    (@scph35003)

    amazing!! thanks. Ill see how that goes. i left you a possitive review a few days ago. support is amazing and so is the plugin

    Plugin Support lazyowner458

    (@lazyowner458)

    We’re about to close this ticket for now. You can create another one if any questions arise. We’d be happy to help you.

Viewing 10 replies - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.