Magento Display Dynamic Dropdown in Admin Insert Product Page - magento

I have one custom module which will insert data in to custom table. I want to use these custom value on admin product page as drop down.how can i do this.please suggest me.

Related

Add custom field in tier price in Magento

I have modified Magento tierprice set and customized the file:
app/design/adminhtml/default/default/catalog/product/edit/price/tier.phtml
Data from two new fields ("cost", "setupcost") is successfully showing in the tier page.
How do I insert the data into table catalog_product_entity_tier_price?
I want to save this data when product page save button clicked.

Add custom description to magento Attributes and display it on the front end

I have a site where I added some custom attributes and displayed in the frontend. Now I want add a description of the attributes and display it in the frontend in a tooltip or whatever.
I have checked this reference
Add custom property to magento Attributes and display it on the front end on stackoverflow. But its not clear in which particular page I have to use it. I don't want to use any plugin. Please refer me a solution with custom code.
When you Add a Custom Attribute to the products, it will stored in to the Magento system as EAV attribute. So you must look into the EAV structure. When you look into the table "eav_attribute" you can understand how the attributes are stored.
So, if you want to Add and manage the Tooltip Description for the Attributes, You must add one more column to the "eav_attribute" table. for this you must create a custom module to override the Magento core eav functionalities. By following the above link you can create the tooltip Description text for the attributes.

In magento admin how to create a custom field in add products page

In my Magento admin add products page, I need to create a custom input field as subtitle for the product name. While adding products in Magento, we already have fields such as Name, Description, Short Description and so on. Among this I need to create a new field as Title to get the simple name of products. How do I create this custom field in admin?
You have to create custom attribute for that .Follow this tutorial it may help you to create custom attribute. please have a look at a
http://www.magentocommerce.com/knowledge-base/entry/how-do-attributes-work-in-magento
and
http://www.magentocommerce.com/knowledge-base/entry/tutorial-creating-attributes-custom-fields
Find manage attributes, then add a new attribute. You can select its type. And then you can add this attribute to your attribute set. The attribute set which you are using, it may be default or any custom created. After adding you will find that attribute in your add Product page.

Magento : How to pass customer comments from product view page to cart page

I am new to magento.
I have to develop a module which allows the customer to enter comments in the product view page. This comment has to be further displayed in the cart and also in the order.Pls tell me how the comments entered by customer in a textarea in the product view page can be stored in the sales_flat_quote_item and can be further retrieved and displayed in the cart.
TIA.
You can use a text area custom option.
Magento Provide custom options, So you can add one custom options and field type text-area
Thus this custom option is display in your product page and if customer can fill in the comment area customer comment can display in your cart page and on in checkout page and in order details also.

Display products against attributes in magento

I am working on custom module in magento.
I create two new attributes (combo box) make and location. After that I add values for these attributes using custom code against specific product. Like I add make "Sony" and location is "Australia" against product 1 (1 is id for product).
Now on admin side i want to display this product with attributes values like make is Sony and location is Australia and product is 1.
I found some tables where these values are linked like (catalog_product_entity_int,eav_attribute,eav_attribute_option,eav_attribute_option_value), but I am unable to query such records. The page where I want to display data I have attribute id and attribute code.
Can anyone knows how I can figure it out?
Very simple Dude.
inside your _prepareCollection() method of your custom module grid
Load the product collection and select these two attribute... If there is a need to filter it by these two attributes then do it.

Resources