atrixdave
Forum Replies Created
-
Thank you. Is it possible to add multiple files to the same order? Or just a single field? We would want to be able to upload multiple files within the same order.
Thanks,
Dave
Thank you! A couple more questions:
1. Does the premium version also allow staff to upload files for customers to view?
2. Do you offer a trial of the premium version?Thanks,
Dave
Or could I add this to the functions.php file in my child theme?
/** * get_icon function. * * @return string */ public function get_icon() { $link = null; switch ( WC()->countries->get_base_country() ) { case 'US' : case 'NZ' : case 'CZ' : case 'HU' : case 'MY' : $icon = 'https://www.paypalobjects.com/webstatic/mktg/logo/AM_mc_vs_dc_ae.jpg'; break; case 'TR' : $icon = 'https://www.paypalobjects.com/webstatic/mktg/logo-center/logo_paypal_odeme_secenekleri.jpg'; break; case 'GB' : $icon = 'https://www.paypalobjects.com/webstatic/mktg/Logo/AM_mc_vs_ms_ae_UK.png'; break; case 'MX' : $icon = array( 'https://www.paypal.com/es_XC/Marketing/i/banner/paypal_visa_mastercard_amex.png', 'https://www.paypal.com/es_XC/Marketing/i/banner/paypal_debit_card_275x60.gif' ); $link = 'https://www.paypal.com/mx/cgi-bin/webscr?cmd=xpt/Marketing/general/WIPaypal-outside'; break; case 'FR' : $icon = 'https://www.paypalobjects.com/webstatic/mktg/logo-center/logo_paypal_moyens_paiement_fr.jpg'; break; case 'AU' : $icon = 'https://www.paypalobjects.com/webstatic/en_AU/mktg/logo/Solutions-graphics-1-184x80.jpg'; break; case 'DK' : $icon = 'https://www.paypalobjects.com/webstatic/mktg/logo-center/logo_PayPal_betalingsmuligheder_dk.jpg'; break; case 'RU' : $icon = 'https://www.paypalobjects.com/webstatic/ru_RU/mktg/business/pages/logo-center/AM_mc_vs_dc_ae.jpg'; break; case 'NO' : $icon = 'https://www.paypalobjects.com/webstatic/mktg/logo-center/banner_pl_just_pp_319x110.jpg'; break; case 'CA' : $icon = 'https://www.paypalobjects.com/webstatic/en_CA/mktg/logo-image/AM_mc_vs_dc_ae.jpg'; break; case 'HK' : $icon = 'https://www.paypalobjects.com/webstatic/en_HK/mktg/logo/AM_mc_vs_dc_ae.jpg'; break; case 'SG' : $icon = 'https://www.paypalobjects.com/webstatic/en_SG/mktg/Logos/AM_mc_vs_dc_ae.jpg'; break; case 'TW' : $icon = 'https://www.paypalobjects.com/webstatic/en_TW/mktg/logos/AM_mc_vs_dc_ae.jpg'; break; case 'TH' : $icon = 'https://www.paypalobjects.com/webstatic/en_TH/mktg/Logos/AM_mc_vs_dc_ae.jpg'; break; default : $icon = WC_HTTPS::force_https_url( WC()->plugin_url() . '/includes/gateways/paypal/assets/images/paypal.png' ); $link = null; break; } if ( is_null( $link ) ) { $link = 'https://www.paypal.com/' . strtolower( WC()->countries->get_base_country() ) . '/webapps/mpp/paypal-popup'; } if ( is_array( $icon ) ) { $icon_html = ''; foreach ( $icon as $i ) { $icon_html .= '<img src="' . esc_attr( $i ) . '" alt="PayPal Acceptance Mark" />'; } } else { $icon_html = '<img src="' . esc_attr( apply_filters( 'woocommerce_paypal_icon', $icon ) ) . '" alt="PayPal Acceptance Mark" />'; } if ( $link ) { $what_is_paypal = sprintf( '<a href="%1$s" class="about_paypal" onclick="javascript:window.open(\'%1$s\',\'WIPaypal\',\'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, width=1060, height=700\'); return false;" title="' . esc_attr__( 'What is PayPal?', 'woocommerce' ) . '">' . esc_attr__( 'What is PayPal?', 'woocommerce' ) . '</a>', esc_url( $link ) ); } else { $what_is_paypal = ''; } return apply_filters( 'woocommerce_gateway_icon', $icon_html . $what_is_paypal, $this->id ); }
Thank you! This is what I was looking for! Now I’m trying to override this file within my child theme, but its not working. Do you know if its possible to override includes files within a child theme? Otherwise how could I change these files without editing the core files?
Thanks for the reply Manus! My site is showing this one:
https://www.paypalobjects.com/webstatic/mktg/logo/AM_mc_vs_dc_ae.jpg
Obviously I cannot change the image that’s hosted on paypalobjects.com…do you know what code I would need to edit to change this image on my site?
Forum: Plugins
In reply to: [PayJunction Gateway Module for WooCommerce] Add Month Numbers to Month Fieldsbsake could you give me any guidance on this? I figured it would be a simple change to a language file or something.
Forum: Plugins
In reply to: [PopupAlly] Number of inputsI want the same thing and can’t figure out how. I just want to add Phone.
+1…having same issue. Except after updating to 2.2 ALL orders are going into Pending Payment status.
Forum: Plugins
In reply to: [PayJunction Gateway Module for WooCommerce] Payment Option Does Not Show?Thank you for the reply. So does the plugin not display if no SSL/HTTPS is available? Any way to make it display regardless?
Forum: Plugins
In reply to: [PayJunction Gateway Module for WooCommerce] Add Month Numbers to Month FieldThanks for the reply. Any way you can give some guidance on where this can be edited within the plugin on the Child Theme?
Forum: Plugins
In reply to: [PayJunction Gateway Module for WooCommerce] Payment Option Does Not Show?No reply here? Has anyone else experienced this? Its obviously hurting our sales.
Forum: Plugins
In reply to: [PayJunction Gateway Module for WooCommerce] Add Month Numbers to Month FieldNo response?
Forum: Plugins
In reply to: [PayJunction Gateway Module for WooCommerce] Recurring PaymentsCan you please add support for the WooCommerce Subscriptions extension? Get more information at the bottom of the page here:
https://docs.woothemes.com/document/subscriptions/payment-gateways/#section-1
Forum: Plugins
In reply to: [osTicket WP Bridge] Login required to submit ticket? (OST 1.8.1)Is it possible to add a feature to allow guests to submit tickets?
Forum: Plugins
In reply to: [PayJunction Gateway Module for WooCommerce] Recurring PaymentsAny thoughts on this?