Support » Plugin: Advanced Shipment Tracking for WooCommerce » filter for ast_tracking_link

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author zorem

    (@zorem)

    Hi @mikele3 We will take a look at these tracking links and update if needed, I will update you here in the next days

    Thread Starter mikele3

    (@mikele3)

    very well, I’ll sit tight.

    PS: for multilingual I use WPML
    I hope you can make it so that customers can access SAGAWA and YAMATO tracking services in Japanese unless the customer is viewing the website in any other language than that. … or at least always in Japanese and not in English

    Plugin Author zorem

    (@zorem)

    Hi, we changed the link for Sagawa. you can sync your shipping provider list to update the link.
    As for the Yamato, the tracking number parameter is not working in this link
    https://toi.kuronekoyamato.co.jp/cgi-bin/tneko?1234-1234-1234
    Thanks

    Thread Starter mikele3

    (@mikele3)

    thank you for improving Sagawa and JP-Post

    you are correct about Yamato, my mistake…
    Yamato needs the tracking number submitted as $_POST data …

    in another application, I pass the anchor href in this format:
    https://toi.kuronekoyamato.co.jp/cgi-bin/tneko?1234-1234-1234
    to a jQuery function, like this:

    
    let 
     url = href.split('?')[0],
     tracker = href.split('?')[1],
     form = new Array;
    
    form[0] = '<form target="_blank" accept-charset="utf-8" method="post" action="' + url + '">';
      form[1] = '<input type="hidden" name="number01" value="' + tracker + '" />'
    form[2] = '</form>';
    $(form.join('')).appendTo('body').submit().remove();
    Plugin Author zorem

    (@zorem)

    Hi, I see but there is no way for us to generate a link with a $_POST data..

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.