Opencart how to visible all categories we have? - opencart

i want to need all the categories we have visible in some way, are there any possible extension that could be used?
website does here: https://www.amazon.co.uk/gp/site-directory/ref=nav_shopall_btn

Create a category then make all products children of it by changing the parent value in data tab of the categories. Make sure you make it visible by checking 'top'

Related

Hide category from navigation in bigcommerce

I created a new category in my bigcommerce store. Now, I need to hide a this category from every page in the "main" site navigation, so that you cannot get to the page that displays the products in that category unless you are given the link.
Then I need hide all the "main" site navigation from that new product page so that you cannot go to the "main" site unless you go directly to it.
I know this is code customization, but unsure where to start.
Can anyone guide me on where and what to do?
Thanks!
You would want to make this "hidden" category a subcategory of a parent that is hidden (from Products > Categories, click the green check to make it a red x).
Once this is done, it will be hidden from the menu navigation. From here, you would need to create a custom template file and set this "hidden" subcategory page to use the custom template with the reduced navigation.
Alyss's solution works, although it's worth giving a heads-up that when you try to unhide a subcategory — that's within a hidden parent category — BigCommerce will tell you that doing so will also unhide the parent category. You need to OK this, and on return to the category list re-hide the parent category alone. The subcategory will remain unhidden, and will function as described.

Open Cart - Categories

I've new to Open Cart and there's something I'm trying to accomplish. Basically, my header has main categories. When a user clicks a Category in the header, and is taken to the Category template, I want to list Brands and Styles in the Category sidebar, to narrow down their search.
However, Brand and Style aren't sub categories, since 1 brand could be part of many Categories. And they don't seem to fall into Options or Attributes either.
So what's the best way to pursue this? Does it make more sense to create a Category called "Brands", and make subcategories under that of the different brands? And same with Style? And then display those in the sidebar?
Or is there other functionality in Open Cart that I seem to be missing?
thanks!
I certainly wouldn't create dozens of sub categories. I believe your issue may be resolved with filters. I use them in the same method you described. My cats only go one level deep and then filters allow the user to narrow the results down.
Read more here: Product Filters
Nice extension which allows you to add ajax to those filters: Ajax Pagination and Filters

Joomla Category Home Pages

Is there any way in Joomla2.5 to create Home/Landing Pages (ie. "default") pages for each category.
For example, I would like the user to be able to go to www.somejoomlasite.com/category1 and see a default home page for category1, and a different home page for category2 and so on. Is there any way to achieve this? Could I create an article under each category and set it's alias as index? or will I get an error about having duplicate aliases (even though they are under different categories)?
Any help is greatly appreciated. Please let me know if I need to provide further info.
An alias has to be unique within a category. So you should be fine using the same alias in different categories.
You should be able to achieve a structure like you described with menu items for each category. And of course SEF needs to be turned on with rewrite enabled.
The menu items don't need to be visible on the page, you can also create a "hidden" menu. Just don't show the accompagning menu module.
These menu items can be anything: a category list of the articles, an article itself, a featured list of articles in a category or whatever you like.

How do I localize the names of menu items in Sitecore?

I'm creating localizations--in Spanish and Chinese--for a Sitecore site. The original language is English. I've learned how to create my language-specific versions of pages. But I don't know how to change the names of the the navigation items themselves. When I preview my pages in Spanish (http://content.example.com/?sc_lang=es), for example, the page content is in Spanish, but the navigation items themselves (e.g. Home, About, Products, etc.) are still in English. Where in the Content or Page editors do I fix that?
You need to modify the "display name" of the item in the Home ribbon. Be aware that this also affects the url of the item For the chosen language.
Edit: maybe I was too quick with my answer, I probably overread something cause my suggestion changes the Url (if you have the setting "useDisplayName=true" like jammykam corrected) and the name of the item in the content tree for the specific language.
If your the names displayed in the navigation is based on the Item names, then can do as I suggested, change the display item's name for the current language and make the code look at the display name inestead of the item name.
Another option is to use a separate field for the menu-title in case you want your titles to differ from your url's.
When you say the navigation items themselves are in still in English, what do you mean? As in, the menu running along the top of the page?
If so, then you need to figure out where in the content tree those items are and then add in the relevant language versions/translations, and make sure they are not "shared" content.
#Martijn, I believe it only affects the URL is you set "useDisplayName=true" in the linkManager setting in config.
We usually add a field called MenuTitle to the base content template and then instruct our navigation controls to read from that field
For menus, we generally use a different field for the page's title and the page's navigation title. This allows for a shorter version to be specified by the author for the menu.
Once you have that, you just need to make sure you build code in your header control to find the target item of the menu link (I assume it's a general link, or some other Item reference) and pull the target item's navigation title.
When the code does this, it should automatically pull the version of that target item based on the current language, which will mean you will get your navigation title in the correct language.

Displaying options and add to cart on category page - opencart

I am using Opencart v1.5.1.3.1
I want to be able to create a template which certain categories use. Cat1 would use the normal category.tpl file where cat2 would use category-cart.tpl
The category-cart.tpl would have extra functionality of displaying price options and an add to cart button which would normally only work on the products.tpl page.
I know that in order to make this happen I have to modify the category.php controller for category.tpl file.
The question is what do I change in the category.php controller to make this happen?
Add product with options to cart from category page http://www.opencart.com/index.php?route=extension/extension/info&extension_id=8649
You will need to make more changes than can be listed here, so you will need to familiarize yourself with the opencart framework to do what you want. As a starter if you look at the bottom of the category controller you will see what template is loaded. Do a search for template. You could put a if statement here that loads templates based on the value of the selected category.
You will then need to add more code to the controller which loads variables for price options and add to cart.
http://opencart-help.com/modifications/39-add-product-options-to-category-listing-in-opencart.html
Check the above link and you will find out how to show the options
It should then look like this
http://i38.tinypic.com/j7b60k.jpg