Hi I've installed the views accordion module to display a list of cocktails using taxonomy and it's not working for me.
My taxonomy looks like this
Drinks
Classics
Drink 1 & ingredients
Drink 2 & ingredients
...more
Signatures
Drink 1 & ingredients
Drink 2 & ingredients
...more
I want the accordion to display 2 clickable options classics and signatures and when clicking on any of the 2, it will display a list of drinks.
What I get is classics, drink 1, drink 2, signatures, drink 1, drink 2 all as clickable options. I've also tried creating an accordion without using my taxonomy list and I can't manually create one.
Can someone point me in the right direction and tell me what I'm doing wrong please.
You will have to use views field grouping available when you choose to define the row formatter.
Related
I am trying to Pair objects from two different sites. They don't use Universal IDs so I need to do it all by hands.
One of those has also a weird way to identify items internally.
I don't know how to couple them together.
Right now I tried to use what it seems the way they both divide items:
- Category (For indoor use, For outdoor, Paper, Metal, Pens,Food Use..)
- Product ("Microsoft Widget A","MS Widget B")
- Item (10cm red, 200m blue made of paper..)
Item for example could be the different size of the same product (1.5cm,10cm,100cm) on one site (site A), while the other site
"split" differently. A Product can be divided in quantities/colors/size that are items. This means that I can have
Site a: Product Widget A, red
Items: 10cm,20cm, 100cm
Site b: Product Widget A,
Items: red 10cm,red 20cm,red 100cm, blue 10cm, blue 100cm
Another bad thing is that the categories are not defined the same way, Site A might say "Outdoor Widget for water",
while the other has "Outoor", and "Widget for water" in a subcategory. Or even worse it use different wordings.
Right now, to try to find a solution to this, I tried to couple the main categories of Site A with Site B by hand and consider all items of subcategories as item of the parent one.
This is sub optimal since some categories on Site B might be ordered differently (for example, there are subcategories like
"related" that basically links to other main categories. )
For the products, I just compare all names of the items with the Levenshtein algorithm and combine the products with higher ratio.
I am using Site A to define how to group products, with the bad result that I don't group all "Widget A" together, but instead I have pairs for "Widget A,red", "Widget A,blue", etc.
Has anyone an idea how to improve this?
Right now the only ideas I have are:
to create a big string with the product name and main item features
and use levenshtein again.
use Site B as main site to compare to.
I'm not an expert of AI, but I've seen algorithm that helps you define objects, but not one that pairs them.
I will probably need to write something that classify what is a feature of an item (red, 10cm). Maybe use the category name as well
(for example like: Site A : "Outdoor Widget for Water" and site B: Category: "outdoor", product: "Widget for water").
In case someone happens to read my question, I've finally built something using the cosine similarity.
see for example this:
Use sklearn to find string similarity between two texts with large group of documents
i am using Virtumart Version is : 2.6.12.2
If you see this link: http://uae.souq.com/ae-en/
It shows Each category at the Top & the Products will be shown next line Horizontally.
i.e:
1) Top selling Items.
---List of the items ....horizontally & at the End a link " Show All"
2) Mobiles
-----Selected mobiles from mobiles category....at the end in the most right hand side.."View All"
3)Laptops ...
4) Bags 5) shoes...etc
It will continue like this for all the major categories.
I'm trying to build a site with multiple categories and sub-categories in Joomla. The structure looks like this:
category 1
category 2
- category 3
- category 4
category 5
- category 6
- category 7
...
Each category has some articles.
What I want to do is create a navigation menu from these categories, so category 1,2,5 become top level links in the menu, while 3,4,6,7 become sub links in the corresponding dropdown list. (Update)And the articles under a category become sub links after the categories.
I've tried a few options:
Module Articles Category: It lays out all articles in a flat list without categories, not good
Module Articles Categories: It lays out all the sub-categories, but no articles
Menu item - List all categories: It gives the right result, but in a page accessed by clicking that menu item.
Menu item - single article: It's totally static and time consuming.
I'm wondering if there's a way of generating an ordinary normal navigation menu, like the ones you see in Amazon or ebay?
Why don't you create a menu structure that is similar to your category structure. So:
Menu 1 corresponds to category 1
Menu 2 corresponds to category 2
Menu 2.1 etc
You can then link each menu item through a category blog type menu item to the appropriate category. You can then configure how the articles should be displayed (multi-column, intro etc).
I'm using layered navigation for a category in my magento store.
But some products have multiple categories.
Say I have a category she. Again I have some other categories like t-shirt, cosmetics etc. A t-shirt may have both t-shirt and she categories. Again a cosmetics item may have both she and cosmetics categories. So when I'm displaying she category page, I want to show t-shirt and cosmetics categories in layered navigation. When user clicking on one of those categories (say t-shirt) it will show all the t-shirt which also fall in she category.
How to do this?
EDIT: Here one thing I need to make clear. she, t-shirt, cosmetics all are independent categories. none are sub category of another.
This is a Magento feature, if it doesn't work it's because you have deactivate something in your code that break this functionnality.
This should work as a normal filter with name = 'cat' and value = category ids.
Best Regards,
i'm creating a big online clothing shop using magento and i was wondering - is there any good solution to handle genders in magento? I need to be able to add products to Male or Female gender but also to some categories like pants, hats or jackets. Categories are the same for both genders so using Gender as top-level category and clothing-categories as gender sub-categories would be a bit redundant i think.
Any ideas or tips would be appreciated, thanks in advance!
I've seen Magento stores where Male/Female are the top level categories, and it works well because generally the first thing customers would like to do is see only Male/Female items.
Another alternative is to create a new "Select" attribute for gender (Catalog > Attributes > Manage Attributes) and set a gender for all products. Then you could set up top level categories for Jackets, etc and allow customers to filter by gender using the layered navigation.
Given your category tree is the same, and gender is equally appropriate as an attribute of a product as it is a category - it would make sense simply to use attributes to facilitate it. Otherwise you will have a needless duplication of category tree.
Using a multiple select attribute for "gender" with two options "Male/Female" - you would be able to have the 1 to many, 1 to 1 relationship that you need for the products.
Then it is just a case of adapting your menu to suit. You could easily just append
&gender=male
to your menu URL and it would pre-select the appropriate filter from the layered navigation.
The better way
Would be to add a custom extension to "shop by X", gender in your case - then customise your top nav to reflect the shop by Male/Female options. Then you would have cleaner SEO urls to capture keyword phrases for "Mens suit jackets" by having a landing page for such.
Planning this element of your store is critical and the implementation even more so, to make it both scalable and a positive shopping experience for your customer.