Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 10 months ago. Improve this question I’ve added a handful of Custom Product Attribute’s (CPA) to a product, and all displays as expected. The main issue is that I want to
Tag: woocommerce
nginx – cURL Error: getaddrinfo() thread failed to start
I’m running a WooCommerce shop and have a Laravel system that retrieves data from our ERP system. This part works just fine. The Laravel system compares differences in products and push out all changes to WooCommerce (product updates and so on). When I look at the log, many of these API request replies with: “cURL Error: getaddrinfo() thread failed to
How to display ACF field after the product name on the cart and order reviews in WooCommerce?
I have Advanced Custom Fields setup for post type on WooCommerce Products. So each product has 1 unique custom field. I’m trying to display the custom field after the product name on the cart and the checkout page and order table information. However, running into problems as my code doesn’t display any output. Any advice on how to achieve this
How to put the woocommerce order date in a shortcode
I’m trying to put the date of the order placed on woocommerce in a shortcode. This is what I did: In the past this works, now for some reason it doesn’t. Am I doing something wrong ? Answer I found a solution after several attempts. I found that I was formatting the code wrong, consequently I wrote like this: I
Woocommerce conditionally load a custom product template
I am creating a custom theme and I have copied the file content-product.php to my theme folder. There I have made changes to the html structure and css. I can load of list of products and see the changes working via the short code [products]. However elsewhere on the site I want to display another list of products but from
Woocommerce custom email is triggered if specific product ID is in order but not if other products are in the order
I have a custom woocommerce email trigger function in my Woocommerce store. This email function triggers 2 different emails based on product meta data. If specific product meta is empty it triggers email number 1 and if it’s not empty it triggers email number 2. This works excellent when there is only specific ID in my order. Once there is
How to change variation color based on variation stock status in woo commerce?
working on the website built with WordPress + Woocommerce and I’m trying to change the attribute background color on the product page if it is on backorder. for example, size 4 should have a different background color, because it’s out of stock and available on backorder: WPC Variation Swatches for WooCommerce by WPClever is used for attributes. I’m implementing following
Display out of stock products on specific category – Woocommerce
I use the woocommerce / inventory menu settings to hide all of the “out of stock” products from category listings. But there are some products them i want to display in certain categorys even is the stock is 0. Is there a function that can override the upper “main switch” in certain categorys? Answer Somehow I coudnt find it before,
How to remove woocommerce spinner on pages?
I know you can disable the preloader/spinner on WooCommerce checkout page using the following CSS code: However, the WooCommerce preloader / spinner still appears on all other related pages for example the Shop and Single Product Page. I have read Woocommerce Uses jQuery BlockUI Plugin to make a blocking overlay with an animate spinner on some jQuery events and on
WooCommerce: Double discount on sale products with coupon
I want to double the discount for products on sale with a coupon code. For example: The product is on sale with a 10% discount. If I add the coupon code doublediscount I want to double that discount to 20%. The coupon discount should have limit of 15%. So if a product is on sale with a 30% discount, the