Skip to main content
13 events
when toggle format what by license comment
Nov 9, 2017 at 14:04 comment added Ramesh KR Thanks a lot Sachin. It working perfectly. you saved my day. And finally I need a small help. I need to add this cashback value to customer entity if the transaction is successful. I hope you'll help me.
Nov 9, 2017 at 8:57 comment added Ramesh KR I'll do it sure
Nov 9, 2017 at 8:46 comment added Yogesh Agarwal You must be doing something wrong man!!! Please try to everything again step by step. Its quite simple.
Nov 9, 2017 at 8:43 comment added Ramesh KR Searching for attribute id in catalog_product_entity_text there is no results found
Nov 9, 2017 at 8:40 comment added Yogesh Agarwal Your attribute value would be in the catalog_product_entity_text table.. please do not look into the varchar table.. Its working good at my end.. when I save product with value 20 it shows me 20 as it should be.
Nov 9, 2017 at 5:28 comment added Ramesh KR Thanks a lot @sachin. I have entity_id and attribute_id matches in catalog_product_entity_varchar table. But the value saved is 'one', I saved the value 20 on admin dashboard. After clicking on save button on admin product edit page I reloads but the value on text box is empty.
Nov 9, 2017 at 5:01 comment added Yogesh Agarwal @RameshKR FIrst get the entity_id of the product you saved last with the cashback value. then get the attribute_id of the cashback attribute from the eav_attribute table.. Then try to find the record by searching these two values in the catalog_product_entity_text or catalog_product_entity_varchar tables.
Nov 9, 2017 at 4:45 comment added Ramesh KR Thanks Sachin Agarwal. Cashback attribute code is updated in db. I have a text box in magento product edit page. I need to save the value given in the text box into the db. After entering data into text box and giving save it's not saving the value. For example if I give 10 in the text box in have to save. This is my logic. Pls help I searched lot of tutorials but I'm a beginner.
Nov 9, 2017 at 4:42 comment added Yogesh Agarwal @RameshKR FYI: eav_attribute doesn't have a new column. it has new record (Row) for you attribute.
Nov 8, 2017 at 10:15 comment added Ramesh KR also no column like cashback found in eav_attribute tabel
Nov 8, 2017 at 9:40 comment added Yogesh Agarwal @RameshKR You don't need to add a new column in the catalog_product_entity table. The eav_attribute table must a record for this cashback record. So catalog_product_entity_varchar table will store the value of this cashback attribute with the attribute_id which you ca find in the eav_attribute table.
Nov 8, 2017 at 8:45 comment added Ramesh KR thanks @Sachin Agarwal above code not added column in eav_attribute table. I need your help. I added new textbox named 'cashback' in adminpanel. Now I need to add the entered value in the text box to the new column in catalog_product_entity table. Pls help me.
Nov 8, 2017 at 8:23 history answered Yogesh Agarwal CC BY-SA 3.0