Magento2 add additional field to Creditmemo - magento2.2

I need to add an extra date field in magento 2 creditmemo form and save in backend and display it in grid and view of creditmemo.
Can somebody help me in finding out some solution

Related

How To Create Multiple Attribute In Magento For Product Details Page

I want to create multiple attribute in magento for product details page because i have to show two things on the product details page and they are attribute first of all i have color swatches with the help of attribute i am showing on the product details page the next thing is the google map and each different product has a different google map how to show two attribute in magento product details page any help would be very appreciated
You would need to first create an attribute. Read here on a simple tutorial on how to do that.
To display any product attribute in magento you need the "Attribute Code". Lets say you make a attribute called "Gogole Map" with a Attribute Code "gmap". You would need to open the html for the product detail page which can be found
app/design/frontend/default/[your template]/template/catalog/product/view.phtml
and just add the following code to where you want to place
<?php echo $_product_getGmap();?>

Magento Product Attribute - Multiple Fields

We are making a new website with Magento and in that case I needed to create an attribute set which should contain multiple text fields. Problem is, when creating the attribute, I'm only allowed to insert 1 text field?
For us, in this situation, it would be perfect to have a button like 'Add text field' and it would add another row to echo out on our frontend.
The content of those text fields varies from product to product.
I've been searching, but can't seem to find anything.
Someone have an idea of what I should be searching for or start doing?
Thanks!

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.

Add hidden input to magento cart form and show it into admin/order

I need to add a hidden input to my cart form and show it ( if order is ok ) into order page in admin area, is it possible?
I try to follow this http://inchoo.net/ecommerce/magento/extending-order-object-and-hooking-on-event-in-magento/
but in 1.4.2 not work.. can someone help to to translate for 1.4.2?
You can use the checkout success page to retrieve the last order ID and add a comment onto it.

Resources