I am using magento 1.4.1.1 and I use the regular API to generate products through an external ERP program. I have some reasons to check 3 values in the products backend manually, that this ERP program can't do for me through the magento API. That means i have to go into each product to check those 3 check-boxes and only after that the products is ready to buy.
How can i pre-check those values so i don't have to to this anymore?
It's in the stockholding area of the product page.
What you could try is create a custom module with a observer that watch for newly added product
For list of product observer see
Magento Add New product event observer
For how to create a custom module Change Magento default status for duplicated products (change catalog_model_product_duplicate to value from link #1)
For how to set stock see Set default product values when adding new product in Magento 1.7
(most of my example was base of magento v1.7 so you may have to look to see if it is the same in v1.4.1)
At least in Magento 1.6 and up it's possible to set default values for product attributes on a separate page in the backend.
Catalog -> Attributes -> Manage Attributes (/admin/catalog_product_attribute/)
If you can't edit a specific attribute, you need to mark that attribute as "user-defined" in the database. Set the column eav_attribute.is_user_defined to '1' for the desire attribute to enable editing in the backend.
Related
My question may be duplicate but read carefully before voting down, as my problem is different.
I am developing a public module for opencart in which i want to add some attributes for all products. Attribute will be same for all type of products for all categories. Attribute may be select box, check box, text.
For example
1) Length - text box
2) Category - select box
As i want these in my module so don't want to modify core files, so is there any option available or how i can override product edit form to add more custom fields.
If i understand your question correct, you want "Attributes" for all products for all categories and don't want to override core files.
Then you can do it using 2 ways without overriding core files
1st - add attributes and groups form Opencart default then using that module, connect those attributes to products.
Every thing is game of entry in database table like when admin edit any product and want to add product attribute then what will he do, he will go to attribute tab and then select attributes and then save product means save attribute entry to database for that product that it, so you need to add those entries using your module for products.
2nd way - I will add attribute groups and attribute create entry in my module (if you want every thing in your module) and other part will be same like 1st way.
So next time when you edit any product then you will see these attributes selected in your product already.
Note
- admin can add attributes value form module or have to edit product for that, you have to manage that.
- how you manage duplicate entries for same attributes for product, you have to check that in your code
Magento version 1.9.1.0.
I've added attributes to a set. Some are applied to the simple product type and others to the configurable type.
When I create a new configurable product. I successfully got the correct attributes in the backend form. But once saved, the form renders only simple attributes on this configurable product.
The project is working on version 1.8.1.0. I've tried to disable all local modules but I keep getting this misconfiguration.
Database analysis show that all of SQL records are similar to the 1.8 database. No cache enabled. Cache folders cleaned.
Even a hint would be appreciated. Thanks !
Attributes that you selected to use for configurable product are not included within standard tabs while editing product.
Those attributes should be displayed on "Associated Products" tab of Edit product form for configurable product.
You should create simple products with different values of those (configurable) attributes and link them to your configurable product (creation as well as linking can be performed on mentioned tab).
I have created a warranty as a product in magento which has 2 custom checkbox options. This product (warranty) does not have any specific page so I would like to display both the custom options of a warranty products as checkbox when selected one of the custom option the product (warranty) also should get added to the cart. I want to display this addon product (warranty) only when the cart amount is larger then $2000. Is there any way to achieve this function without having to create a module. I have attached a screenshot below to illustrate the custom option.
without having to create a module.
No, there is not way to achieve this functionality without programming a custom module.
Hi i have downloadable products on my site, there is a required field (a checkbox) on the product page. The customer has to select the check-box every time before they can add to cart. I want to checkbox auto selected so the customer doesn't have to check it manually.
Any suggestions on how I can do this?
You can set "Links can be purchased separately" to No to remove the checkbox:
You'll get this:
This might not be desirable if you're just looking for a way to set a default instead of forcing it.
I assume the checkbox is from a product option? Magento does not support default values for them but there is an extension for it: Magento Configurable Product Default Options Extension
It is not free but in contrast to other solutions you find on the web it works without any modification to the core.
I have several hundred products in my Magento store, all of which have a very similar set of custom options. I used one product as a template, and copied its custom options to all of the other products so that all of the products currently have the same set of custom options.
I would like to disable or hide certain custom options for some products in my store without deleting the option completely. Right now, I only have the ability to delete an option for a product entirely. For example, some products cannot currently be ordered in different colors, but they might be later; I'd like to be able to disable the color option rather than delete it and re-add the entire list of colors later.
Does anyone have any similar experience who can provide me with some help with this problem? Thanks, I really appreciate the help!
Using custom options for attributes like "color" is not a correct approach for Magento. Magento has special product type - Configurable product for the catalog structure you're trying to achieve.
Here's benefits you'll get from using configurable product instead of custom options:
Automatic stock management. You won't need to enable-disable your custom options as soon as some physical item is out of stock - Magento will do it for you.
You won't have to copy all custom options to a new product you create. The attribute for the Attribute set this product belongs to will automatically be available for new entries.
You will have ability to filter your products by the color attribute on Category page using Layered Navigation.
Here's the guide how to create configurable product from the official Magento wiki.