woocommerce 4 category items on a row - woocommerce

I am looking for a way to change the number of categories per row in woocommerce. I found a lot of options to change the number of products per row. But I use pages with only categories and want to change the number of each row there.
Any ideas?

Related

ACF group of fields is displayed twice in different categories Wordpress

I created five groups of fields and assigned each group to a different category using a condition.
In the admin panel, in four categories (on post pages), groups with fields are displayed correctly. But in one category, one corresponding group and one incorrect are displayed. That is, the group that I linked to another category is displayed.
How is this possible, and how to fix it?
Tried to recreate groups with fields – but the same.

How can I filter the total price number in woocommerce order list?

How can I filter the total price number in order list in My Account and also in admin order list?
i.e. I want to change html form of prices in these lists in woocommerce.

WooCommerce Sort-by SKU - Get numeric order correct

I have a website running WooCommerce and on the Product Category page we have the option "Sort by SKU in Ascending order". The products have SKUs in the format of 4 Alpha and 2 Numeric, e.g. BLHS-20.
The issue we have is when the list of products in the Product Category page is sorted the SKUs aren't in true numeric order.
Example:
BLHS-1
BLHS-10
BLHS-11
BLHS-2
What code would we need to get the SKUs to sort as follows?
BLHS-1
BLHS-2
BLHS-10
BLHS-11
Thanks for any help given.
Ok, we have a workaround. Because the SKU field is a text field the simple fix is to find the largest numeric part of the SKU and for all smaller numbers add leading zeros.
Example:
BLHS-01
BLHS-02
BLHS-10
BLHS-11
This sorts correctly.

Woocommerce total stock count for specific category

I'm looking for small help. I'm using this function in function.php. When I use a shortcode [total-product] I'll get for example "We have a total of 1000 products in stock".
Using Get the count of all "In stock" products in WooCommerce code, takes a number of products from all categories, but I need to get number just only from specific categories - not from all together.
I don't know how to change the SQL query to select from specific categories, eg by ID.
Is there any chance of counting the number of product "in stock" according to specific categories? Something like (I have no idea about Database structure of WP tables):
AND category_id LIKE '100;101;...' // one or more category IDs

Split shipping cost in cart

I have Shipping costs based on the number of categories in cart. Base shipping is 250 and if the number of categories is more than 1 for every category is charged extra 50. At the moment everything is shown together in a cart, I would like to be extra cost visible with a label and new row.
It looks like you might need to modify the WooCommerce checkout template in the theme that you are using.

Resources