-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e2cef9c
commit e2926f1
Showing
9 changed files
with
97 additions
and
7 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<?php | ||
use Vendidero\Germanized\Shipments\ShippingProvider\Simple; | ||
|
||
defined( 'ABSPATH' ) || exit; | ||
|
||
class WC_GZD_Admin_Provider_Hermes extends Simple { | ||
|
||
public function get_edit_link( $section = '' ) { | ||
return 'https://vendidero.de/woocommerce-germanized/features'; | ||
} | ||
|
||
public function get_name( $context = 'view' ) { | ||
return '_hermes'; | ||
} | ||
|
||
public function get_description( $context = 'view' ) { | ||
return __( 'Create Hermes labels and return labels conveniently', 'woocommerce-germanized' ); | ||
} | ||
|
||
public function get_title( $context = 'view' ) { | ||
return __( 'Hermes', 'woocommerce-germanized' ) . ' <span class="wc-gzd-pro wc-gzd-pro-outlined">' . __( 'pro', 'woocommerce-germanized' ) . '</span>'; | ||
} | ||
|
||
public function is_manual_integration() { | ||
return false; | ||
} | ||
|
||
public function is_pro() { | ||
return true; | ||
} | ||
|
||
public function is_activated() { | ||
return false; | ||
} | ||
|
||
public function activate() { | ||
return false; | ||
} | ||
|
||
public function get_help_link() { | ||
return 'https://vendidero.de/woocommerce-germanized/features'; | ||
} | ||
|
||
public function save() { | ||
return false; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters