Woocommerce Product variations not saving

Am using woocommerce I justover write one function using hook because I need to calculate the price of each product using a formula so what I did is I just copy the original function modified it...

Woocommerce - custom variable product options

smart people I have what might be a challenge at least for me anyway. I'm using Woocommerce for ecommerce site but need to customize the Variable Product options to include more relevant variation...

Obtaining Default Variation Price on a Variation Product WooCommerce

I have variable products in my WooCommerce store and instead of displaying the range of prices, I'd like to display just the default price that shows up below when someone first visits my product...

Default image for woocommerce category products

I am setting up a woocommerce site. I am having a lot of products, and I don't have image for every product. My question: Is there a way to use the category image as product image for products...

Replace the Variable Price range by the chosen variation price in WooCommerce 3

On WooCommerce I would like to change the Variable single product page layout. Because, when you have an variable product you get this wired price rage ( below product title ) in the Variable...

add custom wordpress attribute for generate thumbnail in xml feed

I want to create an XML product feed for some external services so I using WordPress plugin to generate that feed. the problem is that the plugin using the main image for the feed. so I want to...

Woocommerce product images not shown after shared on facebook

I use the plugin "Woocommerce social button" to share my products on social networks like Facebook. Unfortunately, the product image's is not displayed on the Facebook post (it's my website logo...

Woocommerce: Runtime error when I place order to process payment using bank API

I'm using Armenian bank API with woocommerce as extra payment method. When I place order it gives me Runtime error. I'm attaching the image or the error I receive and the code I am using. ...

WooCommerce 302 redirect to homepage after checkout is finished

I have an unusual error I don't seem able to fix myself ... I have a WordPress website, with WooCommerce as shop-part of the site. Today I noticed, that after I make an order, (Select product >...

Load specific element on Woocommerce product category archives

is their a way via the functions.php or an other php method to don't load a specific div element on the shop / main page in woocommerce? <div id="nm-shop" class="nm-shop nm-shop-sidebar-header...

change programmly default product variation image on "/shop" archives - Woocommerce

I really tried to search other related topics here no success. I have woocommerce website, which have 100 products, each of them have 11 variants, on shop, when i filter them by attribute - model,...

Customize Cart Totals and Checkout Totals Text based on product categories

I'd like to customize the text in Cart and Checkout order summary tables based on the product category (or some other logic). For example, for the 'Total' text (see image) - if the cart contains...

Replace product image by a placeholder based on user roles in WooCommerce

In WooCommerce I am using user roles to define what each user role can see. If the user is "customer" or "administrator", he is able to see the product image, otherwise he see WooCommerce default...

How to override woocommerce product-image template

I want to use my own custom template file (with a custom name) for product image and gallery thumbnails, so need to override the default Woocommerce product-image template by using...

How to show Woocommerce Product Vendors profile picture in every product related to that vendor

I am trying to show instead of the default product image, the image of the vendor related to that product. So the final result should display for each product, instead of the default product...

Woocommerce custom html page integrate single product page

i am working on woocommerce project and facing one problem that i have copied all templates from plugin to my custom theme but now i have single html page which need to add integrate in...

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...

How can I specify product image sort order for WooCommerce products using the REST API?

I've reviewed the documentation for adding woocommerce product images at https://woocommerce.github.io/woocommerce-rest-api-docs/?php#product-images-properties but I don't see a property which...

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,...

Sort by brand name a-z Woocommerce overrides all other taxonomies

Update on the issue* So! I've been working with the code as posted by L7c1f3r below but i just can't seem to get it to work. I have to declare the taxonomy as an orderable variable for the $args...

Get the selected date with jQuery in WooCommerce Bookings calendar

The script below works perfectly in playcode.io (or other), but fails to detect a click when injected into my site. I'm more of a PHP developer and am sure I've made some rookie JS mistakes...

Change product data tabs into accordions and move them after the add to cart button

In WooCommerce on the single product page, I am needing to: change the default tabs into accordions move them up to the right of the main image (after the add to cart button or near...

How to stop embed video in Model Popup in Javascript (WooCommerce)?

UPDATED I have used javascript to create a popup and it's working fine. The issue is that i am using iframe embed video code (Facebook) in the model. the model is working fine and on pressing...

display custom fields data using meta key in woocommerce official android app

inspired by the question https://stackoverflow.com/questions/62251768/woocommerce-mobile-app-display-custom-field which did not have any response, I have also investigated about this issue but I...

Set Woocommerce Product Category Thumbnail Size Different From Product Size

I need help changing some settings in my WordPress default image sizes. I've been looking for an answer everywhere but could not find any good answers. Let me first define what I am talking about:...

How to change javascript in woocommerce on add to cart?

I've been trying to develop a theme/plugin in woocommerce and I've spend hours researching how to edit the hook / JS for notices in regards to products. Ultimately I would like to remove the...

How to disable tax being charged on shipping in WooCommerce?

I have configured my Woo-based shop to NOT charge any taxes on shipping: I do have a table for Zero Tax rate configured: however it still does during the checkout: as is apparent in the...

Change menu titles from h2 to h3 (woocommerce / wordpress)

I just launched my store on wordpress and I ran into a problem: When I am on the home page of the site, all my product titles are in H2 and should be in h3 (SEO reasons), my recommendation...

Add extra image upload field for product variations in WooCommerce backend product edit pages

I need help adding custom image fields to my Product Variations, same as the default field but with a different name and value or custom meta so I can differentiate default and custom image. I...

How to display category thumbnail on WooCommerce category page?

I created a WooCommerce category, added description and an image to it. There are some products in the category too. Looking at the category in frontend (/product-category/mycat/) I see category...