Magento - defaults when creating a product

kan Someone tell me if / how it can be predefined some defaults when creating a product.

Like: defaultclass, default "class" and "in stock".

Hope someone can help me.

Ik has magento 1.6.2 CE

+3


source to share


2 answers


Perhaps through config files.

Try it in app / etc / local.xml (or any config.xml in local / your_package / one_of_your_module / etc / config.xml:



<default>
    <cataloginventory>
        <item_options>
            <is_in_stock>1</is_in_stock>
        </item_options>
    </cataloginventory>
</default>

      

Not sure about tax_class_id and visibility, but you can try and go with config.xml to set or change the defaults.

+1


source


Have a look at Ian Baxter Blog Post: Setting Product Defaults in Magento



0


source







All Articles