Not compatible with the Woodmart Theme
-
WoodMart is a premium theme optimized for creating WooCommerce online stores that provides a super-fast interface for the ultimate user experience
Compatible with the latest version of WordPress 6.5+ and WooCommerce 9+
Im having an issue with the WooPayments plugin thats Installed & Activated on my Woocommerce website.
I decided to make a support topic with my theme, but I have a feeling Its a problem related to your plugin and not the theme! You can find the topic here or take a look below of whats happening!
https://xtemos.com/forums/topic/issue-with-woopayments-and-woodmart-theme/
I noticed that after installing and activating this plugin on my website, which uses the Woodmart theme, when I add an item to my cart and then empty it, the AJAX response confirms the item has been removed. However, the item remains visible in the mini cart displayed in the navigation bar until I manually refresh the page for it to update properly.
You can see the issue here: https://jmp.sh/cwixkrXB
When I disable the plugin, everything works perfectly! The mini cart updates automatically without requiring a page refresh.
You can see the difference here: https://jmp.sh/LK23AAlC
Your Plugin should be compatible with this theme. I’ve tested multiple payment gateways, and the form that is usually embedded tends to disappear. This is why I’ve switched to using WooPayments, as it seems to work best. However, I need a fast solution for this issue. Additionally, the plugin is causing console errors
v3/?ver=3.0:1 Uncaught TypeError: Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element'. at product-details.js?ver=8.1.0:1:32581 at v3/?ver=3.0:1:96826 at Array.forEach (<anonymous>) at c._emit (v3/?ver=3.0:1:96767) at c._emitEvent (v3/?ver=3.0:1:351036) at v3/?ver=3.0:1:311866 at v3/?ver=3.0:1:96884 at Array.forEach (<anonymous>) at c._emit (v3/?ver=3.0:1:96767) at e._handleMessage (v3/?ver=3.0:1:90388)
Before you say “Please disable any plugins that are not directly related to our website’s theme, Please ensure that you only keep the following plugins that are necessary for our theme to work correctly”
I have already one this too! Issue still the same!
– WoodMart core
– WooCommerce
– Elementor/WPBakery Page BuilderThe error message TypeError: Failed to execute ‘getComputedStyle’ on ‘Window’: parameter 1 is not of type ‘Element’. means that the code attempted to call the getComputedStyle function with an invalid argument. The getComputedStyle function is used to obtain the computed styles (such as width, height, color, etc.) of a DOM element, and it requires an HTML element to work.
In this case, the function was likely called with something that is not a valid DOM element, which causes the browser to throw a TypeError.
When an invalid element is passed to getComputedStyle, the browser halts the execution of JavaScript due to the unhandled error. This can break any subsequent scripts, including those responsible for handling AJAX requests and updating the DOM dynamically.
What I’ve Tried:
I have attempted to dequeue and deregister WooPayments scripts and Stripe scripts on the cart page, but the issue persists.
<br>### WordPress Environment ###<br><br>WordPress address (URL): https://iblazevape.co.uk<br>Site address (URL): https://iblazevape.co.uk<br>WC Version: 9.2.2<br>Legacy REST API Package Version: The Legacy REST API plugin is not installed on this site.<br>Action Scheduler Version: ? 3.8.1<br>Log Directory Writable: ?<br>WP Version: 6.6.1<br>WP Multisite: –<br>WP Memory Limit: 512 MB<br>WP Debug Mode: –<br>WP Cron: –<br>Language: en_GB<br>External object cache: ?<br><br>### Server Environment ###<br><br>Server Info: Apache/2.4.61 (Debian)<br>PHP Version: 8.1.29<br>PHP Post Max Size: 50 MB<br>PHP Time Limit: 60<br>PHP Max Input Vars: 2500<br>cURL Version: 7.74.0<br>OpenSSL/1.1.1w<br><br>SUHOSIN Installed: –<br>MySQL Version: 10.6.19-MariaDB-deb11-log<br>Max Upload Size: 50 MB<br>Default Timezone is UTC: ?<br>fsockopen/cURL: ?<br>SoapClient: ?<br>DOMDocument: ?<br>GZip: ?<br>Multibyte String: ?<br>Remote Post: ?<br>Remote Get: ?<br><br>### Database ###<br><br>WC Database Version: 9.2.2<br>WC Database Prefix: wp_<br>Total Database Size: 24.54MB<br>Database Data Size: 20.99MB<br>Database Index Size: 3.55MB<br>wp_woocommerce_sessions: Data: 0.08MB + Index: 0.02MB + Engine InnoDB<br>wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_actionscheduler_actions: Data: 0.23MB + Index: 0.28MB + Engine InnoDB<br>wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_actionscheduler_logs: Data: 0.22MB + Index: 0.14MB + Engine InnoDB<br>wp_bv_fw_requests: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_bv_ip_store: Data: 0.27MB + Index: 0.16MB + Engine InnoDB<br>wp_bv_lp_requests: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_comments: Data: 0.08MB + Index: 0.09MB + Engine InnoDB<br>wp_e_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_e_notes: Data: 0.02MB + Index: 0.17MB + Engine InnoDB<br>wp_e_notes_users_relations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_e_submissions: Data: 0.02MB + Index: 0.27MB + Engine InnoDB<br>wp_e_submissions_actions_log: Data: 0.02MB + Index: 0.11MB + Engine InnoDB<br>wp_e_submissions_values: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_jetpack_sync_queue: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_mollie_pending_payment: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_options: Data: 7.41MB + Index: 0.13MB + Engine InnoDB<br>wp_postmeta: Data: 6.52MB + Index: 0.28MB + Engine InnoDB<br>wp_posts: Data: 4.52MB + Index: 0.13MB + Engine InnoDB<br>wp_realmedialibrary: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_realmedialibrary_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_realmedialibrary_posts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_realmedialibrary_tmp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_snippets: Data: 0.06MB + Index: 0.03MB + Engine InnoDB<br>wp_termmeta: Data: 0.22MB + Index: 0.14MB + Engine InnoDB<br>wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_term_taxonomy: Data: 0.05MB + Index: 0.03MB + Engine InnoDB<br>wp_usermeta: Data: 0.05MB + Index: 0.03MB + Engine InnoDB<br>wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_wc_admin_notes: Data: 0.05MB + Index: 0.00MB + Engine InnoDB<br>wp_wc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_orders: Data: 0.02MB + Index: 0.11MB + Engine InnoDB<br>wp_wc_orders_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.11MB + Engine InnoDB<br>wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_woocommerce_square_customers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_woodmart_wishlists: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_woodmart_wishlist_products: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wpmailsmtp_debug_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wpmailsmtp_emails_queue: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_yith_wc_stripe_blacklist: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br><br>### Post Type Counts ###<br><br>attachment: 429<br>cms_block: 15<br>elementor_library: 26<br>nav_menu_item: 35<br>page: 31<br>post: 6<br>product: 20<br>product_variation: 9<br>shop_coupon: 1<br>shop_order_placehold: 7<br>woodmart_layout: 8<br>woodmart_slide: 8<br>woodmart_woo_fbt: 1<br>wp_font_family: 12<br>wp_navigation: 1<br>wpcf7_contact_form: 4<br><br>### Security ###<br><br>Secure connection (HTTPS): ?<br>Hide errors from visitors: ?<br><br>### Active Plugins (6) ###<br><br>Code Snippets Pro (Premium): by Code Snippets Pro – 3.6.5<br>Elementor: by Elementor.com – 3.23.4<br>Object Cache Pro: by Rhubarb Group – 1.21.2<br>WooPayments: by WooCommerce – 8.1.0<br>WooCommerce: by Automattic – 9.2.2<br>Woodmart Core: by – 1.0.44<br><br>### Inactive Plugins (22) ###<br><br>Airwallex Online Payments Gateway: by Airwallex – 1.12.2<br>Booster Plus for WooCommerce: by Pluggabl LLC – 7.2.2<br>Breeze: by Cloudways – 2.1.12<br>Classic Editor: by WordPress Contributors – 1.6.4<br>Conditional Fields for Contact Form 7: by Jules Colle – 2.4.15<br>Contact Form 7: by Takayuki Miyoshi – 5.9.8<br>Drag and Drop Multiple File Upload - Contact Form 7: by Glen Don L. Mongaya – 1.3.8.2<br>Element Pack Pro: by BdThemes – 7.13.3<br>Enable Media Replace: by ShortPixel – 4.1.5<br>MalCare WordPress Security Plugin - Malware Scanner, Cleaner, Security Firewall: by MalCare Security – 5.67<br>Media File Renamer: Rename for better SEO (AI-Powered) (Pro): by Jordy Meow – 5.9.7<br>Media Sync: by Media Sync Team – 1.4.6<br>Multifile Upload Field for Contact Form 7: by Spyros Vlachopoulos – 1.0.1<br>PRO Elements: by PROElements.org – 3.23.3<br>Real Media Library: by devowl.io – 4.22.22<br>Safe SVG: by 10up – 2.2.5<br>Viva Wallet Standard Checkout: by Viva Wallet – 1.4.10<br>WooCommerce.com Update Manager: by Automattic – 1.0.3<br>WooCommerce Square: by WooCommerce – 4.7.3<br>WooCommerce Stripe Gateway: by WooCommerce – 8.6.1<br>WP Mail SMTP Pro: by WP Mail SMTP – 4.1.0<br>YellowPencil Pro: by WaspThemes – 7.6.1<br><br>### Dropin Plugins () ###<br><br>object-cache.php: Object Cache Pro (Drop-in)<br><br>### Settings ###<br><br>Legacy API Enabled: –<br>Force SSL: –<br>Currency: GBP (£)<br>Currency Position: left<br>Thousand Separator: ,<br>Decimal Separator: .<br>Number of Decimals: 2<br>Taxonomies: Product Types: external (external)<br>grouped (grouped)<br>simple (simple)<br>variable (variable)<br><br>Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)<br>exclude-from-search (exclude-from-search)<br>featured (featured)<br>outofstock (outofstock)<br>rated-1 (rated-1)<br>rated-2 (rated-2)<br>rated-3 (rated-3)<br>rated-4 (rated-4)<br>rated-5 (rated-5)<br><br>Connected to WooCommerce.com: ?<br>Enforce Approved Product Download Directories: ?<br>HPOS feature enabled: ?<br>Order datastore: Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore<br>HPOS data sync enabled: –<br><br>### Logging ###<br><br>Enabled: ?<br>Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2<br>Retention period: 30 days<br>Level threshold: –<br>Log directory size: 975 KB<br><br>### WC Pages ###<br><br>Shop base: #10627 - /shop/<br>Basket: #10 - /cart/ - Contains the [woocommerce_cart] shortcode<br>Checkout: #11 - /checkout/ - Contains the [woocommerce_checkout] shortcode<br>My account: #12 - /my-account/<br>Terms and conditions: ? Page not set<br><br>### Theme ###<br><br>Name: Woodmart Child<br>Version: 1.0.0<br>Author URL: https://xtemos.com<br>Child Theme: ?<br>Parent Theme Name: Woodmart<br>Parent Theme Version: 7.6.0<br>Parent Theme Author URL: https://themeforest.net/user/xtemos<br>WooCommerce Support: ?<br><br>### Templates ###<br><br>Overrides: woodmart/woocommerce/archive-product.php<br>woodmart/woocommerce/cart/cart-item-data.php<br>woodmart/woocommerce/cart/cart.php<br>woodmart/woocommerce/cart/cross-sells.php<br>woodmart/woocommerce/cart/mini-cart.php<br>woodmart/woocommerce/checkout/form-checkout.php<br>woodmart/woocommerce/checkout/thankyou.php<br>woodmart/woocommerce/content-product-cat.php<br>woodmart/woocommerce/content-product.php<br>woodmart/woocommerce/content-single-product.php<br>woodmart/woocommerce/content-widget-product.php<br>woodmart/woocommerce/global/breadcrumb.php<br>woodmart/woocommerce/global/form-login.php version 7.1.0 is out of date. The core version is 9.2.0<br>woodmart/woocommerce/global/quantity-input.php<br>woodmart/woocommerce/loop/add-to-cart.php<br>woodmart/woocommerce/loop/loop-end.php<br>woodmart/woocommerce/loop/loop-start.php<br>woodmart/woocommerce/loop/no-products-found.php<br>woodmart/woocommerce/loop/orderby.php<br>woodmart/woocommerce/loop/pagination.php<br>woodmart/woocommerce/loop/sale-flash.php<br>woodmart/woocommerce/myaccount/form-login.php version 7.0.1 is out of date. The core version is 9.2.0<br>woodmart/woocommerce/product-searchform.php<br>woodmart/woocommerce/single-product/add-to-cart/grouped.php<br>woodmart/woocommerce/single-product/add-to-cart/variable.php<br>woodmart/woocommerce/single-product/meta.php<br>woodmart/woocommerce/single-product/product-attributes.php<br>woodmart/woocommerce/single-product/product-image.php<br>woodmart/woocommerce/single-product/product-thumbnails.php<br>woodmart/woocommerce/single-product/rating.php<br>woodmart/woocommerce/single-product/related.php<br>woodmart/woocommerce/single-product/sale-flash.php<br>woodmart/woocommerce/single-product/tabs/description.php<br>woodmart/woocommerce/single-product/tabs/tabs.php<br>woodmart/woocommerce/single-product/title.php<br>woodmart/woocommerce/single-product/up-sells.php<br>woodmart/woocommerce/single-product-reviews.php<br>woodmart/woocommerce/single-product.php<br><br>Outdated Templates: ?<br> <br> <br> Learn how to update<br><br>### WooPayments ###<br><br>Version: 8.1.0<br>Connected to WPCOM: Yes<br>WPCOM Blog ID: 235808834<br>Account ID: acct_1PlDJlCLMRMPjCnS<br>Payment Gateway: Enabled<br>Test Mode: Disabled<br>Enabled APMs: card,klarna<br>WooPay: Not eligible<br>Apple Pay / Google Pay: Disabled<br>Fraud Protection Level: basic<br>Multi-currency: Disabled<br>Auth and Capture: Enabled<br>Documents: Enabled<br>Logging: Disabled<br><br>### Admin ###<br><br>Enabled Features: activity-panels<br>analytics<br>product-block-editor<br>coupons<br>core-profiler<br>customize-store<br>customer-effort-score-tracks<br>import-products-task<br>experimental-fashion-sample-products<br>shipping-smart-defaults<br>shipping-setting-tour<br>homescreen<br>marketing<br>mobile-app-banner<br>navigation<br>onboarding<br>onboarding-tasks<br>pattern-toolkit-full-composability<br>product-custom-fields<br>remote-inbox-notifications<br>remote-free-extensions<br>payment-gateway-suggestions<br>printful<br>shipping-label-banner<br>subscriptions<br>store-alerts<br>transient-notices<br>woo-mobile-welcome<br>wc-pay-promotion<br>wc-pay-welcome-page<br>launch-your-store<br><br>Disabled Features: experimental-blocks<br>minified-js<br>product-pre-publish-modal<br>settings<br>async-product-editor-category-field<br>product-editor-template-system<br><br>Daily Cron: ? Next scheduled: 2024-08-25 15:33:11 +01:00<br>Options: ?<br>Notes: 55<br>Onboarding: completed<br><br>### Action Scheduler ###<br><br>Canceled: 12<br>Oldest: 2024-08-21 00:04:39 +0100<br>Newest: 2024-08-24 15:20:09 +0100<br><br>Complete: 703<br>Oldest: 2024-08-07 16:34:59 +0100<br>Newest: 2024-08-25 11:54:57 +0100<br><br>Failed: 45<br>Oldest: 2024-08-07 16:34:59 +0100<br>Newest: 2024-08-25 11:55:07 +0100<br><br>Pending: 3<br>Oldest: 2024-08-25 12:55:07 +0100<br>Newest: 2024-08-30 16:34:12 +0100<br><br><br>### Status report information ###<br><br>Generated at: 2024-08-25 12:21:41 +01:00<br>
The page I need help with: [log in to see the link]
- The topic ‘Not compatible with the Woodmart Theme’ is closed to new replies.