Hide category from navigation in bigcommerce - customization

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.

Related

Custom Product.tpl with declination crash when select attribute and url change Prestashop 1.7

I have to create a custom page for only one product with declinations, so I have created "product-158.tpl" file with a new hook for a new module. (158 is the ID of the targeted product)
The page works well when the product is not to complicated to select, but if I need declinations as color or size, the new layout is replaced by classic product.tpl version and every customed things desapeared. The problem comes when the hidden "refresh" button is trigged and the "add-to-cart-or-refresh" form is submitted. If I erase the hidden button, I can select what I need to select, the cart recognise my order, I can buy the right declination, but If I click the "continue shopping" button, the same problem is displayed.
The problem comes when url change, maybe because of the new ID of the product, I really don't know. I'm searching from two month.
Thanks a lot to who will help me.
Why not park the base tpl, and call your hooks, and apply only changes that the product ID is 158?
Regards

cant assign any modules to category layout in Opencart 2

I have a Opencart 2.0.1.1 installed on my server with a few modules installed but I cant seem to assign them to the category layout.
for an example, I have a banner and I have assigned it to the category layout but it doesnt show. But when I assign it to any information page or home page it shows.
none of the a modules work for the category layout. There are no errors in the error log either
Can someone let me know what might causing this problem and how can I fix it?
I have the same problem with Version 2.3.0.2. Maybe you already solved it; but in case anyone else needs a solution I found a workaround: Create a new Categories Layout to which you assign your modules. Next, assign your new layout to each category by overriding the standard layout of each of your categories with the one you just created.
In case you need some directions, here's how to do this:
In the admin section go to Design > Layouts. Create a new layout for your category pages by clicking on the plus sign in the rop right of the screen (it says 'Add New' when you hover over it). The new screen will show a fresh layout; give it a unique name in the field 'Layout name'. Now click on the plus sign below the line that says 'Store' and 'Route'. This creates two empty fields in which you can fill in your store and route. Select the name for your store (mine is simply 'default') and in the route field enter 'product/category' (without the quote marks). Now assign the modules of your choice in this new layout. When you are done save the layout by hitting the save button in the top of the screen.The next step is that you assign your new categories layout to all your existing categories. Go to Catalog > Categories and open the first category on your list by hitting it's edit button. In the edit screen, go to the tab 'Design' and select your newly created layout in the dropdown list under 'Layout Override' . Hit the Save button and edit the next Category in the same manner. Go through the entire list and you are done. …That's it :)

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 to remove ID from URL in Joomla 2.5

I am trying to remove id from url in Joomla2.5.8.
so I tried to set a reference to the below URL.
http://developernote.com/2012/05/how-to-remove-id-from-url-in-joomla-2-5/
I succeeded to remove id like below.
joomla/index.php/aaaa/bbbb.html ≫ joomla/index.php/aaaa/bbbb/105-cccc.html
But Only displays a ”blank page”.
I don't know what was wrong.
Could you give me some advice?
-program development environment-
・joomla!2.5.8
・SEO setting
Search Engine Friendly URL Yes
use URL rewriting No
Adds Suffix to URL Yes(add .html)
UNICODE Aliases No
・htaccess
no setting
The problem is that most likely the article you are trying to link to does not have a corresponding menu item associated with it. The problem comes from itemID inheritance. When you don't have a specific menu item for an article, it then inherits the itemID from its parent category. By commenting out the lines in router.php, you are stopping this from happening so the article will not have an itemID and cause a 404 error. You either need to create a menu item directly to the item (which would eliminated the itemID to begin with) or you need to create a menu item for the parent category. In either case, you can put it in a new menu that is not displayed in any modules.

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