Public Ticket #3727710

>> USER: タイトルを付けるとしたら 英語で >> ASSISTANT: "Request for Adding 'Kuroneko Yamato' Shipping Carrier to MarketKing and Database Integration Details"

Closed
Comments
11 Tickets 3
YUJI OKUBO started the conversation 2 years ago on September 19, 2024 at 12:02am

Dear MarketKing Support,

Thank you for your assistance. I am using the MarketKing pro version.

I have enabled the Shipping Tracking feature and am currently using it. Since I am creating a Japanese website, I have selected "Other" for the Provider.

Here is my question:

I would like to add a shipping carrier. In Japan, the largest shipping company is Kuroneko Yamato. As I have to select "Other" every time, I am facing the hassle of manually entering the details each time.

Therefore, I would like to add the following shipping carrier configuration:

I would appreciate it if you could tell me the specific database table and column to register this information (I can handle the database operations).

If this can be implemented, it would make the vendor’s work much easier. Also, if you could include it in the next version, it would be greatly appreciated by Japanese users.

Thank you for your response.

2,762
KingsPlugins replied 2 years ago on September 21, 2024 at 9:02pm

Hello Yuji,

To do this:


(1) Add this PHP snippet to your site:

add_filter('marketking_shipping_status_tracking_providers_list', function($providers){
    $providers['kuroneko'] = array(
            'label' => esc_html__( 'Kuroneko', 'marketking' ),
            'url'   => 'https://jizen.kuronekoyamato.co.jp/jizen/servlet/crjz.b.NQ0010?id={tracking_number}',
        );
    return $providers;
}, 10, 1);

(2) Go to MarketKing -> Settings -> Shipping Tracking and enable it here: https://prnt.sc/Y4uOWle0IjrF


Now you will see the option here:

3304736551.png


Kind regards,

Stefan

11 Tickets 3
YUJI OKUBO replied 2 years ago on September 22, 2024 at 2:01am

Stefan,

Thank you for creating the PHP snippet. It worked as expected.

I really appreciate your help. Please close the issue.

Thank you again.

1

Sign In