Woocommerce Shipment Tracking Tutorial & Explanation




Just a quick video to show you the WooCommerce Shipment Tracking plugin.

Plugin can be purchased here:

CREATE NEW CUSTOM PROVIDER

add_action( ‘wc_shipment_tracking_get_providers’ , ‘wc_shipment_tracking_add_custom_provider’ );
/**
* wc_shipment_tracking_add_custom_provider
*
* Adds custom provider to shipment tracking
* Change the country name, the provider name, and the URL (it must include the %1$s)
* Add one provider per line
*/
function wc_shipment_tracking_add_custom_provider( $providers ) {

$providers[‘COUNTRY’][‘COMPANY NAME’] = ‘

return $providers;

}

SET AS DEFAULT PROVIDER

add_filter( ‘woocommerce_shipment_tracking_default_provider’, ‘custom_woocommerce_shipment_tracking_default_provider’ );

function custom_woocommerce_shipment_tracking_default_provider( $provider ) {
$provider = ‘COMPANY NAME’; // Replace this with the name of the provider. See line 42 in the plugin for the full list.

return $provider;
}


Fuente – Source

Woocommerce Shipment Tracking Tutorial & Explanation

Necesitas ayuda con wp? Entonces WPVideo es tu sitio.
Encuentra lo que buscas entre cientos de miles de videos y experiencias personales de otros usuarios. Todos los que empezamos con wp deberíamos tener acceso a esta web, ojalá yo hubiera tenido algo así cuando empecé mi camino como webmaster 🙂
Pero ahora quiero y puedo poner esta web a vuestra disposición.
Disfrutadla 😉

Need help with wp? Then WPVideo is your site.
Find what you are looking for among hundreds of thousands of videos and personal experiences of other users. All of us who started with wp should have access to this website, I wish I had something like that when I started my journey as webmaster 🙂
But now I want and I can put this website at your disposal.
Enjoy it 😉

https://www.wpvideo.eu

Publicado en Ecommerce, Plugins, WooCommerce y etiquetado .

Deja un comentario

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *