It could either be a browser compatibility issue (does it support the includes method?) or it could be that the id checkInputClass is not being used. Change the first line of the js to the following to ensure the element exists before further checks are done:
var checkIfInputHasDefaultBehavior = $("#checkInputClass").length && $("#checkInputClass").css("background-image").includes("url");
Related Posts:
- WooCommerce – Load Templates From Plugin For All Template Files
- how to redirect to my template
- Woocommerce email template customization [closed]
- Woocommerce – Change Variable Product Add to Cart to behave like external product using Custom Field (link) [closed]
- WoCommerce Cart is not showing pricing
- Programmatically generate new pages for a site based on page template and content elements accessed via DB
- WP Customer Reviews call short code on another page [closed]
- Pass PHP variable to javascript
- Creating a default Custom Post Template that a Theme can override
- WooCommerce create new product and add to cart on form submit
- WooCommerce Always Include Shipping Information in Checkout [closed]
- How to set value/term of a Woocommerce attribute text field in admin panel?
- Woocommerce different URL for every table placed in the restaurant
- Disable Admin Bar Render on Plugin Page
- How does WooCommerce display a custom comment_type in Comment Admin?
- Woocommerce cart is a non-object inside `admin_post` action [closed]
- Get product attribute for Simple product in WooCommerce
- Developer plugin to echo template names/filepaths [closed]
- Over write plugin templates
- How to prevent action in ajax request, when in admin side?
- Override comments.php template with plugin
- How to edit Image layout in single product page in woocommerce on wordpress?
- How To Hide Filters On Specific Categories with WooCommerce Products Filter(WOOF)
- Woocommerce – Display active variation product price [closed]
- Remove specific product from shop in woocommerce [closed]
- Absolute Image URL in srcset is appended to the upload dir
- Dropdown menu on custom page with product to choose number of products per page
- Integrating non-WooCommerce and WooCommerce Orders together [closed]
- WP Post Template – Templates in own folder
- Register Page Template from Plugin
- Creating a Callback URL for WordPress Woocommerce to update Order Status
- Want to Show Sub categories under Categories section using Woo Commerce [closed]
- Woocommerce Shop page variation product button replace with add to cart button
- Template filter for custom taxonomy terms
- woocommerce with custom post type
- Calling the_excerpt from inside a plugin template file
- Restrict content based on buy woocommerce product
- WordPress as template engine
- Product count in archive page Title in WooCommerce [closed]
- WooCommerce – set session with new cart item meta when updating cart item quantity [closed]
- Conditional Shipping Options if Certain Products are in Cart WooCommerce
- WordPress Stock Update Programatically
- Woocommerce Backend Search by Title and SKU
- WooCommerce Shopping Cart Not Initially Showing Products [closed]
- Opening a JQuery modal window on click of a button with a JQuery plugin
- Woocommerce singe product custom gallery output works just on the first slide
- How to include a custom field in the woocommerce email?
- Remove Pagination for Product Category Pages WooCommerce
- add seperate suffix for low price and high price in woocommerce
- Get products list by url key in WordPress Woocommerce [closed]
- Getting a ressource ID, from a WC_Order_Item_Product/Order
- Override a Plugin Function
- get_term_meta returns false in widget
- Add key and value to an array in another file
- How do I show content from a plugin using the template the site is currently working with?
- How to return a specific attribute
- use EDD Content Restriction for restricting php in template
- Woocommerce Export and import Orders
- Grouping imported products and showing variations based on selected product
- Add a Custom email notification to WC actions
- Visual composer custom element error
- How would I Redirect an existing WooCommerce customer to a specific url after Checkout
- the_posts_pagination() not working if I add wp_head() to header.php
- Plugin which unlock free gift when you reach some amount in cart
- Optimise wordpress database using SQL after deleting registered images from Media Folder
- is there a way to display product gallery images via cdn
- Changing wordpress/woocommerce notices default message to other languages (text)
- Woocommerce redirection if no previous orders
- How to assign a specific service to a specific provider based on location
- WooCommerce Checkout Issue specific to Instagram In-App Browser
- Checkbox field that add a subscription product and change prices of other products in checkout and cart page
- Object of class WP_Error could not be converted to string in /formatting.php
- wordpress plugin translation not working
- Payment failed but order is placed on wp site
- How to change the product short description for each product with PHP?
- Help needed with woocommerce (wc stripe) filter
- show Visual form builder in the front end
- Fake Single WordPress Post (Page) Loop
- Add A Button to WooCommerce Product Page
- How ACF Advanced Custom Field works with Woocommerce Single Product [closed]
- is_plugin_active() not defined on active plugin, in the thumbnails.php file
- The plugin generated xxx characters of unexpected output during activation
- Make a Custom template for a specific category in wordpress
- Need help saving input fields for Security Deposit plugin in WC Vendors page
- Populate Woocommerce order notes with custom field value
- Woocommerce Product Add-ons – Auto-select first option
- Order shipped by which driver[hook for woocoomerce order staus changed and popup in admin panel ] [closed]
- Display out of stock products in WooCommerce [closed]
- How to display content depending on the Woocommerce Product Category
- how to add meta for order in woocommerce
- WooCommerce REST API aborts connection [closed]
- Product customizing quiz – quiz adding products to the cart
- Show WooCommerce products based on query parameters on redirect
- How to make a Template page to show the information of different things Shop and Product page?
- How to create different woocommerce single_product.php pages for each product? [closed]
- USPS shipping costs are being doubled when using the USPS shipping method plugin [closed]
- Automatic assignment of multi images to products in WooCommerce/WordPress with SKU
- Product image import
- Conclude woocommerce-shipping-totals
- Load a custom post type template.html from a plugin