Concatenate 2 text elements on a line with full-width border using CSS only

I'm working with some WordPress code (WooCommerce plugin, to be exact), and I'm trying to format a line of code in a sidebar so that 2 separate text items (one in a <a>, the other in a <span> are...

Sub categories of products in WooCommerce plugin in WordPress are not displaying on UI?

Categories of products are displaying on webpage successfully. But sub categories are not displayed on page. I have checked all the conditions in Catalog section in admin panel. Please suggest me...

Increase the Product Image Size in the Catalog Page

I know, this is a simple fix (it has to be), but I have been searching for two days and haven't been able to accomplish this. The products in the catalog page of my site are too small. Here is my...

Woocommerce - adding x number of products thru add-to-cart

has anyone been able to add multiple products of the same kind, with a click of add-to-cart button. I have enclosed a picture to show what I would like to build. Objective: To be able to add...

woocommerce get list of attribute values

I'm using woocommerce on wordpress to create a simple shop site and I've added a couple attributes to a product. These are namely, size and color. Under size I have a variety of values including...

Display " Out of Stock " on catalog view Woocommerce

I can't get this to work after hours and hours of research. I hope someone can help me. In woocommerce, the out of stock message is only displayed on the single product page and NOT on the catalog...

Woocommerce - Hide category when a single product is in cart

I'm configuring a WordPress/WooCommerce site for a company that sets up Weddings. It has 4 different Ceremony Packages you can choose from that are all in one category called Ceremonies and there...

Custom Woocommerce variable product price range for more than one active variation

I'm using this script, which I found on the Internet, to remove price range and display only minimum price for variable products in WooCommerce/WordPress in following syntax: From US$ xxxx I'd...

Fit catalog Image in product image in WooCommerce

i have one issue that dont know how to resolve. I have a Woocommerce shop, and its working fine. But images in catalog shop shows cutted at bottom and at top, so image is not showed in full size....

Woocommerce category display: Show subcategories & products excluding subcategory products

I need some help on category display option for Woocommerce. In the Wordpress dashboard, I followed the below links to set up the category display option globally. Appearance -> Customize ->...

Round up cart total Woocommerce

I need to round up prices on my Woocommerce cart. It rounds up to 1. For example: If the total price of the cart is $40.85, I need the cart to show $41.00. I tried with this command but the price...

Turn Woocommerce shop into catalog for geolocated countries?

I'm trying to turn my woocommerce shop into catalog mode depends on country.I only want to show products' price and add to cart function in United States. I'm trying to achieve this by using a...

WooCommerce - Product content loops again in description box

Since i've updated to WooCommerce version 3.4.3, my single productpage shows the contents twice. Once in the correct place and a second time in the description box. Page in...

WooCommerce checkout "error processing checkout. Please try again."

I face problem with woocommerce checkout page and I couldn't solve it. first I face endless spinning in checkout (https://i.imgur.com/hMQwyVh.png) so I solve it by adding this code to my style...

Create programmatically a product using CRUD methods in Woocommerce 3

I'd like to create a new Woocommerce product programmatically with PHP code and I have tried it with the Woocommerce 3 CRUD methods: //Woocommerce CRUD $objProduct = new...

WooCommerce: Assigning Multiple Values to the same Product Variation Attribute Key

I am currently struggling with setting up product variations as a means of compressing a product catalog.. We currently have several thousand individual product pages and variations, and I am...

Get the catalog visibility for a product in a SQL query on Woocommerce

I know, as simple as it sounds but I don't get it running: How can I select the product visibility for a product by his id via SQL? This is what I have: global $wpdb; $result = $wpdb->get_col(...

WooCommerce wrong category count

I've included a function to show the product count in on the category overview page in WooCommerce: add_action( 'woocommerce_before_subcategory_title', 'custom_woocommerce_subcategory_thumbnail',...

POST & UPDATE JSON data in WooCommerce from external API

I want to create posts (and update them) from an external API, which offers me the endpoints to connect to the JSON data, but I do not succeed to post any of this API data in my...

WordPress page titles don't show up

I inherited a site in progress. My client had another developer start the site, ended the relationship with the previous developer some time ago, and recently asked me to continue the project. The...

Set a min unit displayed price for simple products too in Woocommerce

In Woocommerce I would like to show a minimum price for a simple product and variable products in front of the catalog. Based on...

Disabling Add to Cart Button for Specific WooCommerce Products

I'm trying to disable adding to cart certain products which have the "Call to Order" checkbox ticked (see code below) on the product editor. add_action(...

Insert Checkbox on WooCommerce general settings page for purchase filter

I am trying to create a an extra option on the General settings WooCommerce page but could not get that working so I tried with the advanced tab instead, which seem to work. The goal here is to...

Hide Price and Add to Cart button in Quick View of 3rd Party Plugin

I have a Wordpress/WooCommerce site. I am trying to create a catalog, members-only site where you have to be logged in to see pricing. I am currently using the plugin WooCommerce Catalog...

WooCommerce REST API v3 remote ordering and payment and sending all data into WP

I started creating a program where we can browse products by category. Add items to our cart (in messenger) and update cart etc. We have Stripe / PayPal already connected to our App and would like...

How to programmaticaly change product name everywhere in woocommerce?

I'm trying to beautify my products names and I need to apply the changes everywhere (catalog, cart, checkout, widgets...) etc Actually, I managed to : Catalog (loop) single product...

Hide WooCommerce variable product from catalog if all variations are out of stock

Within my WooCommerce shop, there are products with variations in color. The update on the stock is on variations level because the external feed sees every color as a different product. Now I've...

Hide product prices on specific countries WooCommerce

I'm trying to hide the products price and add to cart button from woocommerce pages on specific countries. i've found Turn Woocommerce shop into catalog for geolocated countries? but it works only...

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