drupal 7 - Grouping by taxonomy terms - templates

I have a view called products, using product content type and are classified by the product taxonomy terms. I just want to show the Title and Picture from the node and group them by my tags.
tags:
fruits
dried canned goods
dairy

Surely you need to create a View.
In views you can make any filter for data and show in a new node, table, list, etc.

Related

How can I add best seller, special and new arrivals on Opencart Journal3 theme

I want to split the category page into three sections just like on Amazon Category page:
Best Seller:
[Products]
Special products:
[Products]
New Arrivals:
[Products]
I have tried using the default best seller functionality on Journal but it's grabing products from other categories on a certain category is an extension that can help me achieve this?

Group user likes based on page category

Is there a way by which we can group user’s facebook likes based on the category of the pages, when I request from Graph API /[user-id]?fields=likes what I get is array of user’s likes in reverse chronological order. I need to group these likes based on the page’s category like Entertainer, Comedians, Celebrity, Artist, Actor/Director, etc categories should be grouped in a one category (say Personalities) and other pages like TV Show, Movie, TV Series, etc to be grouped in other category (let’s say Movies)
No, you would have to do any sorting on your own, after getting all the entries. You can use paging to get all entries: https://developers.facebook.com/docs/graph-api/using-graph-api/#paging

Sharepoint2013 list item filter

My requirement is I have to submit records into a list/lib with attachments and that record can be tag to category field they can be multiple for a single item.
i.e. An item A can be tag to tag to category X or can be cat X,Y(multiple category can be)
My requirement it user can also filter these record in list/lib on the basis of category tagged.
i.e. if an item A is tagged with cat X,Y it should be show in both cat when we filter.
What approach i should i use in Sharepoint 2013?
you can use the taxonomy to achieve this behaviour. Generate Term sets and terms in it and use them to tag your List Item.
You didnt provide the details about how you are searching the data? by your code or the OOTB sharepoint search ?
Thanks

Designing a Sitecore tree to store more than 1Mn items

I have 300+ "Category" (Can go into 4 sub levels) items and 1Mn+ "Product Items" to be stored in the Sitecore database.
I am designing the Sitecore content tree.
I am considering two options,
Option1 - Model as "Category" --> Sub category .... --> "Product Items"
Option 2 - Model "Category" tree separately and have "Product Items" separately. (Home -> Categories -> cat 1...) and (Home -> Product Items -> All Product Items)
According to my experience if I go for option 1, it will be painfully slow if I need to modify the category items and publish. (Even with some enhancements)
Option 2 does not create a well balanced tree, but the category nodes will be much faster to edit.
Please help me to sort out this. I am using Sitecore 7.
You are more or less going to have to come up with a solution for storing your in a separate section of the content tree. I would most definitely not advise you to place a million+ product items sitting directly under the individual category items. For a number of reasons, including:
Performance, as you say. Changes to categories will happen often, to "follow the market", for "seo reasons". Also "campaign categories" (like "Summer Sale 2014") is bound to pop up from time to time
The nature of a category/product relationship is very rarely 1 to 1. Meaning the same product can and will exist in multiple categories (think: Duracell batteries existing in both "Electrical", "Batteries - Non-rechargeable" and "Camera Accessories" categories)
Since you're on Sitecore 7, the built-in solution for your product repository is to put all the products into an Item Bucket. Then you have two (obvious) choices for Building the product/category relationship:
On "Product", set up a Multilist field named "Categories", and add the ID of each Category item the product belongs to
On "Category", set up a search field to select products from your Item Bucket
It really depends on how this product hierarchy is going to be managed, which of the above fits best.
Information on Item Buckets here: http://sdn.sitecore.net/Reference/Sitecore%207/Developers%20Guide%20to%20Item%20Buckets%20and%20Search.aspx
Solution 1 is still the best one in my opinion.
It always better to create a comprehensive and logical store as "bath and shower articles in the bathroom category" than having products in both categories and no categories.
The global benefit having categories for products is for indexing (as for human, as for your website, as for search engine )
With some CMS like Magento , you easily manage 1M products with categories, and you can edit , move categories as you want, so to finish my answer , yes answer1 is the most suitable answer to me :)
Edit : Sorry i didn t see you re already using sitecore

Google Charts - Multiple Category Filters - Restricting options?

I have 3 suppliers, 40 brands and 120 products, all displayed in three category filters. When a user selects one supplier from the Supplier filter, I want the Brand filter to hide all brands that are not provided by that supplier. Likewise, when a brand is selected, I want to hide the irrelevant products from the Products filter. I don't really care about what's being shown in the table at this point.
Is there any way to implement something like this?
Heres an example for you -
http://jsfiddle.net/danabnormal/cjn2tbbm
You can do this by creating a Dashboard. At around line 61 you can see that the selection made in the 'Sex' drop down is bound to the 'Name' dropdown, thus limiting what Names can be selected.
dashboard.bind(filterSex, filterName);
dashboard.bind(filterSex, pieChart);