Questions tagged [categories]
Categories are groupings of information.
4,357
questions
-2
votes
0answers
16 views
How to Filter and search Criteria in Swift UI [closed]
I have a question I am trying to create an app with a filter of the categories. For example this application "GOAT" have a multiple search of the categories, you can search and filter the ...
-1
votes
0answers
9 views
How to put 2 columns on mobile, category page in Prestashop 1.7
i m stuck in this problem for couple of our. have any ideea how to put 2 product per row on the category page, only for mobile, - prestashop 1.7 ?
This is the link for page
thank you
0
votes
1answer
18 views
Comparing categorical variables between columns in pandas.DataFrame
How do I make this comparison using the set categorical rules instead of the lexicon order rule?
Given the dataset:
df = pd.DataFrame({
'NUMBER':[12, 26, 16, 34, 38, 1, 26, 8],
'SHIRT_SIZE':['...
0
votes
0answers
3 views
Wordpress LearnDash LMS course category list
We are trying to migrate a highly customised implementation of Sensei over to LearnDash concurrently and I am having issues with the taxonomy. It is my understanding that LearnDash inherits the post ...
0
votes
0answers
7 views
Prestashop 1.7.6.8. sort cart by category id
i need to sort products in cart by category id, but not like ASC or DESC, i need to sort by specific id like:
category 1 (and it's child categories),
category 2 (and it's child categories),
category ...
0
votes
0answers
15 views
Access to the creation of Glossary, Terms, Category, and Classification by different types of users. Apache Atlas
Please tell me if сan all types of users (e.g., admin, data scientist...) create the Glossary, Term, Category, and Classification in Apache Atlas?
And whether it is possible to make any restrictions ...
0
votes
0answers
24 views
Elements sorting in ReactJS, NextJS
I'm new to NextJS and I have already written my code, and it is working exactly how I want. But I'm not sure if this is correct way. Because all the time if I would need to create a new category for ...
0
votes
2answers
29 views
Can't insert Title of Category in HTML with Django
I want to display only the title of my Django Category in HTML, but don't know how to access it properly. For the Category I use the MPTT library.
My views.py looks like this:
def category_products(...
0
votes
0answers
14 views
How to Matching coach category by clicking button using spinner ,Firestore [closed]
public void Match(View v) { //Button
String skill = skillspin.getSelectedItem().toString(); //spinner skill can select 1-5 value
String technique = techniquespin.getSelectedItem().toString(); /...
-2
votes
0answers
14 views
How to hide specific category over post thumbnails
How to hide specific category over post thumbnails ?
I have circled in red in the example
Best regards,
0
votes
1answer
36 views
Add custom button with link to main category inside “added to cart” message on single product page
How to add a custom button with link to main category inside "added to cart" message on single product page of the currect product.
For clarity of the position of the custom button, see ...
0
votes
0answers
24 views
Woocommerce related products from categories and sub-categories?
I'm using Woocommerce on my website, and I have a few categories with sub-categories. The code below is in my related.php, and the "Related products" part now shows only items from the sub-...
1
vote
1answer
25 views
Display Top category only in WordPress
I have some posts belonging to multiple categories. I have defined a Top Category for each of them and I would like to display this Top Category only on my category page. Unfortunately it shows ALL ...
1
vote
2answers
29 views
Wordpress loop: custom number of posts and sort by date
I have tried to find a solution to something I need on the website (example here: https://www.baiweb.nl/). I have been looking for a way to show a custom number of posts per category AND sort them by ...
0
votes
1answer
20 views
Wordpress Category Page display category and subcategory in URL [closed]
I'm stuck with a seemingly simple Wordpress issue. I have a client who wants their category pages to display posts filtered down by category and sub category, so for example
www.mysite.com/category/...
-1
votes
0answers
19 views
Create a Schedule from events in SQL Server
I'm trying to build a schedule for some agents based on their current patterns of events.
For example Agent 1a's day consists of the following records:
ID| AgentID|login |logout ...
0
votes
1answer
25 views
Output grid of child category thumbnails and custom URL
I have a product category in WooCommerce called Dealers (ID 93). This product category has about 50 children currently and each one has a logo as its thumbnail. I have added a custom field on each ...
0
votes
1answer
16 views
WooCommerce - Display sub-category from specific category parent in order email
So I have this weird request about displaying what sub-categories a product is assigned to in the order emails being sent out upon order confirmation in WooCommerce - however I would only like to show ...
0
votes
0answers
12 views
Count number of posts in a custom post type taxonomy (WordPress)
I am trying to return a list of all categories in a custom taxonomy (shoes), along with the number of posts each category has in it (the post type is 'items' if it helps to know). But my code doesn't ...
-1
votes
0answers
6 views
Magento 2: Infinite image loader after select an attribute from category page
After I click on a swatch, the image of the product image is not shown.
Just if I hover the product I can see the image.
Category Page
1
vote
1answer
23 views
Archive.php isn't sorting posts from one single category
My archive page with added numeric pagination won't sort out the right category and instead shows posts from all the categories. Let's say the category is bananas (http://localhost/tkeblog/category/...
-1
votes
0answers
10 views
Magento 2: The price from Quick View don't change if I select an attribute from category page
I have a shop on magento 2.3.4
When I change attributes from category page, on quick view these attributes are not selected.
Category Page
Quick View
1
vote
1answer
30 views
Google Sheets Hierarchical Subcategory Expansion
Problem Statement:
I have a list of bank transactions with an amount and a category.
I have categories defined as a string which can contain any number of : characters. The : character indicates a sub ...
1
vote
1answer
44 views
Implementing a category tree
I am implementing a continent-country relation category map
In my implementation a method add_country(), and as a parameter of add_country I provide the name of the country and continent it belongs to,...
0
votes
0answers
11 views
In Outlook's To-Do module, how do I sort or group categories within each day group?
I finally have a system in place where all of my To-Do Due Dates are in ascending order and grouped by date. And every To-Do item has a category, some with two categories. It's very convenient to see &...
0
votes
1answer
25 views
How to use where in manipulating the list from a provider in flutter?
Hi I'm trying to figure this out for so long and still not sure how to display items based on selected/passed category...
I need to display items that are under the selected category only
Category ...
0
votes
0answers
16 views
unlimited categories and how to show them in mega-menu in laravel
I have unlimited categories with unlimited subcategories.
to this end, I have a recursive function in view by @include.
but my mega menu doesn't work properly and the style of menu messes up.
I think ...
0
votes
1answer
33 views
R highcharts color specific column on chart
I am trying to assign different colors to my column chart based on value group on xaxis. But I could not figure it out. Please see the picture for what I want. Is there a way to do it in highcharter R ...
1
vote
0answers
15 views
Save User Categories in WordPress
I've been following along with the following tutorial How to Add User Taxonomy in WordPress
, my issue is that the user categories do not save. I want to be able to add categories to the users for ...
0
votes
1answer
60 views
hide_empty categories in Woocommerce not working
I use this shortcode to display subcategories, and it's working fine.
But i would like to hide empty categories, and hide_empty is not working.
function woocommerce_subcats_by_id( $atts ) {
...
0
votes
1answer
47 views
Laravel total products count from childs in parent category
I have eloquent relationships with category child
In category Model
public function products()
{
return $this->hasMany(Products::class, 'category', 'id');
}
public function sub() {...
0
votes
0answers
11 views
Opencart 3.0.3.6 category tags insert
I'm trying to insert product tags in product category but I can not find from where and how in Opencart files. I'm using Opencart 3.0.3.6
Can you give me some advice.
Thank you!
0
votes
1answer
29 views
Create shortcode for displaying only subcategories by given parent name Woocommerce
If would like to have a shortcode that displays a list (dropdown) with ONLY showing subcategories in woocommerce with the given parent ID. And if possible without javascript. Example shortcode [...
0
votes
1answer
23 views
How to add custom widget area to WooCommerce product category pages, just above the footer
I am trying to add a custom widget above the footer on all pages (except landing page). All has worked well except for the Woo Commerce category pages.
I registered the widget area in my child theme ...
1
vote
1answer
26 views
What is the difference between category, group, and item type in HCL OneTest Data?
While creating schema in HCL OneTest Data, I came across the terms as Category, Group, and Item Type. Can anyone help me with understanding these terms in HCL OneTest Data?
1
vote
1answer
38 views
How to Get hierarchical nested object of mongoose data
I have data like this:
[{ "id": 80, "Category": "1", "sub_category": null},
{ "id": 81, "Category": "1.1", "sub_category&...
0
votes
1answer
70 views
List of all categories of filters and hardware devices under Windows
When I run (in C++)
CoCreateInstance (CLSID_SystemDeviceEnum [...])
and then
CreateClassEnumerator (CLSID_ActiveMovieCategories [...]),
I get 28 categories:
001 {07DAD660-22F1-11d1-A9F4-00C04FBBDE8F}...
0
votes
0answers
19 views
How to put discount on product's, if they are in a category and customer buys more than an amount of them? WordPress+WooCommerce
add_action( 'woocommerce_before_calculate_totals', 'bbloomer_quantity_based_pricing', 9999 );
function bbloomer_quantity_based_pricing( $cart ) {
//Discountable categires
$...
0
votes
0answers
28 views
why is target encoder giving these results?
i am using target encoder e.g.:
preprocess = make_column_transformer(
(SimpleImputer(strategy='constant',fill_value = 0),numeric_cols),
(ce.TargetEncoder(),['country'])
)
pipeline = ...
2
votes
1answer
33 views
pandas: calculate fuzzywuzzy for each category separately
I have a dataset as follows, only with more rows:
import pandas as pd
data = {'First': ['First value','Third value','Second value','First value','Third value','Second value'],
'Second': ['the old ...
0
votes
1answer
20 views
Magento 2 - Category List Sort by Position with Sub Category Not Working
A little background, I'm trying to do a custom Category listing, but at the moment it seems the Category not being sort as I seen on Admin.
Here's the code that I've done so far
$current_store ...
0
votes
0answers
16 views
Is there an R argument in the tabyl package that will let me find the average of values by category and subcategory
I am currently working on an "R" Project where I need to answer the question of "can you break down the average subscription_amount by categories/subcategories within the data?" I ...
0
votes
0answers
7 views
Can't assign category to custom post type
I created a new custom post type 'faq' which also uses the category-taxonomy. For some reason, I can't assign a category to the faq-posts while I added the taxonomy.
My code:
function faq_post_type() {...
0
votes
1answer
42 views
Schema markup from a PHP loop
I am trying to auto generate a schema markup from a WordPress PHP loop. I am trying to create my markup from five latest post in my "hovedret" WordPress post category.
The schema markup I am ...
0
votes
0answers
27 views
TIMBER. Display posts by click the category
I display a posts using this code. Now i want to dispaly posts by clicking the category name below the grid. How can i do it?
<section class="page-section page-section--padding-2rem">...
0
votes
0answers
24 views
Fetch Junit category
I am using Junit category and I want to get a mapping of testname and the category it belongs to.
For example, if I have a test :
@Category({Category1.class, Category2.class})
class TestExample {
...
0
votes
1answer
15 views
Display link to category over featured image
I managed to get the category to display in the corner of the featured image but what I want is for the function to be a link and not just the name. I'm sure this is deadly simple but my google-fu is ...
1
vote
1answer
57 views
Define and categorise separate networks in R
I have an issue that I've been unable to optimise and I'm sure that either igraph or tidy graphs must hold this function already or there must be a better way to do this. I am using R and igraph to do ...
0
votes
0answers
12 views
Splitting a category into subcategories with .qcut()
I'm working on a NaNs filling in a column.I used qcut() to create categories and for every category inserted its medians instead of NaNs.
labels = list(range(1, 21))
data['quant_group']= pd.qcut(data['...
1
vote
1answer
49 views
Custom “Out of stock” text based on product category in WooCommerce
Every out of stock product says "Out of Stock"
There are plenty of functions.php scripts that overwrite the text but I am only trying to overwrite the text specific to "Category A" ...