Magento, hidden products /store view - magento

i have to insert in my store some new products, and i'd like to keep them hidden for users until i have uploaded them all and checked that is all ok.
I think that a hidden store view could be a good solution, but i don't know how to do it. Is possible ? any other solutions ?
thanks!

You can create a new store view by going to System -> Manage Stores. However, you will need to create a new Store Name to be able to assign a different top level category.
Alternatively, create your different Store View and add the new category to the existing structure, setting Is Active to No in Manage Categories. Then choose the new Store View from the dropdown in the top left on the category page, choose the new view, and change Is Active to Yes for that view only.
Does that give you enough of what you need?
Remember, different views and names can be given the same theme too.

Related

Duplicate Magento Store View

I have a Magento with many Store Views, one for every language.
Every Store View has custom settings (preferences, attribute and categories translations...) that differs from the default store values.
If I create a new Store View, the newly one uses the the default attributes.
Is there a mode from backend / programatically / via extension to duplicate an existing Store View, so all values like system preferences, translations of attributes and categories, CMS pages... has the duplicated store view values instead of the default one?
Store views are supposed to be used only if you want a different language but all other remains same. If you want some difference across stores then created a store and not a store view.Associate language to that store

Magento - Working with multiselect and Store view

I'm developing a new module for Magento and I need to use the Store View (like in CMS/pages or CMS/blocks).
Thanks to answer of Gergely Varga (magento multiselect insert database) I can now save the new item and automatically Magento saves the stores in the other table (I have 2, one for the item and one with the id of my item and the id of the store).
Now I have 3 problems or more:
1 - Grid.php doesn't show the stores that Magento saved in the stores table.
2 - If I try to modify an item, it doesn't load-show the stores that Magento saved when I created the item.
3 - I can't use the search with the Store view (I don't really care about this one).
Then, what is the problem? I followed the answer of Gergely Varga and I can't see anything different in the code of the CMS/page or CMS/block.
EDIT:
Do you want me to rewrite it or something? I really need help with this, is so frustrating...
The thing is that I am creating a module to add and manage banners. When I create a banner I need to asociate it to some parts of the web using the Store View multiselect. Now, thanks to that post (magento multiselect insert database), it's working, but when I am in the banners manage page, the store view column is not working (it doesn't shows anything). When I want to modify a banner, the same thing, it doesn't show the asociated Store Views.
Thanks, regards.
Now it's all working (the search is not working if you want to use the Store Views field, but I don't care about that).
I don't really know how have I fix all that, but it's working. I think that I had some problems in the models.

Site, Store, View. product visibility

I have searched and searched and can’t seem to find much on this that helps me out , so I have given up and decided to post. What I am looking for is to have:
4 different web stores all with only one associated view.
The aim is that each of these different stores will be maintained by different people. The products in one store will not be viewable in another store, etc.
To top it all off I would like to have a 5th store that has the ability to show all of the products from all stores and which store they are from. eg if you browse the catalog in this store you will be shown the catalogues from all the 4 other stores combined.
I thought I had it, but I don’t seem to be able to. If someone can point me in the right direction here for how to set this up, I am open to purchasing an extension if it is required…
Any help appreciated.
Cheers,
4 different web stores all with only one associated view.
The aim is that each of these different stores will be maintained by different people. The products in one store will not be viewable in another store, etc.
You create one website then 4 stores (e.g. English, French, German, Italian) for each store you create only one store view, you define a top category (e.g. Top Category English, top Category French, etc) in each store (not store view).
See in backend System > Manage Stores.
You set your products inside of a subcategory of the top category wished. E.g. you want a product only in the French Store, you set this product in a subcategory of the Top Category French. You can set the category in the Product Edit Page, in the tab "Category" or in the Category Edit Page itself
To top it all off I would like to have a 5th store that has the ability to show all of the products from all stores and which store they are from. eg if you browse the catalog in this store you will be shown the catalogues from all the 4 other stores combined.
The only way I see now is that you have to create a 5th store with a new top category and you set all of your products into this Top category too. You will have your products for example in the Top Category English + in the Top Category 5th Store. You set the product in this 5th top category in the same way as my previous paragraph.
The drawbacks with this solution, you can only display a product in one language. It will be the default one. The products management will be difficult too if you have a big catalog.
Maybe a module exists for that but I don't think.
You have to know that the search is global and search per Website and not per store.

Magento: Different products in the different store views under the same store?

I have multi website, multi stored Magento shop, and I have a need to make some products available in one store_view, but not available in the other, where both store_views are part of the same store and website.
All my products are configurable with simple products attached to them. Only way I could think of solving this is registering a new product attribute through which I control where each product goes. That works great for the catalog and lists of products, but I have huge problems with single product view and choosing the configurable product options.
I can't seem to find where in Magento core those option are generated, so I could override that and strict some options for each store view. Basically, I need to know where is this
generated. My last resort would be managing this through AJAX, but there is already a lot of AJAX code and calls in that page that it would be confusing.
Any help or tip would be very appreciated.
I am pretty sure that the way above is not working because the attribute enable/disable product has impact at website level and not store or store view!
So if you do like tomakun says the product will be disabled at the whole website and not just for the store view you choose first!
I have the same problem that I want to assign different products all to one website but to different stores.
So far I just found the solution above to change the visibility at store view level.
But I think this not the optimal solution. It should be possible to disable a product on store level!
This feature is already available by default in Magento.
For bulk enabling/disabling products for a particular store view, do the following:
Go to your Catalog > Products
Select a store view above the product list.
You are now viewing all products included in THIS store view.
Once you have the correct store view selected, select the products you want to Enable or Disable using the checkbox on the left.
Now, using the Actions dropdown menu on top right of the product list, choose 'Change Status', select 'Disabled' or 'Enabled' and hit the Submit button.
Doing this will Enable or Disable the selected products from the selected store view (step 2). This is good for bulk actions but you can also do the same for all products one by one:
Open your product, select the relevant store view on top left of the page. Then in the General Tab, you have status: Enabled or Disabled. Choose the option that you want to apply for the current store view and hit Save.
That's it!

How can you change category position per store view

Has anyone been able to change the position of categories per store view in Magento? I haven't looked yet at the code on how the position gets set, but I know you set the position through the admin site with the category tree. You currently out of the box can't change this tree for different websites or store views. I tried changing the attributes is_global column in the database to the store view number, but that didn't work when I tried changing it per store view. I am assuming the code on the backend doesn't have the logic to look for what store view it is and assign it since they have it marked as global and don't give you the option to change it.
I have two websites that have similar hierarchies and it is going to make sense to use the same root catalog rather then duplicating so much of the tree and having to assign the products to both. Ideally being able to change the position through the admin would be best so that in the future the client can move a category without having to touch any code.
It is impossible.
Category entity has attribute 'position' which is actually static (it means that the attribute is in the main catalog_category_entity table). Also we have 'path' column in the main table for defining categories relation.
This two column is the base for category position.
About attributes: Did you tried to change values per attribute in the catalog_eav_attribute? Column 'position' in this table used for layered navigation on the frontend (but this attribute is deprecated).
So, on my point of view only with customization we can change this logic.
Feel free to ask questions.

Resources