how to create groups for woocommerce attribute products?

my problem is .. in woocommerce you have to list all attribute in one group . for example i have some attribute like these : General Info Country : "something" Material : "something" Weight :...

regex in $_POST variable

I am working on an addon for wordpress - woocommerce. I am using the plugin "Woocommerce Product Addons" - with this addon i can insert for example a drop down select list for the property "color"...

Getting Overlay + Darker Overlay On Hover For List Item Images With CSS

Trying to recreate an overlay / overlay + hover effect. In the code that works for the effect that I used earlier, the parent div gets the class thumbnail-row with the styles: .thumbnail-row { ...

WooCommerce wc_add_notice() with custom notice_type and cart update

I'm trying to add a notice type to the WooCommerce wc_add_notice() types set (success, notice, error). Call it 'warning', it should be "more serious" than 'notice' but less serous than 'error' for...

Reload this javascript file after an ajax page load (YITH Infinite Scroll)

I have a woocommerce shop that has an ajax page load navigation. So a user clicks next page and more products are loaded via ajax. However, I have a javascript file that manipulates the colors on...

How to modify shop page main query in WooCommerce to show a variation of every product in the list?

I'm doing a shoes shop in WooCommerce. Every shoe has a different color and size. I've added colors and sizes as attributes and then added some products as variable products. I would like to list...

PNG Images crashing on iPhone and other mobile devices

I really have no idea why this is happening and I really hope someone had this issue before! My current problem is I'm running an ecommerce website with approx. 2500 products. All product images...

Woocommerce price on attribute

I have problem with WooCommerce. I have two attributes - 5 sizes and 10 colors (total 500 product variations). Price is based only on sizes (for colors it does not matter). How can I config...

Update the product visibility in Woocommerce 3

I am using several plugins with woocommerce/wordpress to make it so that each of my product variations will show up in my product list as separate products, but only one of each color is set to...

Get total product purchased count with specific product attributes in Woocommerce

I am creating a custom report using WooCommerce and it is working, but it is using a ton of resources, and it needs to be much larger and will time out if I increase its size. I am certain there...

Show colors swatches in vertical mode for Woocommerce variable products

I have a Woocommerce shop with some variable products which have color swatches. How can I show in vertical form instead of horizontal. I have tried to edit them, but I didn't succeed. <div...

WooCommerce - Dynamic content description with information about pricing in the chosen currency and variations

I am using the "WooCommerce Currency Switcher" plugin and would like to use dynamic content as default description for the products. Example: Get the "{product title}" for {currency symbol}{sale...

Display the chosen selected CF7 from admin on Woocommerce single products

For a custom WooCommerce theme I'm trying to achieve the following: Backend User can select if product can have a product enquiry form User can select a CF7 form from within a single product...

Woocommerce - how to add big amount of variations?

I create an e-shop in Woocommerce and I have a problem with inserting variations. I have 20 colors (1-20) and 4 sizes (A-D), so total of 80 variations. But my colors are in 3 different price...

Display image after clicking on img link

I trying to show images of the same product in different colors in a big image after clicking on a thumb. It's not a store, so I'm not using woocommerce. I have made a custom post type called...

Get color code in attribute variation Woocommerce

I am replicating the colorpicker filter in woocommerce: I have been searching but I am not finding the color value in HTML or in RGB. This is the attribute objetct: WP_Term Object ( [term_id] =>...

Woocommerce REST API - how to upload product attribute term thumbnail image

Does anybody know how to upload product attribute term thumbnail image through Woocommerce REST API? I am in a very similar situation as shown in the following picture: I want to...

Add Class Variation Woocommerce Out Stock

I need to add a css style class for only "label" products that are not in stock. Example Original Code: <label class="radio-label sw-radio-variation sw-radio-variation-2" title="l"...

Class Variations Label Out Stock Woocommerce

I need to add a css style class for only "label" products that are not in stock. Example Original Code: <label class="radio-label sw-radio-variation sw-radio-variation-2" title="l"...

WooCommerce: Add class to product filter attribute option

I want to style some filter options in the WooCommerce category archives. For example: there is a filter for the type of cars. Let's say pickups, suv, sportscar, ... Every option should get an own...

Facebook Pixel not working on iOS mobile (Wordpress/Woocommerce)

I am using Wordpress (v 5.3) with WooCommerce (v 3.8.1). My facebook pixel registers events (ViewContent/InitiateCheckout/AddToCart/Purchase/etc.) on desktop, but doesn't register events on mobile...

Wordpress does add unwanted html tags to my code

I cant understand why wp adds some unwanted </p> tags to my lovely html. Do i miss something? Problem: It makes these empty </p> thus create a 3rem border on the bottom, of my bootstrap card,...

How can I make splash screen wait for computations before navigating to next screen?

I'm making a splash screen on flutter and I want to run some computation while displaying the splash screen (with the circular progress indicator running) and after all computation is done I want...

How to get term meta WPGraphQL/WooGraphQL?

I'm using Woo GraphQL and I'm wondering how I should go about getting the color of product attributes. See below for a screenshot of the product attribute in WP Admin: I've tried querying for the...

WooCommerce - Show Regular and Sale Price for The Product Variation which has Flat Price

The scenario is Simple product, Variable product are woocommerce's two different product types. The simple product will show you the regular and sale price. The variation would give you a price...

Display WooCommerce Custom Product Attributes and all terms on single products

I created six custom attributes on the WooCommerce single product page with a custom function. They consist of: an icon, a label and terms. Based on...

Changing Woocommerce review star colors based on rating

I'm using the following css to uniformly change the color of review stars on Woocommerce: .star-rating span:before, .star-rating:before { color: #ffffff; } How would I change the color of...

Customization on WooCommerce variable product with custom fields

We have created a site using WooCommerce and WordPress with predefined products. However, Product A must have variations, to resolve this, we added custom fields such as Colors, Dimensions,...

Keep getting errors after flutter clean and upgrading to latest version

So I decided to upgrade the flutter to the latest stable version 2, I used flutter clean then after the flutter upgrade, I kept getting this error intl version dependency PS...

Showing "Out of Stock" text next to variation in Woocommerce product with multuiple variations

I have been looking EVERYWHERE and I cannot seem to find a solution to a very simple problem. I have a Woocommerce store and I want to show to the user a message "Out of stock" next to the...