Skip to content

Commit

Permalink
Merge pull request #1395 from angelleye/PFW-532
Browse files Browse the repository at this point in the history
Express Checkout - Checkout Page Display : 532
  • Loading branch information
kcppdevelopers committed Nov 26, 2019
2 parents 687be65 + c103d23 commit 1564f83
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public function __construct() {
$this->pp_button_type_my_custom = !empty($this->setting['pp_button_type_my_custom']) ? $this->setting['pp_button_type_my_custom'] : WC_Gateway_PayPal_Express_AngellEYE::angelleye_get_paypalimage();
$this->show_on_product_page = !empty($this->setting['show_on_product_page']) ? $this->setting['show_on_product_page'] : 'no';
$this->review_title_page = !empty($this->setting['review_title_page']) ? $this->setting['review_title_page'] : 'Review Order';
$this->show_on_checkout = !empty($this->setting['show_on_checkout']) ? $this->setting['show_on_checkout'] : 'top';
$this->show_on_checkout = !empty($this->setting['show_on_checkout']) ? $this->setting['show_on_checkout'] : 'both';
$this->button_position = !empty($this->setting['button_position']) ? $this->setting['button_position'] : 'bottom';
$this->show_on_cart = !empty($this->setting['show_on_cart']) ? $this->setting['show_on_cart'] : 'yes';
$this->show_on_minicart = !empty($this->setting['show_on_minicart']) ? $this->setting['show_on_minicart'] : 'no';
Expand Down
4 changes: 2 additions & 2 deletions classes/wc-gateway-paypal-express-angelleye.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public function __construct() {
$this->save_abandoned_checkout = 'yes' === $this->get_option('save_abandoned_checkout', 'no');
self::$log_enabled = $this->debug;
$this->error_email_notify = 'yes' === $this->get_option('error_email_notify', 'no');
$this->show_on_checkout = $this->get_option('show_on_checkout', 'top');
$this->show_on_checkout = $this->get_option('show_on_checkout', 'both');
$this->paypal_account_optional = $this->get_option('paypal_account_optional', 'no');
$this->error_display_type = $this->get_option('error_display_type', 'detailed');
$this->landing_page = $this->get_option('landing_page', 'login');
Expand Down Expand Up @@ -1109,7 +1109,7 @@ public function init_form_fields() {
'top' => __('Display at the top of the checkout page.', 'paypal-for-woocommerce'),
'regular' => __('Display in general list of enabled gateways on checkout page.', 'paypal-for-woocommerce'),
'both' => __('Display both at the top and in the general list of gateways on the checkout page.')),
'default' => 'top',
'default' => 'both',
'class' => 'wc-enhanced-select',
'description' => __('Displaying the checkout button at the top of the checkout page will allow users to skip filling out the forms and can potentially increase conversion rates.'),
'desc_tip' => true,
Expand Down

0 comments on commit 1564f83

Please sign in to comment.