I have a Magento Multi-Store installation.
I have a product that must be enabled in shopA and disabled in shopB
If i select the tab "Websites" there is an alert
"Items that you don't want to show in the catalog or search results should have status 'Disabled' in the desired store." so probably it is possible?
The default value status of the product is "enabled"
Then i select the store view of shopB and disabled the product status.
Now the status of the product in shopA is also disabled.
Is it possible to set the product status in shopA to enabled en in shopB to disabled?
The manual said:
"The Product Status has a Website scope, meaning that you can hide or show a product per Website, affecting all store views for that Website. "
source:
http://www.magentocommerce.com/wiki/3_-_store_setup_and_management/catalog/how_the_store_view_affects_categories_and_products
The question is: Is it possible to change the product status per store view without affecting other store views
You have got your cache cleared, indexes rebuilt and so forth?
Otherwise you are correct.
Since you are saying that your store is only a multi-store, so I don't think you will see a "Websites" tab, in that product's details page. So, you have only one way to make this product enabled in "Shop A" & disabled in "Shop B".
In the product's details page, Magento loads the "General" tab, in which you will see the "Status" field.
Now, in the left side, above the "General" tab, you will find a dropdown field for "Choose Store View:". If you click on the dropdown, you will see a list of all your store views available under each Website & Store.
Now select the "Shop B" in that dropdown. Magento will ask you that it will erase any unsaved data from the current view in Admin, if you have changed any data, without saving it. Without worrying on this part, click the "OK" button of that dialog box, & Magento will then load the "Shop B" store view of that same product.
Here beside the "Status" field, you will find a checkbox. Make sure that it's not checked. Now change the value of the "Status" dropdown to "Disabled" & save the changes.
Now go to the front-end of your "Shop B" store view & you shouldn't be able to see this product again. But it will also be active in the "Shop A" store view.
Hope it helps.
So many years withouth proper answer.
I have no idea why but magento doesn't offer the posibility to change status scope to store view. Found a workaround.
Find the attribute in catalog_eav_attribute and change it's is_global value to 0 - this means store view and works perfectly as it should in the first place :)
Now it's filling only selected view value in catalog_product_entity_int table instead of all views in the website scope.
the "Status" attribute in the product page detail is valid for Website and not for store!
bye
Related
Here's the super product attributes for a configurable product in Magento:
I'd really like all the "Use Default Value" checkboxes to be unticked for all store views all the time, like the bottom one in the screenshot.
I've written some code to change the price for all of these options programmatically in a store view, but this doesn't do anything on the front end if "Use Default Value" is ticked in the backend. Having some code that unticks this box would save me going back over all the configurable products (and all the store views) to untick them manually, and would prevent mistakes in the future with new products.
I can't see where this is managed in the database though, and I can't find any code to manage this checkbox. Can you help?
When changing attribute values programmatically setting the store id and attribute value should work. The Use Default Vaule checkbox will be unticked for the specified store.
To set it back to use the default value setData('attribute_code', null) can be used.
This is my product description page.
In the dropdown of color there is a list.i want this list (red,green,blue) in my product listing page.
thats here:-
How to get the value of configurable products in product listing page?
Thanks in advance,
Go to Magento admin panel. Then, go to Manage Product under Catalog Menu.
Click on you product. Then, it will show product detail.
You will see Custom Option on Left Menu. Click on this
Click on Add New Option
After that, type display name on Title eg. Color
Choose Drop-Down on Input Type
New Box appear. So, you can add Red on Title. Then, click to Add New Row. You should add 3 row based on your requirement. Then, save.
If you don't see any thing on front-end UI, Clear Cache and ReIndex Manage again.
Hope this help
I have 1 magento installation with 2 websites. i want to set a subcategory from website 1 as rootcategory of website 2.
and i don't know the id of the category, because this is local and has to work on production with other categories. So i can't set the id of the wanted category in code.
it must be adjustable in the backend.
in system->manage stores-> select a store
here you can set the rootcategory but there are no subcategories available.
is the only solution to build a module to select the id of the category?
copy
app/code/core/Mage/Catalog/Model/Resource/Category/Collection.php
to
app/code/local/Mage/Catalog/Model/Resource/Category/Collection.php
update around line 414
$this->addLevelFilter(1);
to
$this->addLevelFilter(2);
What this will do is when you go into System -> Manage Stores and click on the Store Name.
It lets you set the Root Category. This dropdown will now not only display the root categories but also the level 2 categories. It's perfectly fine to use a subcategory as the root category in a certain store.
This is really beneficial if you're running a corporate site and then a bunch of branded sub-sites but you don't want to manage a million different duplicate categories.
I understand what it is you're trying to do but not why. Are you trying to display specific categories for each Store View? You don't have to worry about Root Category to solve this.
I'll assume you're using a newer version of Magento Community Edition 1.5+.
Leave the category for both Store Views set to the same Root Category
(default is Default Category)
Go to Catalog > Manage Categories.
For each website you will need to enable/disable each subcategory to
build a custom catalog from the Root Category.
Above the category listings you can switch which Store View you need to customize. Leave this set as "All Store Views" and customize which subcategories you want or don't want for Website 1.
To do this just click on the specific category > General Information tab and set the Is Active to Yes or No. Disabled categories will grey out.
Once completed switch to the Store View of the other website "Website 2" and select a category that will be different than the default.
Now, to the right of the various fields you will see a checkbox (checked by default) labeled Use Default Value.
Uncheck the Use Default Value checkbox beside the Is Active field and toggle it to yes/no.
Save Category.
Now when you view each store you will see that the catalog is different.
Does this solve your issue?
I want to add information in the additional information tab of the product page, but can't figure out from where it picks the data.
Check out the product attributes in the backend. You can configure existing and/or new product attributes and make them (optionally) show up in this section. Make sure the attributes have "Visible on Product View Page on Front-end" set to Yes.
1)First create the attribute as per your requirement
2)Assign this to default attribute set then save.
3)go to attribute and make visible(from drop down) your recently created attribute.
4)fill some value in the attribute(you created) for your selected product .
5)Again go to the attributes select your attribute then select yes or no to " Visible on Product View Page on Front-end " and "Used in Product Listing" depending your need.
If you need more help please inform..
I have gone to admin -> manage product -> product information page -> related products
Then I added a product that is related, and saved.
I went to that product and refreshed the page, but nothing changed. Why not?
Also, be sure to check that the product you're trying to see in 'Related Products' is not already in your cart. Magento has a default filter applied that removes items in the cart from the related products collection.
Solution:
Login to Admin
Go to System -> Index Management
Select All checkboxes
Select 'Reindex Data' from Actions selection list
Click Submit button
Reference: Magento Up-sells Cross-sells and Related products are not showing up
Related Products appear in product info page, in the right column.
Cross Sell items appear in the shopping cart.
Upsells for this product are items that your customers would ideally buy instead of the product they’re viewing.These appear on the product info page underneath the product description.
As a result, I understand that you would show products bottom of the product info page, you should choose upsells instead of related products.
If you want related products ( which I can misunderstanding you ) do following things :
Check related product status is enabled.
Check visibility status set "Catalog" or "Catalog Search"
If everything is fine, check the inventory of related products.Stock should be greater than 0.
Last thing, related products must be include a category. Click "categories" link to check and see if the product added in a category.
Click on the "Reset Filter" button on top of the related product listing. It will list all products in table. Or you can clear cache + reindex data.
I had the same issue. After some time ago, I found that the products are not made to be visible in the visibility section, and that the products are not set to be in any website.
Hope this is the answer, and should be, because if you set up everything right there is nothing that can make problems.
Make sure the product and related product are under the same website. This isn't apparent when adding the relating products.
One possible pitfall you can run into is that you use a template without a right column. In that case you have to use unsetChild and insert to move the related product block.