mirror of
https://github.com/10h30/woo-viet.git
synced 2026-06-05 15:09:49 +09:00
OnePay - Add the bank logos in the checkout page #20
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 21 KiB |
@@ -31,7 +31,8 @@ class WooViet_OnePay_Domestic extends WC_Payment_Gateway {
|
||||
|
||||
// Define user set variables.
|
||||
$this->title = $this->get_option( 'title' );
|
||||
$this->description = $this->get_option( 'description' );
|
||||
$this->description = $this->get_option( 'description' ) . sprintf( '<br/><div align="center"><img src="%s"></div>', WOO_VIET_URL . 'assets/onepay_domestic.png' );
|
||||
|
||||
$this->testmode = 'yes' === $this->get_option( 'testmode', 'no' );
|
||||
$this->merchant_id = $this->get_option( 'merchant_id' );
|
||||
$this->access_code = $this->get_option( 'access_code' );
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
||||
}
|
||||
|
||||
define( 'WOO_VIET_DIR', plugin_dir_path( __FILE__ ) );
|
||||
// define( 'WOO_VIET_URL', plugins_url( '/', __FILE__ ) );
|
||||
define( 'WOO_VIET_URL', plugins_url( '/', __FILE__ ) );
|
||||
|
||||
/**
|
||||
* Start the instance
|
||||
|
||||
Reference in New Issue
Block a user