Add custom field in tier price in Magento - 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.

Related

How to add customer select table for custom admin page. I need to open custom page when click on a customer data row

Screenshot of the table
I need to add this kind of table to new admin page and when click on a row it should open a new page.
[Screenshot of the table

Add custom text to each product in cart - Magento 1.9X

how can I attach a custom text to a product which will be added into the cart along with the product itself when adding it to cart and furthermore being passed through the whole order process like in order page in back office or on pdf invoices and so on??
Ex :
When customer is on my product page he has the opportunity to
"customize" the product with the help of a configuration wizard I
have built with javascript/jquery.
List item At the end of this process customer can add customized
product to cart which now has a custom price and a custom
"order text" for me as the shop-owner to get all the customization
information
When clicking on add-to-cart-button
product is added to cart with new custom price and custom text
Please note that my custom text is not entered by customer. Instead it's gonna be generated by programmatically.
1- make a text or textarea in custom options according to your need.
2- hide it by title
3- put your calculated information into that text field or text area using client side script before adding product into cart.
4- then you will be able to get that information in cart order overview and order details in frontend/backend.

filtering and searching not working in magento 2 custom grid in product edit page

i have created one custom grid as new tab in product edit page.data is displaying in grid form.searching or sorting is not working there.if i put
$this->setUseAjax(false);
then every time total product page is reloading.if i put ajax as true giving ajax error.so what we have to define in grid if we writing that as custom tab in product admin

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.

Magento Display Dynamic Dropdown in Admin Insert Product Page

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.

Resources