The problem was a minor bug in the Variation Swatches for WooCommerce plugin, the add term modal html wasn’t being included in the add product page as a result of wrong conditional statement in the class-admin.php
file on line 266:
if ( $pagenow != 'post.php' || ( isset( $post ) && get_post_type( $post->ID ) != 'product' ) )
This condition doesn’t check for the add product page so to fix it we need to add the post-new.php
page as an accepted page using this statement:
if ( ($pagenow != 'post.php' && $pagenow != 'post-new.php') || ( isset( $post ) && get_post_type( $post->ID ) != 'product' ) )
Related Posts:
- List of JS events in the WooCommerce frontend
- Hide Add to Cart Button
- How to stop a Gutenberg Block from firing multiple GET Requests?
- Javascript / Ajax Error After Migrating To New Domain Name
- How can i stop woocommerce checkout event based on api request result?
- adding a script with type=”module” to woocommerce admin area
- Force uppercase on some WooCommerce checkout fields input
- Javascript error when adding an item to the cart [closed]
- Add to cart – button should be disabled
- Using the WordPress and WooCommerce REST APIs in the same Node app
- Woocommerce variable product’s total amount by javascript
- Ajax add to cart not updating Elementor mini cart totals
- Trying to run Javascript on AJAX call
- List of JS events in the WooCommerce frontend
- Woocommerce Checkout Page Total Price Inside Google Pay Script
- Running JavaScript after using WooCommerce Filter Plugin
- Deregister dequeue JS scripts except on 1 product page
- woocommerce deposit Form with AJAX and shortcode won’t update but add to previous output
- How to make wocommerce shop products same heigt
- Format number to 2 decimal places
- currentURL is not defined
- Retrieve Woocommerce Cart Url with javascript/jquery [closed]
- How to insert link, with lightbox, that opens specific page content only
- Woocommerce custom product with JS script, can’t understand how it works [closed]
- Removing ‘woocommerce-no-js’ class from body
- How do I fix this “Uncaught ReferenceError: woodmartThemeModule is not defined”?
- WooCommerce: How to edit the get_price_html
- Get woocommerce product price by id [closed]
- Woocommerce: How to remove page-title at the home/shop page but not category pages
- Hidden woocommerce products still showing up in search results [closed]
- Preventing WooCommerce email sending only on particular conditions
- Woocommerce view order link in customer emails
- Filter on a custom product attribute in WooCommerce using meta_query or tax_query [closed]
- Woocommerce : How to attach an custom attachment with customer-processing-order.php email template [closed]
- Is is safe to edit language files from wp-content/languages/plugins/woocommerce-ro_RO?
- Does the woocommerce_order_status_changed hook fire when WooCommerce updates an order status automatically? [closed]
- Woocommerce order processing email subject not changing
- Different translations for the same plugin inside a multisite
- Woocommerce multiple taxes with same rates adds as different values.
- function to add note on single Woo Commerce product page for downloadable variations
- Apply Additional Discount after coupon
- Is it possible to add a sidebar to Storefront’s Welcome page
- Modify SKU for display on product page
- Permalinks contain unwanted space resulting in broken links
- WP_Query with meta_query for children
- WooCommerce Display Digital Download Files Type and Size
- Woo commerce+ Stripe – How to associate one account per currency [closed]
- WooCommerce – Stock in Decimals, Using Quantity Intervals with Unique Prices [closed]
- Adding product info for printing to custom Woocommerce Product Display tab [closed]
- WooCommerce – Trigger Checkout Form Validation
- Add shipping address to Woocommerce order emails [closed]
- A function to add arguments to a taxonomy
- add sub subpage endpoint to woocommerce plugin my-account section
- how to change the “return to shop” button text? [closed]
- Problem while adding the variable product woocommerce
- How do I create a filter to hide the One Click Accessibility plugin button in WordPress?
- customers are not showing up in woocommerce
- Woocomerce Edit source code of form in wordpress
- Single Product Page as a Popup
- Woocommerce : How to automatically input the same email for every order?
- Woocommerce – Change order of products in Confirmed Order
- echo product parent category
- How to edit wc_get_template_part for archive products
- Switch to user link shortcode
- Display WooCommerce product attribute on shop page
- How to get product category ID based on post?
- Jump to Footer On Scroll – Woocommerce Pages Phones Only
- WordPress Development Workflow
- Woocommerce redirection product_name -> product_cat/product_name
- Custom account page that accepts a query parameter
- Custom WooCommerce template for product
- Checkout fr Woocommerce – load default WooCommerce checkout template on the fly
- Loop Through Current Woocommerce Product Categories Sub Categories
- why my price is not showing while adding new product?
- How to send Woocommerce Customer Details (Name, Email and Phone Number) to Admin upon signup
- Two types of product categories on shop page
- Remove username and account password field from checkout page
- How to send an invoice with details to the customers
- HTTP Error when uploading pictures and problem with the size of images
- add_rewrite_rule() returns 404 page
- How to change “add to basket” button text in WooCommerce based on product category?
- Select all product woocommerce
- Woocommerce REST API: creating variations
- Woocommerce Setup not completing
- Notify user we would like them to clear their cookie. Provide a working button to clear cookies for user
- When to use a child theme for WooCommerce Storefront?
- WooCommerce: Bulk Quantity in Cart
- WooCommerce – Adding Product Attributes to CSV Export
- Unable to enocde the result of wc_get_products
- Remove Span Class From Woocommerce Price
- Woocommerce shows empty columns [closed]
- Notice: Trying to get property of non-object in bodycenter [closed]
- WooCommerce remove billing detail completly
- unable to get product by category only getting product added lastly
- How can i move my product name & price from below thumbnail to be the rollover content in Avada & Woocommerce?
- Woocommerce – display all sold out products
- Woocommerce how to show most selling products by category
- AffiliateWP not calculating multiple quantities when using affwp_calc_referral_amount filter
- Hide a shipping method if cart total is higher than an amount
- WordPress pointing animated GIF images with wrong file name upon upload (GIFs animation not working)