Tagged Questions
-1
votes
0answers
24 views
Getting “Error 404” instead of rest of products in category [closed]
I've created category links in my webshop, but when I press next page, I get "error 404"-page instead of rest of the products in the category.
Example:
url: http://md4s1307.keaweb.dk/shop/pants
1
vote
1answer
91 views
Combine two taxonomies in a hierarchical tree
For example, I have WooCommerce products that have taxonomies:
brand (e.g. Converse, adidas, D&G) (taxonomy id: product_brand)
category (e.g. Boots, Sneakers, Sandals, Heels) (taxonomy id: ...
0
votes
0answers
52 views
woocommerce horizontal menu parent cat and subcategories as vertical menu
I have looked a while to find a solution for this and cant get a clear path on how to do this.
basically i would like the child categories listed as a vertical menu but only the ones who belong to ...
-1
votes
1answer
68 views
woocommerce retriving category name as div class?
I am trying to retrieve the category name of a WooCommerce product displayed in a WordPress loop and use it as the class for an li (also inside the loop). I've tried this:
<div id="isocontent" ...
0
votes
0answers
48 views
How do I call a custom template for specific Product category and all ancestors in WooCommerce?
I am very new to WooCommerce and Wordpress. I am currently creating a website using both and I'm having trouble assigning a custom template to a specific category and all its ancestor categories.
I ...
-1
votes
1answer
61 views
WooCommerce Product Search Error
I wanted to display product category,in product catalog on my WooCommerce site.I asked another question earlier to make this code working.I added this code on my content-product.php file.
...
0
votes
1answer
87 views
How to display product categories and number of sales on WooCommerce
I am currently working on a WooCommerce site.I managed to set it up,do some configuration according to my plan.Now i want to display product categories alongside each products in product catalog,and ...
-1
votes
1answer
191 views
WooCommerce: List All Categories
I'm using the WooCommerce plugin with WordPress and within my theme I'd like to list all categories within a navigation menu with PHP.
I've tried using woocommerce_product_categories();
but I don't ...
1
vote
0answers
116 views
Show category images on single product page and product overview page
I am running a woocommerce shop and I have products which are in multiple categories. I would like to show the category images on the single product pages. And also on the product overview page.
I ...
0
votes
2answers
535 views
How to order categories in Woocommerce that are spread over multiple pages?
I'm building a store using Woocommerce and need to manage a large number of product categories.
I would like to re-order them to appear in alphabetical order. However the drag and drop ordering ...
0
votes
2answers
501 views
Woocommerce product categories order
Is it possible to sort product categories?
I have a category with a lot of subcategories. On the category page all the subcategories is listed. Right now I can only change the order by drag and drop ...
0
votes
1answer
773 views
How to split the categories of subcategories with thumbnails
This is the code I use to display all product categories with thumbnails:
<?php
$cats = get_terms('product_cat', array(
'hide_empty' => 0,
'orderby' => 'name'
));
?>
<div ...
0
votes
1answer
470 views
woocommerce product category tabs
Can someone help me how to generate dynamic tabs with product categories in woocommerce.
- product category as tab name, and their subcategories thumbnails as tab content
0
votes
1answer
307 views
List products from current category
This code is from the archive page and list all products with a certain tag, can someone please help me to modify this code to make listing products only from current category:
<?php if ( ...
0
votes
1answer
520 views
show category in woocommerce
This code show tags from a specific category such as id = 3. I want to make automatically check which category I am. Can someone please help me ?
$args = array('categories'=> '3');
$tags = ...
0
votes
1answer
349 views
Get Tags specific to Category using WooCommerce plugin
Could anyone help me to implement this code in WooCommerce, ie instead of categories to use product categories, and instead of tag to use product tag.
In functions.php :
function ...
1
vote
1answer
78 views
How to change how many list item show in category generated by file edit-tags.php
It's always been a pain in the @$$ to see only 20 item in category. If i have 30, it paged on 2 pages, i hate that. If WordPress had a preference for that. So the question, Hot to list ALL the ...
1
vote
1answer
8k views
How to Display Product specific to a category with WooCommerce Plugin?
I'm using plugin Woocommerce to do shop online.
I have many categories for example shoes, clothes and so on. How can I display the products of specific category?
I see such product loops of on the ...
0
votes
2answers
347 views
Target a specific category from a custom taxonomy?
I am trying to target a specific category from a custom taxonomy. This is for WooCommerce.
So, the custom taxonomy is called "product_cat" and the category itself is called "adult-dvds".
This is ...
1
vote
0answers
502 views
Display products for a category, sorted by post_excerpt
I'd like to display a list of products for a certain category, sorted by the post_excerpt.
The original code I used was this:
$args = array(
'tax_query' => array(
array(
...
