jorrgett
Forum Replies Created
-
Hi @mrclayton
That’s correct, currently I only ship to Spain. Checkout normally works well, shipping options appear after you set the “Province”.
I use the woocommerce options + plugin Flexible Shipping. Do you think issue could be over there?
I think there must be something wrong when parsing the data through the express payment. When I enter the same address that I have in Apple Pay in the checkout it does work perfectly.Forum: Plugins
In reply to: [WooCommerce] Hide express checkout for subscription productsUPDATE: I realized that the previous code is not working. Here is the newer and tested one.
PHP – Check product page
// Add taxonomy term to body_class function woo_custom_taxonomy_in_body_class( $classes ) { if( is_singular( 'product') || is_cart() || is_checkout()) { //Register taxonomy for the product category in product page $custom_terms = get_the_terms(0, 'product_cat'); if ($custom_terms) { foreach ($custom_terms as $custom_term) { $classes[] = 'product_cat_' . $custom_term->slug; } } } return $classes; } add_filter( 'body_class', 'woo_custom_taxonomy_in_body_class' );
PHP – Check cart
// Add taxonomy term to body_class function woo_custom_taxonomy_in_body_class2( $classes ) { // holds checks for all products in cart to see if they're in our category $product_in_cat = false; // check each cart item for our category foreach ( WC()->cart->get_cart() as $cart_item_key => $cart_item ) { $product_id = $cart_item['product_id']; if ( has_term( 'subscription', 'product_cat', $product_id ) || has_term( 'subscription-en', 'product_cat', $product_id ) ) { $product_in_cat = true; } } // if all items are in this category, do something if ( $product_in_cat ) { $classes[] = 'subscription-incart'; } return $classes; } add_filter( 'body_class', 'woo_custom_taxonomy_in_body_class2' );
CSS
/*Disable ApplePay/GPay for subscription products*/ .product_cat-subscription #wc-stripe-payment-request-wrapper { display: none !important; } .product_cat-subscription #wc-stripe-payment-request-button-separator { display: none !important; } .product_cat-subscription-en #wc-stripe-payment-request-wrapper { display: none !important; } .product_cat-subscription-en #wc-stripe-payment-request-button-separator { display: none !important; } .subscription-incart #wc-stripe-payment-request-wrapper { display: none !important; } .subscription-incart #wc-stripe-payment-request-button-separator { display: none !important; }
Forum: Plugins
In reply to: [WooCommerce] Hide express checkout for subscription productsHi @babylon1999,
Thanks for the suggestion, however, that hook is not doing exactly what I want, it’s only meant to be used in the product page.
I found the solution myself and will share it in case anyone is in the same situation in the future.
PHP:
// Add taxonomy term to body_class function woo_custom_taxonomy_in_body_class( $classes ) { if( is_singular( 'product' ) || is_cart() || is_checkout() ) { //Register taxonomy for the product category in product page $custom_terms = get_the_terms(0, 'product_cat'); if ($custom_terms) { foreach ($custom_terms as $custom_term) { $classes[] = 'product_cat_' . $custom_term->slug; } } //Register taxonomy when a subscription product is in the cart $categories = array('subscription','subscription-en'); // CHECK CART ITEMS: search for items from our defined product category foreach ( WC()->cart->get_cart() as $cart_item ){ if( has_term( $categories, 'product_cat', $cart_item['product_id'] ) ) { $classes[]='subscription-incart'; } } } return $classes; } add_filter( 'body_class', 'woo_custom_taxonomy_in_body_class' );
CSS:
/*Disable ApplePay/GPay for subscription products*/ .product_cat-subscription #wc-stripe-payment-request-wrapper { display: none !important; } .product_cat-subscription #wc-stripe-payment-request-button-separator { display: none !important; } .product_cat-subscription-en #wc-stripe-payment-request-wrapper { display: none !important; } .product_cat-subscription-en #wc-stripe-payment-request-button-separator { display: none !important; } .cart-filled #wc-stripe-payment-request-wrapper { display: none !important; } .cart-filled #wc-stripe-payment-request-button-separator { display: none !important; }
Good luck to all!
Forum: Plugins
In reply to: [WooCommerce] Hide express checkout for subscription productsHi @xue28
I am using Express Payment through WooCommerce Stripe Gateway.
And with the code, I shared initially, it does work the hide. I am just struggling to hide it in the cart and checkout.` ### WordPress Environment ### WordPress address (URL): https://heymycoffee.com/staging Site address (URL): https://heymycoffee.com/staging WC Version: 7.2.3 REST API Version: ?</img> 7.2.3 WC Blocks Version: ?</img> 9.3.0 Action Scheduler Version: ?</img> 3.4.0 Log Directory Writable: ?</img> WP Version: 6.1.1 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: ?</img> Language: es_ES External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.4.33 PHP Post Max Size: 256 MB PHP Time Limit: 300 PHP Max Input Vars: 10000 cURL Version: 7.84.0 OpenSSL/1.1.1p SUHOSIN Installed: – MySQL Version: 8.0.31 Max Upload Size: 256 MB Default Timezone is UTC: ?</img> fsockopen/cURL: ?</img> SoapClient: ?</img> DOMDocument: ?</img> GZip: ?</img> Multibyte String: ?</img> Remote Post: ?</img> Remote Get: ?</img> ### Database ### WC Database Version: 7.2.3 WC Database Prefix: wppp_ Tama?o total de la base de datos: 127.97MB Tama?o de los datos de la base de datos: 118.82MB Tama?o del índice de la base de datos: 9.15MB wppp_woocommerce_sessions: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB wppp_woocommerce_api_keys: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB wppp_woocommerce_attribute_taxonomies: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB wppp_woocommerce_downloadable_product_permissions: Datos: 0.02MB + índice: 0.06MB + Motor InnoDB wppp_woocommerce_order_items: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB wppp_woocommerce_order_itemmeta: Datos: 0.08MB + índice: 0.09MB + Motor InnoDB wppp_woocommerce_tax_rates: Datos: 0.02MB + índice: 0.06MB + Motor InnoDB wppp_woocommerce_tax_rate_locations: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB wppp_woocommerce_shipping_zones: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wppp_woocommerce_shipping_zone_locations: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB wppp_woocommerce_shipping_zone_methods: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wppp_woocommerce_payment_tokens: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB wppp_woocommerce_payment_tokenmeta: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB wppp_woocommerce_log: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB wppp_EWD_OTP_Customers: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wppp_EWD_OTP_Fields_Meta: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wppp_EWD_OTP_Order_Statuses: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wppp_EWD_OTP_Orders: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wppp_EWD_OTP_Sales_Reps: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wppp_actionscheduler_actions: Datos: 1.52MB + índice: 0.61MB + Motor InnoDB wppp_actionscheduler_claims: Datos: 0.38MB + índice: 0.22MB + Motor InnoDB wppp_actionscheduler_groups: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB wppp_actionscheduler_logs: Datos: 0.34MB + índice: 0.30MB + Motor InnoDB wppp_alp_pickup_location: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wppp_cartflows_ca_cart_abandonment: Datos: 0.06MB + índice: 0.02MB + Motor InnoDB wppp_cartflows_ca_email_history: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB wppp_cartflows_ca_email_templates: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wppp_cartflows_ca_email_templates_meta: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB wppp_cli_cookie_scan: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wppp_cli_cookie_scan_categories: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB wppp_cli_cookie_scan_cookies: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB wppp_cli_cookie_scan_url: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wppp_cli_scripts: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wppp_commentmeta: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB wppp_comments: Datos: 0.08MB + índice: 0.09MB + Motor InnoDB wppp_duplicator_packages: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB wppp_e_events: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB wppp_e_submissions: Datos: 0.02MB + índice: 0.27MB + Motor InnoDB wppp_e_submissions_actions_log: Datos: 0.02MB + índice: 0.11MB + Motor InnoDB wppp_e_submissions_values: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB wppp_email_log: Datos: 9.52MB + índice: 0.00MB + Motor InnoDB wppp_gla_budget_recommendations: Datos: 0.22MB + índice: 0.14MB + Motor InnoDB wppp_gla_merchant_issues: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wppp_gla_shipping_rates: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB wppp_gla_shipping_times: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB wppp_links: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB wppp_mailpoet_custom_fields: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB wppp_mailpoet_dynamic_segment_filters: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB wppp_mailpoet_feature_flags: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB wppp_mailpoet_forms: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wppp_mailpoet_log: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wppp_mailpoet_mapping_to_external_entities: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB wppp_mailpoet_newsletter_links: Datos: 0.02MB + índice: 0.05MB + Motor InnoDB wppp_mailpoet_newsletter_option: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB wppp_mailpoet_newsletter_option_fields: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB wppp_mailpoet_newsletter_posts: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB wppp_mailpoet_newsletter_segment: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB wppp_mailpoet_newsletter_templates: Datos: 2.52MB + índice: 0.00MB + Motor InnoDB wppp_mailpoet_newsletters: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB wppp_mailpoet_scheduled_task_subscribers: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB wppp_mailpoet_scheduled_tasks: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB wppp_mailpoet_segments: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB wppp_mailpoet_sending_queues: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB wppp_mailpoet_settings: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB wppp_mailpoet_statistics_bounces: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wppp_mailpoet_statistics_clicks: Datos: 0.02MB + índice: 0.05MB + Motor InnoDB wppp_mailpoet_statistics_forms: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB wppp_mailpoet_statistics_newsletters: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB wppp_mailpoet_statistics_opens: Datos: 0.02MB + índice: 0.08MB + Motor InnoDB wppp_mailpoet_statistics_unsubscribes: Datos: 0.02MB + índice: 0.05MB + Motor InnoDB wppp_mailpoet_statistics_woocommerce_purchases: Datos: 0.02MB + índice: 0.06MB + Motor InnoDB wppp_mailpoet_stats_notifications: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB wppp_mailpoet_subscriber_custom_field: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB wppp_mailpoet_subscriber_ips: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB wppp_mailpoet_subscriber_segment: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB wppp_mailpoet_subscribers: Datos: 0.02MB + índice: 0.13MB + Motor InnoDB wppp_mailpoet_user_agents: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB wppp_mailpoet_user_flags: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB wppp_nextend2_image_storage: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB wppp_nextend2_section_storage: Datos: 0.02MB + índice: 0.06MB + Motor InnoDB wppp_nextend2_smartslider3_generators: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wppp_nextend2_smartslider3_sliders: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB wppp_nextend2_smartslider3_sliders_xref: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB wppp_nextend2_smartslider3_slides: Datos: 0.05MB + índice: 0.11MB + Motor InnoDB wppp_options: Datos: 11.22MB + índice: 0.22MB + Motor InnoDB wppp_postmeta: Datos: 57.52MB + índice: 3.03MB + Motor InnoDB wppp_posts: Datos: 11.52MB + índice: 0.30MB + Motor InnoDB wppp_rank_math_404_logs: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB wppp_rank_math_analytics_gsc: Datos: 0.02MB + índice: 0.06MB + Motor InnoDB wppp_rank_math_analytics_inspections: Datos: 0.05MB + índice: 0.11MB + Motor InnoDB wppp_rank_math_analytics_objects: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB wppp_rank_math_internal_links: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB wppp_rank_math_internal_meta: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wppp_rank_math_redirections: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB wppp_rank_math_redirections_cache: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB wppp_responsive_video_gallery_plus_responsive_lightbox: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wppp_rich_web_video_slider_effects_data: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wppp_rich_web_video_slider_font_family: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wppp_rich_web_video_slider_id: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wppp_rich_web_video_slider_manager: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wppp_rich_web_video_slider_videos: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wppp_rich_web_vs_effect_1: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wppp_rich_web_vs_effect_1_loader: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wppp_rich_web_vs_effect_3: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wppp_rich_web_vs_effect_3_loader: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wppp_rich_web_vs_effect_4: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wppp_rich_web_vs_effect_4_loader: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wppp_rich_web_vs_effect_6: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wppp_rich_web_vs_effect_6_loader: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wppp_rich_web_vs_effect_7: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wppp_rich_web_vs_effect_7_loader: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wppp_rich_web_vs_effect_8: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wppp_rich_web_vs_effect_8_loader: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wppp_rich_web_vs_effect_9: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wppp_rich_web_vs_effect_9_loader: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wppp_sbi_feed_caches: Datos: 0.08MB + índice: 0.02MB + Motor InnoDB wppp_sbi_feeds: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB wppp_sbi_instagram_feed_locator: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB wppp_sbi_instagram_feeds_posts: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB wppp_sbi_instagram_posts: Datos: 0.16MB + índice: 0.00MB + Motor InnoDB wppp_sbi_sources: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB wppp_seur_custom_rates: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wppp_seur_svpr: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wppp_smush_dir_images: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB wppp_snippets: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB wppp_term_relationships: Datos: 0.06MB + índice: 0.05MB + Motor InnoDB wppp_term_taxonomy: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB wppp_termmeta: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB wppp_terms: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB wppp_trustindex_google_reviews: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wppp_usermeta: Datos: 0.11MB + índice: 0.03MB + Motor InnoDB wppp_users: Datos: 0.02MB + índice: 0.05MB + Motor InnoDB wppp_wc_admin_note_actions: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB wppp_wc_admin_notes: Datos: 0.06MB + índice: 0.00MB + Motor InnoDB wppp_wc_category_lookup: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wppp_wc_customer_lookup: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB wppp_wc_download_log: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB wppp_wc_order_coupon_lookup: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB wppp_wc_order_product_lookup: Datos: 0.02MB + índice: 0.06MB + Motor InnoDB wppp_wc_order_stats: Datos: 0.02MB + índice: 0.05MB + Motor InnoDB wppp_wc_order_tax_lookup: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB wppp_wc_product_attributes_lookup: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB wppp_wc_product_download_directories: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB wppp_wc_product_meta_lookup: Datos: 0.02MB + índice: 0.09MB + Motor InnoDB wppp_wc_rate_limits: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB wppp_wc_reserved_stock: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wppp_wc_tax_rate_classes: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB wppp_wc_webhooks: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB wppp_wcpdf_invoice_number: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wppp_wdslayer: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wppp_wdsslide: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wppp_wdsslider: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wppp_wfblockediplog: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wppp_wfblocks7: Datos: 0.02MB + índice: 0.05MB + Motor InnoDB wppp_wfconfig: Datos: 5.52MB + índice: 0.00MB + Motor InnoDB wppp_wfcrawlers: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wppp_wffilechanges: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wppp_wffilemods: Datos: 6.52MB + índice: 0.00MB + Motor InnoDB wppp_wfhits: Datos: 0.06MB + índice: 0.05MB + Motor InnoDB wppp_wfhoover: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB wppp_wfissues: Datos: 0.02MB + índice: 0.06MB + Motor InnoDB wppp_wfknownfilelist: Datos: 7.52MB + índice: 0.00MB + Motor InnoDB wppp_wflivetraffichuman: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB wppp_wflocs: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wppp_wflogins: Datos: 0.11MB + índice: 0.03MB + Motor InnoDB wppp_wfls_2fa_secrets: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB wppp_wfls_settings: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wppp_wfnotifications: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wppp_wfpendingissues: Datos: 0.02MB + índice: 0.06MB + Motor InnoDB wppp_wfreversecache: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wppp_wfsnipcache: Datos: 0.02MB + índice: 0.05MB + Motor InnoDB wppp_wfstatus: Datos: 0.13MB + índice: 0.11MB + Motor InnoDB wppp_wftrafficrates: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wppp_wpfm_backup: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wppp_wpforms_tasks_meta: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wppp_wpmailsmtp_debug_events: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wppp_wpmailsmtp_tasks_meta: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wppp_wpml_mails: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wppp_wpr_rucss_resources: Datos: 0.02MB + índice: 0.06MB + Motor InnoDB wppp_wpr_rucss_used_css: Datos: 0.02MB + índice: 0.08MB + Motor InnoDB wppp_yoast_indexable: Datos: 0.19MB + índice: 0.09MB + Motor InnoDB wppp_yoast_indexable_hierarchy: Datos: 0.02MB + índice: 0.05MB + Motor InnoDB wppp_yoast_migrations: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB wppp_yoast_primary_term: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB wppp_yoast_seo_links: Datos: 0.06MB + índice: 0.03MB + Motor InnoDB ### Post Type Counts ### attachment: 169 carousels: 1 cookielawinfo: 6 custom_css: 1 customize_changeset: 9 da_image: 3 elementor_library: 5 mailpoet_page: 1 ml-slider: 1 nav_menu_item: 25 page: 26 polylang_mo: 2 product: 34 product_variation: 46 revision: 997 seedprod: 1 seur_labels: 23 shop_order: 28 shop_order_refund: 1 shop_subscription: 1 viwec_template: 27 wafs: 1 wds-slider: 1 wp_global_styles: 1 wpforms: 2 wps_subscriptions: 2 yaymail_template: 11 ### Security ### Secure connection (HTTPS): ?</img> Hide errors from visitors: ?</img> ### Active Plugins (42) ### Polylang: por WP SYNTEX – 3.3.1 Ajax Cart AutoUpdate for WooCommerce: por taisho – 1.5.5 All-in-One WP Migration: por ServMask – 7.69 Plantillas de inicio: por Brainstorm Force – 3.1.22 Astra Widgets: por Brainstorm Force – 1.2.12 Automatic Translate Addon For Loco Translate: por Cool Plugins – 2.3.1 Code Snippets: por Code Snippets Pro – 3.2.2 Polylang Connect para Elementor: por Creame – 2.3.3 CookieYes | Consentimiento de cookies y RGPD: por CookieYes – 3.0.8 Draw Attention: por N squared – 2.0.3 Duplicate Page: por mndpsingh287 – 4.5 Duplicator: por Snap Creek – 1.5.1 Easy WP SMTP: por Easy WP SMTP team – 1.5.3 Elementor: por Elementor.com – 3.10.0 Email Log: por Sudar – 2.4.8 Email Template Customizer for WooCommerce: por VillaTheme – 1.1.19 Google Analytics para WordPress por MonsterInsights: por MonsterInsights – 8.11.0 Health Check & Troubleshooting: por La comunidad de www.ads-software.com – 1.5.1 Smash Balloon Instagram Feed: por Smash Balloon – 6.1 Loco Translate: por Tim Whitlock – 2.6.3 MC4WP: Mailchimp for WordPress: por ibericode – 4.8.12 PixelYourSite: por PixelYourSite – 9.3.0 Really Simple SSL: por Really Simple Plugins – 6.1.0 SEUR Oficial: por José Conti – 2.0.3 Simple Banner: por Ryan Petersen – 2.12.2 WooCommerce Cart Abandonment Recovery: por CartFlows Inc – 1.2.21 WooCommerce Blocks: por Automattic – 9.3.0 Preview E-mails for WooCommerce: por Digamber Pradhan – 2.1.1 Variation Swatches for WooCommerce: por Emran Ahmed – 2.0.17 WooCommerce Stripe Gateway: por WooCommerce – 7.0.1 WooCommerce PayPal Payments: por WooCommerce – 2.0.1 WooCommerce Polylang Integration: por Darko Gjorgjijoski – 1.2.6 WooCommerce: por Automattic – 7.2.3 ShopLentor – WooCommerce Builder for Elementor & Gutenberg: por HasThemes – 2.5.3 Wordfence Security: por Wordfence – 7.8.2 Yoast SEO: por Equipo Yoast – 19.14 Administrador de archivos WP: por mndpsingh287 – 7.1.7 Widgets para rese?as de Google: por Trustindex.io – 9.8 WP Rocket: por WP Media – 3.11.5 Smush: por WPMU DEV – 3.12.4 WPForms Lite: por WPForms – 1.7.9.1 WPMU DEV Dashboard: por WPMU DEV – 4.11.17 ### Inactive Plugins (9) ### Click to Chat: por HoliThemes – 3.19 Elementor Pro: por Elementor.com – 3.7.3 Fluid Checkout for WooCommerce - Lite: por Fluid Checkout – 2.2.1 PDF Invoices & Packing Slips for WooCommerce: por WP Overnight – 3.2.6 Rank Math SEO: por Rank Math – 1.0.106 Subscriptions For WooCommerce: por WP Swings – 1.4.7 WC - APG NIF/CIF/NIE Field: por Art Project Group – 1.7.4 WooCommerce Subscriptions: por WooCommerce – 4.7.0 WooCommerce Wholesale Prices: por Rymera Web Co – 2.1.5.1 ### Dropin Plugins (1) ### advanced-cache.php: advanced-cache.php ### Must Use Plugins (1) ### Health Check Troubleshooting Mode: por – 1.7.2 ### Settings ### API Enabled: – Force SSL: – Currency: EUR (€) Currency Position: right_space Thousand Separator: . Decimal Separator: , Number of Decimals: 2 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) subscription (subscription) variable (variable) variable subscription (variable-subscription) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog) exclude-from-search (exclude-from-search) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5) Connected to WooCommerce.com: – Enforce Approved Product Download Directories: – Order datastore: WC_Order_Data_Store_CPT ### WC Pages ### Base de la tienda: #1307 - /store/ Carrito: #1302 - /cart/ Finalizar compra: #1303 - /checkout/ Mi cuenta: #1304 - /my-account/ Términos y condiciones: #1705 - /terms-and-conditions/ ### Theme ### Name: Astra Version: 3.9.4 Author URL: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme Child Theme: ?</img> – Si estás modificando WooCommerce en un tema padre que no has creado personalmente te recomendamos utilizar un tema hijo. Ver: Cómo crear un tema hijo WooCommerce Support: ?</img> ### Templates ### Overrides: – ### WooCommerce Polylang Integration ### Shop: ?</img> Cart: ?</img> Checkout: ?</img> My Account: ?</img> Terms & Conditions: ?</img> ### WooCommerce PayPal Payments ### Onboarded: ?</img> Shop country code: ES WooCommerce currency supported: ?</img> Advanced Card Processing available in country: ?</img> Pay Later messaging available in country: ?</img> Webhook status: – Vault enabled: ?</img> Logging enabled: – Reference Transactions: – Used PayPal Checkout plugin: – Tracking enabled: – ### Admin ### Enabled Features: activity-panels analytics coupons customer-effort-score-tracks experimental-products-task experimental-import-products-task experimental-fashion-sample-products shipping-smart-defaults shipping-setting-tour homescreen marketing multichannel-marketing mobile-app-banner navigation onboarding onboarding-tasks remote-inbox-notifications remote-free-extensions payment-gateway-suggestions shipping-label-banner subscriptions store-alerts transient-notices woo-mobile-welcome wc-pay-promotion wc-pay-welcome-page Disabled Features: minified-js new-product-management-experience settings Daily Cron: ?</img> Next scheduled: 2023-01-12 08:44:14 +01:00 Options: ?</img> Notes: 49 Onboarding: completed ### Action Scheduler ### Completo: 1.482 Oldest: 2022-12-12 15:53:44 +0100 Newest: 2023-01-11 21:08:20 +0100 Fallida: 3 Oldest: 2022-10-24 07:20:32 +0200 Newest: 2022-10-25 09:53:37 +0200 Pendiente: 13 Oldest: 2023-01-11 21:27:28 +0100 Newest: 2023-02-08 14:33:40 +0100 ### Status report information ### Generated at: 2023-01-11 21:14:56 +01:00 `
Forum: Plugins
In reply to: [WooCommerce] Hide express checkout for subscription productsThanks for your reply, that makes sense.
Unfortunately, it isn’t working yet, maybe something else is not right, do you have any leads?Forum: Plugins
In reply to: [WooCommerce] Woocommerce Translation missing for recurring paymentsSolved by myself in the end.
I was using the plugin: Subscriptions for WooCommerce (WP Swings).
After switching to the official WooCommerce Subscription extension, the translation string came up.Hi All,
After contacting the developers of the other plugins.
It looks like this issue is happening with other plugins also.They use the default Woocommerce checkout field hooks to grab the shipping phone and this is what creates the issue. Once removed the option, Apple Pay works again (but of course missing the phone field).
Any chance that this is investigated? Is there a bug in the WooCommerce field hooks?
Regards,
JorgeHi @babylon1999,
I found the issue already, 2 plugins blocking:
WC – APG Campo NIF/CIF/NIE: por Art Project Group – 1.7.3
Fluid Checkout for WooCommerce – Lite: por Fluid Checkout – 2.0.7I’ve already reached out to developers to address it.
Thanks a lot for your support.
Best regards,
JorgeHi @babylon1999
Thanks for your reply.
I’ve checked and experimental features were disabled already.
Now however I got this log when trying if it may help:2022 - 10 - 16T15: 44:51 + 00:00 DEBUG ==== Stripe Version: 6.8.0 ==== ==== Start Log ==== Incoming webhook failed validation: { "id": "evt_xxxxxxxxxxxxxx", "object": "event", "api_version": "2020-08-27", "created": xxxxxxxxx, "data": { "object": { "id": "src_xxxxxxxxxxxxxx", "object": "source", "amount": null, "card": { "exp_month": xx, "exp_year": 20xx, "last4": "xxxx", "country": "ES", "brand": "MasterCard", "address_line1_check": "unchecked", "address_zip_check": "unchecked", "funding": "debit", "tokenization_method": "apple_pay", "dynamic_last4": "xxxx", "fingerprint": "xxxxxxxxxxx", "three_d_secure": "optional", "name": null, "cvc_check": null }, "client_secret": "src_client_secret_xxxxxxxxxxx", "created": xxxxxxxxx, "currency": null, "flow": "none", "livemode": true, "metadata": { }, "owner": { "address": { "city": "xxxxxxxxxx", "country": "ES", "line1": "xxxxxxx", "line2": "", "postal_code": "xxxxxx", "state": "xxxxxxx" }, "email": "[email protected]", "name": "xxxxxxx", "phone": "xxxxxxxx", "verified_address": null, "verified_email": null, "verified_name": null, "verified_phone": null }, "statement_descriptor": null, "status": "chargeable", "type": "card", "usage": "reusable" } }, "livemode": true, "pending_webhooks": 1, "request": { "id": "req_xxxxxxx", "idempotency_key": "xxxxxxxxxxxxxx" }, "type": "source.chargeable" } ==== End Log ====
It looks it actually gets the email and phone but it cannot validate.
Any other suggestion? Or how I can trace which plugin may be blocking? I guess disabling all?
Thanks and regards,
JorgeHi @tarekht,
Coming back to the question of @gilangultra.
Can we change the color of “out of stock” text?
So far it just shows a too basic red text.Thank you and regards,
Jorge- This reply was modified 3 years, 1 month ago by jorrgett.