Forum Replies Created

Viewing 14 replies - 1 through 14 (of 14 total)
  • Thread Starter mmarshall1993

    (@mmarshall1993)

    Hi Steve,

    Many thanks, good to know.

    Enjoy your evening.

    Kind Regards,
    Mark Marshall

    Thread Starter mmarshall1993

    (@mmarshall1993)

    Hi Steve,

    Many thanks for the very quick reply.

    I see, I’ll look into that. One question on that, does this just hide the link in the menu or does it block the page completely, i.e. if the link/button isn’t there, but they know the url, they could still access the page by it’s url?

    Kind Regards,
    Mark Marshall

    Thread Starter mmarshall1993

    (@mmarshall1993)

    Thanks.

    Thread Starter mmarshall1993

    (@mmarshall1993)

    Many thanks, it works great.

    Thanks for your help.

    Kind Regards,
    Mark

    Thread Starter mmarshall1993

    (@mmarshall1993)

    Hi,

    Sorry I didn’t mean an update on the email attachment, I got that sorted.

    I meant the original bugs I reported at the start of this topic.

    Kind Regards,
    Mark

    Thread Starter mmarshall1993

    (@mmarshall1993)

    Hi,

    Is there any update on these bugs yet?

    Kind Regards,
    Mark

    Thread Starter mmarshall1993

    (@mmarshall1993)

    Hi,

    No worries, I will do.

    Please see my other post I have just put on Ready for pickup Email topic.

    Kind Regards,
    Mark

    Thread Starter mmarshall1993

    (@mmarshall1993)

    Hi,

    I was wondering if you had an answer?

    Kind Regards,
    Mark

    Thread Starter mmarshall1993

    (@mmarshall1993)

    Hi,

    Thanks for your reply.

    This is from wp-content/plugins/ti-woocommerce-wishlist/includes/api/error_log

    [21-Feb-2021 00:26:23 UTC] Connection refused
    [21-Feb-2021 00:49:15 UTC] Connection refused
    [21-Feb-2021 01:26:19 UTC] Connection refused
    [21-Feb-2021 10:50:00 UTC] Connection refused
    [21-Feb-2021 11:21:30 UTC] Connection refused
    [21-Feb-2021 12:43:28 UTC] Connection refused
    [21-Feb-2021 12:59:41 UTC] Connection refused
    [21-Feb-2021 17:29:27 UTC] Connection refused
    [21-Feb-2021 18:59:37 UTC] Connection refused
    [21-Feb-2021 19:08:49 UTC] Connection refused
    [21-Feb-2021 20:33:15 UTC] Connection refused
    [21-Feb-2021 20:50:30 UTC] Connection refused
    [21-Feb-2021 20:58:13 UTC] Connection refused
    [21-Feb-2021 20:59:58 UTC] Connection refused
    [22-Feb-2021 08:45:12 UTC] Connection refused
    [22-Feb-2021 13:18:14 UTC] Connection refused
    [22-Feb-2021 15:50:17 UTC] Connection refused
    [22-Feb-2021 16:46:05 UTC] Connection refused
    [22-Feb-2021 17:54:37 UTC] Connection refused
    [22-Feb-2021 18:21:58 UTC] Connection refused
    [22-Feb-2021 19:18:57 UTC] Connection refused
    [22-Feb-2021 19:23:05 UTC] Connection refused

    Hope this helps.

    Kind Regards,
    Mark

    Thread Starter mmarshall1993

    (@mmarshall1993)

    Hi There,

    I have an extra question regarding the Ready for pickup Email.

    I currently use WebToffee WooCommerce PDF Invoices, Packing Slips, Delivery Notes and Shipping Labels pro version.

    I wanted to attach the invoice to Ready for pickup Email instead of the processing email. I spoke to WebToffee and they gave me this code:

    add_filter(‘wf_pklist_alter_invoice_attachment_mail_type’,’wf_pklist_alter_invoice_attachment_mail’,10,4);
    function wf_pklist_alter_invoice_attachment_mail($attach_to_mail_for, $order_id, $email_class_id, $order)
    {
    $attach_to_mail_for[]=’enter the custom status id here’;
    return $attach_to_mail_for;
    }

    I have changed the ‘enter the custom status id here’ and it doesn’t seem to attach it. Or is there another way of dealing with this?

    Kind Regards,
    Mark

    Thread Starter mmarshall1993

    (@mmarshall1993)

    Hi Herman,

    Thanks for your reply.

    I’ll do that and have a look at that thread. Many thanks.

    I’ll get back to you if I find anything, could be a few weeks until I’m able to.

    Kind Regards,
    Mark

    Thread Starter mmarshall1993

    (@mmarshall1993)

    Hi,

    Just to let you know I have put the feature requests on that page now.

    Kind Regards,
    Mark

    Thread Starter mmarshall1993

    (@mmarshall1993)

    Hi,

    Thanks for looking into those bugs.

    I’ll look into that regarding the display, thanks.

    Kind Regards,
    Mark

    Thread Starter mmarshall1993

    (@mmarshall1993)

    Hi,

    Thanks for the reply.

    For no 1. I wasn’t sure how to do it, so I googled it and found a woocommerce_admin_order_actions. I searched through your plugin php code and found the code you used and copied it and adapted to my needs. Below is what I have done, it seems to work. I just wanted to check to make sure this won’t interfere with your code?

    add_filter( ‘woocommerce_admin_order_actions’, ‘add_custom_order_status_actions_button’, 100, 2 );

    function add_custom_order_status_actions_button($actions, $order){

    // Iterating through order shipping items
    foreach( $order->get_items( ‘shipping’ ) as $item_id => $shipping_item_obj ){
    $shipping_method = $shipping_item_obj->get_method_id();
    }

    //IF dshipping method is not local pickup then @return;
    if( !isset($shipping_method ) ) return $actions;
    if( isset($shipping_method ) && $shipping_method != ‘local_pickup’ ) return $actions;

    ?>
    <style>
    <?php
    $ready_for_pickup = get_option( “wclp_status_ready_pickup”, 0);
    if($ready_for_pickup == true){ ?>
    .widefat .column-wc_actions a.ready_for_pickup_icon.button::after{
    content: “”;
    width: 20px;
    height: 20px;
    background: url(“<?php echo wc_local_pickup()->plugin_dir_url()?>assets/images/rady_for_pickup_icon.png”) no-repeat;
    background-size: contain;
    top: 3px;
    left: 2px;
    }
    <?php } ?>
    </style>
    <?php
    $ready_for_pickup = get_option( “wclp_status_ready_pickup”, 0);
    if($ready_for_pickup == true){
    if ( $order->has_status( array( ‘picked’,’picked-balloon’ ) ) ) {
    // Get Order ID (compatibility all WC versions)
    $order_id = method_exists( $order, ‘get_id’ ) ? $order->get_id() : $order->id;
    // Set the action button
    $actions[‘ready_for_pickup’] = array(
    ‘url’ => wp_nonce_url( admin_url( ‘admin-ajax.php?action=woocommerce_mark_order_status&status=ready-pickup&order_id=’ . $order_id ), ‘woocommerce-mark-order-status’ ),
    ‘name’ => __( ‘Mark order as ready for pickup’, ‘advanced-local-pickup-for-woocommerce’ ),
    ‘action’ => “ready_for_pickup_icon”, // keep “view” class for a clean button CSS
    );
    unset($actions[‘complete’]);
    }
    }

    return $actions;
    }

    I’ll put the others on the features board.

    Many thanks.

    Kind Regards,
    Mark

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