Skip to content

Commit

Permalink
Smart Button : Minicart styling issues, ref #1072
Browse files Browse the repository at this point in the history
  • Loading branch information
kcppdevelopers committed Mar 31, 2018
1 parent f2e2057 commit a394c45
Show file tree
Hide file tree
Showing 2 changed files with 144 additions and 154 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -499,8 +499,8 @@ public function ec_enqueue_scripts_product_page($is_mini_cart = false) {
$cancel_url = !empty($this->cancel_page) ? get_permalink($this->cancel_page) : wc_get_cart_url();
$allowed_funding_methods_json = json_encode(array_values(array_diff($this->allowed_funding_methods, $this->disallowed_funding_methods)));
$disallowed_funding_methods_json = json_encode($this->disallowed_funding_methods);
wp_enqueue_script('angelleye-in-context-checkout-js', 'https://www.paypalobjects.com/api/checkout.min.js', array(), $this->version, true);
wp_enqueue_script('angelleye-in-context-checkout-js-frontend', PAYPAL_FOR_WOOCOMMERCE_ASSET_URL . 'assets/js/angelleye-in-context-checkout.js', array('jquery'), $this->version, true);
wp_enqueue_script('angelleye-in-context-checkout-js', 'https://www.paypalobjects.com/api/checkout.min.js', array('jquery'), $this->version, false);
wp_enqueue_script('angelleye-in-context-checkout-js-frontend', PAYPAL_FOR_WOOCOMMERCE_ASSET_URL . 'assets/js/angelleye-in-context-checkout.js', array('jquery'), $this->version, false);
wp_localize_script('angelleye-in-context-checkout-js-frontend', 'angelleye_in_content_param', array(
'environment' => ( $this->testmode == true) ? 'sandbox' : 'production',
'locale' => ($this->use_wp_locale_code === 'yes' && get_locale() != '') ? get_locale() : '',
Expand Down
Loading

0 comments on commit a394c45

Please sign in to comment.