jquery - Magento : Add text fields to selected multiselect options -
jquery - Magento : Add text fields to selected multiselect options -
i have multiselect attribute, marks. have added subjects as
sub1 sub2 sub3 sub4
as options it.
the problem is, in admin panel, when user select sub 1, sub 2 options particular product, need field nearby come in % of marks.
marks different different products, can't set them in labels of marks attribute
consider have huge number of subjects
what require in backend, when sub 1, sub 2 selected
sub1 -> 87% sub2 -> 52%
if ajax, happy, adjustable comes in button click...
please help me... in advance :)
magento not back upwards out of box. may need create custom template attribute can add together javascript adds new text field each time select value multiselect , save values serialized in database. here example of how can create attribute custom template. it's kind of long replicate in here. main thought create custom backend model attribute serialize values on save , unserialize them on load, , custom rendered display multiselect , fields each value in admin ui.
jquery magento e-commerce php
Comments
Post a Comment