45 votes

Magento2.1.0 showing error Required parameter 'theme_dir' was not passed while saving product in admin

This error appears when you remove a template folder, which is still referenced in the database. The simplest way to fix it is, go to the database, and in table 'theme', find the theme name which does ...
Vu Anh's user avatar
  • 1,036
13 votes

How to create a product in Magento with Multiple sizes

The official Magento 2 user guide contains a chapter Creating Products which explains the different product types and how to create them. What you need is a Configurable Product. The configurable ...
Fabian Schmengler's user avatar
11 votes

Magento2.1.0 showing error Required parameter 'theme_dir' was not passed while saving product in admin

I can confirm that the answer by Vu Anh works. Here's an explanation why this happens when products are saved, although the deleted theme is used nowhere: After saving a product, the image cache is ...
Fabian Schmengler's user avatar
7 votes

Mass delete disabled products with SQL

I would actually try to do it via SQL because in Magento, relations are done with foreign keys and ON DELETE CASCADE, so that you don't end up with dead data. However, before such an action, always ...
Fabian Schmengler's user avatar
7 votes
Accepted

How can I skip queue messages and display action happend message in magento2.3?

In 2.3 queues were added for product mass updates. You would need to run the consumer for product_action_attribute.update for it to process the updates. In your case it would be bin/magento queue:...
André Ferraz's user avatar
4 votes

Magento does not display all imported products within the categories

Possible causes for products that do not appear on the frontend (I include those that you already ruled out for sake of completeness): the products' "visibility" attribute might be set to "Not ...
Fabian Schmengler's user avatar
4 votes

Product Type is invalid or not supported even when uploading the CSV magento exported

When exporting products in Magento, "Bundle" and "Downloadable" products can't be re-imported using the default importer (Or data flow) so these could be what is throwing the error message. If you are ...
Matt Antley's user avatar
  • 1,190
3 votes

Magento2.1.0 showing error Required parameter 'theme_dir' was not passed while saving product in admin

I have the same error Required parameter 'theme_dir' was not passed. I work with 2.1.0 from the beginning, not with updating. And I have one custom product attribute "style". The problem occurs when ...
Galina's user avatar
  • 169
3 votes

Magento - Add / Remove Attributes to Existing Configurable Products

To remove one super product attribute (as they are called) from all configurable products, you could execute this SQL query in the database: DELETE FROM catalog_product_super_attribute WHERE ...
Abhinav Singh's user avatar
3 votes

Magento easy way to show out of stock in configurable product (greyed out)

@Marius's answer was correct until version 1.9.3, since then the function getAllowProducts() at app/code/core/Mage/Catalog/Block/Product/View/Type/Configurable.php has added the verification of ...
Mateus Neves's user avatar
3 votes

Different default value of an attribute in different attribute sets

Interesting question. With default Magento, you can't. But there are ways. I'd recommend creating an extension that listens to the catalog_product_save_before event in the adminhtml scope. Create the ...
Peter Jaap Blaakmeer's user avatar
3 votes

Fastest way to update an attribute in all products

Further to Fabian's answer above, you can update multiple fields at a time. The example below has just 2 (in stock, stock status), but you can use as many as you want. $product_ids = Mage::...
Silas Palmer's user avatar
2 votes

Magento category tree not showing all sub categories when adding a new product

I also ran into this situation. The problem was in the negative value of the field "children_count" in the table "catalog_category_entity".
CrazyCat's user avatar
2 votes

Bulk update products to include new websites

Another solution if your laziness goes to the point of not wanting to create any PHP files: INSERT IGNORE INTO catalog_product_website SELECT entity_id, {website_id} FROM catalog_product_entity ...
Shadoweb's user avatar
  • 523
2 votes

Grouped quantity

Use bundled product instead of grouped product, and create it with dynamic pricing like this: Option A: Type "Checkbox", Required Selection: ProductA, Default Qty 100 Option B: Type "Checkbox", ...
Fabian Schmengler's user avatar
2 votes

Different default value of an attribute in different attribute sets

I would create an observer for catalog_product_save_before, which is triggered the first time, when this form is submitted: which saves the product with id, type and attribute set and redirects you ...
Fabian Schmengler's user avatar
2 votes

Programatically set visibility to "Not visible individually" for other store views

Not possible by default, no. You could try to write an observer for catalog_product_prepare_save, which is dispatched from the product save controller and receives the parameters product and request. ...
Fabian Schmengler's user avatar
2 votes

Is it possible to create a configurable product with bundle product types?

It's not possible to use bundle products as simple products inside a configurable product. In your case, I would try to find another way of selecting frequency. Since you don't need separate ...
Fabian Schmengler's user avatar
2 votes

Mass delete disabled products with SQL

Direct SQL way (backup your database first). Based on Fabian's answer, but this one actually works. DELETE e FROM catalog_product_entity e INNER JOIN catalog_product_entity_int v ON v.entity_id=e....
Silas Palmer's user avatar
2 votes

Reindex single product

Besides @feversocial's answer also make sure that you have everything that is needed to be loaded on the product before calling $product->save() . Otherwise the saving can actually remove things from ...
OZZIE's user avatar
  • 552
2 votes

magento special price still showing after expiration, reindexed, flushed, special date & price removed, still

If special prices are only applied via "special price", "special price from date" and "special price to date" attributes, make sure that you did not override the attributes per store view. Also, as ...
Fabian Schmengler's user avatar
2 votes

Disable Product vs. Remove Product From Website

I believe that if you remove a product from being assigned to one website, it will cease to exist for that website. However, if you disable it, it won't be available for sale, but will still show up ...
Linda Wilson Wall's user avatar
2 votes
Accepted

How to create a copy of catalog-> manage products in a new menu?

you are missing after="Mage_Adminhtml" in config.xml <admin> <routers> <adminhtml> <args> <modules> ...
Qaisar Satti's user avatar
  • 32.4k
2 votes

Cannot delete products in magento 2 admin. Catalog > Products: Grid

Try reindexing php bin/magento indexer:reindex
jawaria's user avatar
  • 41
2 votes

How can I skip queue messages and display action happend message in magento2.3?

Thanks for the hint. I am experiencing the same issue. Is it so, that after each bulk update, we now need to run bin/magento queue:consumers:start product_action_attribute.updatevia Composer in order ...
Ben's user avatar
  • 121
1 vote
Accepted

ACL problem on new mass action in product grid 1.9

There was a missing _isAllowed method in the controller. Since the controller extends the Mage_Adminhtml_Controller_Action I had to override the _isAllowed method in this way: protected function ...
giani.sim's user avatar
  • 1,463
1 vote
Accepted

Can't remove product image because "This is a required field."

The question is not very precise but the message has most likely nothing to do with the image you try to delete. If you try to save a product with a missing required attribute, for example after you ...
Fabian Schmengler's user avatar
1 vote

How to properly create product variations for configurable products

The Attribute set for the "Simple Products" must match the Attribute set for the "Configurable Product" in order to connect them.
H. Ferrence's user avatar
  • 1,021
1 vote

How to properly create product variations for configurable products

Unfortunately the message is not very helpful and does not highlight which variation and which fields are invalid. I don't see what's wrong from the screenshot. The weight is missing but that should ...
Fabian Schmengler's user avatar
1 vote

How to create a product in Magento with Multiple sizes

There are 2 options You can create simple product with custom options Configurable product
Suman-PHP4U's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible