Magento Forum

how to insert multi select values in separate row on table? 
 
epvicky
Member
 
Total Posts:  59
Joined:  2011-07-28
 

Hi,

I have created the custom module for upload attachments to products. In that i have choosen the multiple products using multi select option and upload the file using file input field. Values of multiselect option and filename is inserted in database table like
(eg: 17,18,19,..  filename ).

But, How to insert the values as separate rows in table like
( eg:
17 filename
18 filename
19 filename ) can anyone please help me in this? Thanks in advance…

Regards,
epvicky

 
Magento Community Magento Community
Magento Community
Magento Community
 
tzyganu
Mentor
 
Avatar
Total Posts:  2205
Joined:  2009-11-18
Bucharest, Romania
 

Hello
You can try to build your extension using this: http://www.magentocommerce.com/magento-connect/catalog/product/view/id/15449/s/ultimate-modulecreator-8949/

You can create with it your custom entity (attachment) and link each attachment to as many products as you want.

Marius.

 
Magento Community Magento Community
Magento Community
Magento Community
 
epvicky
Member
 
Total Posts:  59
Joined:  2011-07-28
 
tzyganu - 04 January 2013 10:46 AM

Hello
You can try to build your extension using this: http://www.magentocommerce.com/magento-connect/catalog/product/view/id/15449/s/ultimate-modulecreator-8949/

You can create with it your custom entity (attachment) and link each attachment to as many products as you want.

Marius.

Hello

Thanks… Let me try this one…

epvicky

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top