Out of nowhere, the email address field on the checkout page has disappeared. I did not do anything that caused this, all plugins are auto updated.
This issue was discovered when a customer notified me that international addresses are being rejected by the checkout page – throws an invalid address error or no shipping options available to an address that I had previously shipped to. I tinkered around with turning plugins on and off, and that resolved the address issue. And then I noticed that there is no email field on the checkout page, and no phone # field.
On the woocommerce→ orders page, where it used to show the customer name next to the order #, it is now blank.
I removed and re-installed my payment processor plugin with the newest version, that did not resolve the issue.
What could be causing it? Link to screenshots:
]]>I'm getting this message : "Sorry, it seems that there are no available payment methods for your state. Please contact us if you require assistance or wish to make alternate arrangements." and I have tried so many other things I found on this forum with similar issues. Still nothing has worked. PLEASE HELP, the store is dead because of this and it was working fine back in Feb. We are just fining out this issue.
Here is the system report:
WordPress Environment
WordPress address (URL): https://www.potslv.com
Site address (URL): https://www.potslv.com
WC Version: 7.6.1
REST API Version: ✔ 7.6.1
WC Blocks Version: ✔ 9.8.5
Action Scheduler Version: ✔ 3.5.4
Log Directory Writable: ✔
WP Version: 6.2
WP Multisite: –
WP Memory Limit: 768 MB
WP Debug Mode: –
WP Cron: ✔
Language: en_US
External object cache: –
Server Environment
Server Info: Apache
PHP Version: 7.4.33
PHP Post Max Size: 256 MB
PHP Time Limit: 120
PHP Max Input Vars: 3000
cURL Version: 7.85.0
OpenSSL/3.0.8
SUHOSIN Installed: –
MySQL Version: 5.7.39-42-log
Max Upload Size: 256 MB
Default Timezone is UTC: ✔
fsockopen/cURL: ✔
SoapClient: ✔
DOMDocument: ✔
GZip: ✔
Multibyte String: ✔
Remote Post: ✔
Remote Get: ✔
Database
WC Database Version: 7.6.1
WC Database Prefix: wpwu_
Total Database Size: 136.35MB
Database Data Size: 79.22MB
Database Index Size: 57.13MB
wpwu_woocommerce_sessions: Data: 0.13MB + Index: 0.02MB + Engine InnoDB
wpwu_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wpwu_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wpwu_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
wpwu_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wpwu_woocommerce_order_itemmeta: Data: 0.13MB + Index: 0.13MB + Engine InnoDB
wpwu_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
wpwu_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wpwu_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wpwu_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wpwu_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wpwu_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wpwu_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wpwu_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wpwu_actionscheduler_actions: Data: 25.06MB + Index: 40.19MB + Engine InnoDB
wpwu_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wpwu_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wpwu_actionscheduler_logs: Data: 13.02MB + Index: 8.03MB + Engine InnoDB
wpwu_awb_critical_css: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wpwu_cf_forms: Data: 0.25MB + Index: 0.02MB + Engine InnoDB
wpwu_cf_form_entries: Data: 0.09MB + Index: 0.14MB + Engine InnoDB
wpwu_cf_form_entry_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wpwu_cf_form_entry_values: Data: 1.52MB + Index: 0.52MB + Engine InnoDB
wpwu_cf_pro_messages: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpwu_cf_queue_failures: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wpwu_cf_queue_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wpwu_cf_tracking: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wpwu_cf_tracking_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wpwu_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wpwu_comments: Data: 0.09MB + Index: 0.09MB + Engine InnoDB
wpwu_fusion_forms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wpwu_fusion_form_entries: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wpwu_fusion_form_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wpwu_fusion_form_submissions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wpwu_gla_budget_recommendations: Data: 0.22MB + Index: 0.14MB + Engine InnoDB
wpwu_gla_merchant_issues: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wpwu_gla_shipping_rates: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wpwu_gla_shipping_times: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wpwu_gonzales_disabled: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wpwu_gonzales_enabled: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wpwu_gonzales_p_disabled: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wpwu_gonzales_p_enabled: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wpwu_imagify_files: Data: 0.11MB + Index: 0.13MB + Engine InnoDB
wpwu_imagify_folders: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wpwu_layerslider: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpwu_layerslider_revisions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpwu_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wpwu_litespeed_img_optm: Data: 0.34MB + Index: 0.19MB + Engine InnoDB
wpwu_litespeed_img_optming: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wpwu_mailpoet_custom_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wpwu_mailpoet_dynamic_segment_filters: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wpwu_mailpoet_feature_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wpwu_mailpoet_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wpwu_mailpoet_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wpwu_mailpoet_newsletters: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wpwu_mailpoet_newsletter_links: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wpwu_mailpoet_newsletter_option: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wpwu_mailpoet_newsletter_option_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wpwu_mailpoet_newsletter_posts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wpwu_mailpoet_newsletter_segment: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wpwu_mailpoet_newsletter_templates: Data: 2.52MB + Index: 0.00MB + Engine InnoDB
wpwu_mailpoet_scheduled_tasks: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wpwu_mailpoet_scheduled_task_subscribers: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wpwu_mailpoet_segments: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wpwu_mailpoet_sending_queues: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wpwu_mailpoet_settings: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wpwu_mailpoet_statistics_bounces: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wpwu_mailpoet_statistics_clicks: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wpwu_mailpoet_statistics_forms: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wpwu_mailpoet_statistics_newsletters: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wpwu_mailpoet_statistics_opens: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
wpwu_mailpoet_statistics_unsubscribes: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wpwu_mailpoet_statistics_woocommerce_purchases: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
wpwu_mailpoet_stats_notifications: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wpwu_mailpoet_subscribers: Data: 0.02MB + Index: 0.13MB + Engine InnoDB
wpwu_mailpoet_subscriber_custom_field: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wpwu_mailpoet_subscriber_ips: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wpwu_mailpoet_subscriber_segment: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wpwu_mailpoet_subscriber_tag: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wpwu_mailpoet_tags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wpwu_mailpoet_user_agents: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wpwu_mailpoet_user_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wpwu_mw_links_details: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wpwu_mw_machine_links: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wpwu_options: Data: 8.36MB + Index: 0.17MB + Engine InnoDB
wpwu_pda_passwords: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wpwu_postmeta: Data: 6.52MB + Index: 1.97MB + Engine InnoDB
wpwu_posts: Data: 3.52MB + Index: 0.13MB + Engine InnoDB
wpwu_revslider_css: Data: 0.09MB + Index: 0.01MB + Engine MyISAM
wpwu_revslider_css_bkp: Data: 0.09MB + Index: 0.00MB + Engine MyISAM
wpwu_revslider_layer_animations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpwu_revslider_layer_animations_bkp: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpwu_revslider_navigations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpwu_revslider_navigations_bkp: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpwu_revslider_sliders: Data: 0.05MB + Index: 0.00MB + Engine MyISAM
wpwu_revslider_sliders_bkp: Data: 0.08MB + Index: 0.00MB + Engine MyISAM
wpwu_revslider_slides: Data: 0.18MB + Index: 0.00MB + Engine MyISAM
wpwu_revslider_slides_bkp: Data: 0.34MB + Index: 0.00MB + Engine MyISAM
wpwu_revslider_static_slides: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpwu_revslider_static_slides_bkp: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpwu_smush_dir_images: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wpwu_termmeta: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
wpwu_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wpwu_term_relationships: Data: 0.08MB + Index: 0.05MB + Engine InnoDB
wpwu_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wpwu_usermeta: Data: 0.22MB + Index: 0.16MB + Engine InnoDB
wpwu_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wpwu_wc_admin_notes: Data: 0.09MB + Index: 0.00MB + Engine InnoDB
wpwu_wc_admin_note_actions: Data: 0.06MB + Index: 0.02MB + Engine InnoDB
wpwu_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wpwu_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wpwu_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wpwu_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wpwu_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
wpwu_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wpwu_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wpwu_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wpwu_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wpwu_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
wpwu_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wpwu_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wpwu_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wpwu_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wpwu_wd_fb_data: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
wpwu_wd_fb_info: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wpwu_wd_fb_option: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wpwu_wd_fb_shortcode: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wpwu_wd_fb_theme: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wpwu_wfBlockedIPLog: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpwu_wfBlocks7: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wpwu_wfConfig: Data: 0.43MB + Index: 0.01MB + Engine MyISAM
wpwu_wfCrawlers: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpwu_wfFileChanges: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpwu_wfFileMods: Data: 7.14MB + Index: 0.60MB + Engine MyISAM
wpwu_wfHits: Data: 0.27MB + Index: 0.04MB + Engine MyISAM
wpwu_wfHoover: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpwu_wfIssues: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
wpwu_wfKnownFileList: Data: 5.21MB + Index: 0.25MB + Engine MyISAM
wpwu_wfLiveTrafficHuman: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpwu_wfLocs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpwu_wfLogins: Data: 0.34MB + Index: 0.06MB + Engine MyISAM
wpwu_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wpwu_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wpwu_wfNotifications: Data: 0.04MB + Index: 0.01MB + Engine MyISAM
wpwu_wfPendingIssues: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpwu_wfReverseCache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpwu_wfSNIPCache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpwu_wfStatus: Data: 0.08MB + Index: 0.03MB + Engine MyISAM
wpwu_wfTrafficRates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wpwu_wpr_rocket_cache: Data: 0.22MB + Index: 1.31MB + Engine InnoDB
wpwu_wpr_rucss_used_css: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
wpwu_yikes_easy_mc_forms: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpwu_yoast_indexable: Data: 0.17MB + Index: 0.13MB + Engine InnoDB
wpwu_yoast_indexable_hierarchy: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wpwu_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wpwu_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wpwu_yoast_seo_links: Data: 0.05MB + Index: 0.02MB + Engine MyISAM
wpwu_yoast_seo_meta: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
Post Type Counts
ans_bid_logs: 1
ans_watchlist_logs: 1
attachment: 308
avada_faq: 19
fusion_element: 73
fusion_tb_section: 1
fusion_template: 10
nav_menu_item: 9
oembed_cache: 1
page: 12
popup: 1
popup_theme: 6
post: 11
product: 6
revision: 12
shop_coupon: 1
shop_order: 32
slide: 2
tribe_events: 99
tribe_organizer: 4
tribe_venue: 5
Security
Secure connection (HTTPS): ✔
Hide errors from visitors: ✔
Active Plugins (19)
Caldera Forms: by Caldera Forms – 1.9.6
Connects - Mailchimp Addon: by Brainstorm Force – 2.2.4
Content Machine: by Content Machine – 2.7.5
Convert Plus: by Brainstorm Force – 3.5.24
Avada Builder: by ThemeFusion – 3.10.1
Avada Core: by ThemeFusion – 5.10.1
Google Analytics for WordPress by MonsterInsights: by MonsterInsights – 8.14.1
Imagify: by Imagify – Optimize Images & Convert WebP – 2.1.1
Jetpack: by Automattic – 12.0
The Events Calendar: by The Events Calendar – 6.0.12
UpdraftPlus - Backup/Restore: by UpdraftPlus.Com
DavidAnderson – 1.23.3
Password Strength Settings for WooCommerce: by Daniel Santoro – 3.0.0
WooCommerce Stripe Gateway: by WooCommerce – 7.3.0
WooCommerce Payments: by Automattic – 5.8.0
WooCommerce Shipping & Tax: by WooCommerce – 2.2.4
WooCommerce: by Automattic – 7.6.1
Yoast SEO: by Team Yoast – 20.6
WP Rocket: by WP Media – 3.13.1
Easy Forms for Mailchimp: by YIKES
Inc. – 6.8.8
Inactive Plugins (0)
Dropin Plugins (1)
advanced-cache.php: advanced-cache.php
Must Use Plugins (1)
Gonzales MU: by Tomasz Dobrzyński – 1.0.5
Settings
API Enabled: –
Force SSL: –
Currency: USD ($)
Currency Position: left
Thousand Separator: ,
Decimal Separator: .
Number of Decimals: 2
Taxonomies: Product Types: auction (auction)
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
Shop base: #128 - /
Cart: ❌ Page does not contain the [woocommerce_cart] shortcode or the woocommerce/cart block.
Checkout: #21690400 - /checkout/
My account: #21690401 - /my-account/
Terms and conditions: #136 - /terms-conditions/
Theme
Name: Avada Child
Version: 5.4.1515694971
Author URL: https://themeforest.net/user/ThemeFusion
Child Theme: ✔
Parent Theme Name: Avada
Parent Theme Version: 7.10.1
Parent Theme Author URL: https://themeforest.net/user/ThemeFusion
WooCommerce Support: ✔
Templates
Overrides: Avada/woocommerce/cart/cart.php
Avada/woocommerce/checkout/form-pay.php
Avada/woocommerce/checkout/review-order.php
Avada/woocommerce/checkout/thankyou.php
Avada/woocommerce/loop/loop-start.php
Avada/woocommerce/single-product/add-to-cart/variable.php
Avada/woocommerce/single-product/short-description.php
Avada/woocommerce/single-product/tabs/additional-information.php
Avada/woocommerce/single-product/tabs/description.php
Admin
Enabled Features: activity-panels
analytics
coupons
customer-effort-score-tracks
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: block-editor-feature-enabled
minified-js
new-product-management-experience
product-variation-management
settings
Daily Cron: ✔ Next scheduled: 2023-04-27 21:44:19 -07:00
Options: ✔
Notes: 138
Onboarding: completed
WooCommerce Payments
Version: 5.8.0
Connected to WPCOM: Yes
Blog ID: 197049259
Account ID: acct_1LnYHgFq12JuGzFv
Action Scheduler
Complete: 830
Oldest: 2023-03-31 20:38:44 -0700
Newest: 2023-04-27 11:54:45 -0700
Pending: 97,786
Oldest: 2023-04-17 09:20:59 -0700
Newest: 2023-04-28 09:52:33 -0700
In-progress: 1
Oldest: –
Newest: –
Failed: 7,615
Oldest: 2023-01-17 03:33:04 -0800
Newest: 2023-04-27 11:28:37 -0700
Status report information
Generated at: 2023-04-27 11:56:41 -07:00
`
]]>We noticed whenever a user is moving to the cart page ( “view basket” feature on the screenshot here: https://paste.pics/3f735d3af96914210e2b768ec1bd4014) instead of checkout first, it voids all enabled Flexible Shipping options. We are using Flexible Shipping by WP Desk.
When user is moving to checkout first then the cart page, the shipping is visible and displayed correctly.
https://postimg.cc/Lqh3RWQK Here is the screenshot of the basket page with the error
https://paste.pics/c540a55b7d45310d6afc3004b3626fb9Here is the screenshot of checkout page without seeing cart first.
Any solutions out there? Thank you for your help.
JD
]]>Problem 2: I am unable to see Google pay option even though I have enabled it in the settings
Error screenshot: https://freeimage.host/i/hrnZ0b
I let users create an account on checkout,
The problem is, if they come back to make a second purchase with that same email address they will not be able to proceed.
They will be faced by the following error:
An account is already registered with your email address. Please log in.
Woocommerce basically tries to create an account and then of course throws this error because the email exists.
To remove this I used the following code. I works well for normal product. But it doesn’t work for woo subscriptions and woo memberships. The moment I activate any of these 2 plugins the following code stops working
// Create user if one does not exist
function tn_checkout_create_acct( $post_data ) {
$user = get_user_by( 'email', $post_data['billing_email'] );
if ( $user ) {
$post_data['createaccount'] = 0;
} else {
$post_data['createaccount'] = 1;
}
return $post_data;
}
add_filter('woocommerce_checkout_posted_data', 'tn_checkout_create_acct');
// Attach order to existing account if user not logged in
function tn_checkout_set_customer_id( $current_user_id ) {
if ( !$current_user_id ) {
$user = get_user_by('email', $_POST['billing_email']);
if ( $user ) {
$current_user_id = $user->ID;
}
}
return $current_user_id;
}
add_filter('woocommerce_checkout_customer_id', 'tn_checkout_set_customer_id')
]]>