How to generate downloading link using custom option ID for various products that are available on website for Magento? -
i want fetch custom option id magento product generate different downloadable link in magento.
i have 3 custom options in 1 product.
option 1: free
option 2: paid
option 3: both
if select option 1 allow me download free version of module. if select option 2 allow me download paid version of module. on..
thus, want add different download link different options, on click proceed checkout according specific custom option selected.
i've implemented similar (see here)
<div class="styled-select"> <select name="options[22]"> <option value="57">sa postal (free)</option> <option value="56">registered mail (+ r22 pm)</option> <option value="53">door door (+ r30 pm)</option> </select> </div>
now go admin panel (back end) , select catalog -> manage product. select product making custom links for. go custom options. find if 'inspect element' or view page's source code:
<tr id="product_option_22_select_53"><td><input type="hidden" name="product[options][22][values][53][option_type_id]" value="53">
you see have match these values. options[22] option , 53 value 'delivery type' , 'door door' in case.
just @ product page see how form on product page looks (catalog/product/view) , take @ product options while you're @ it.
Comments
Post a Comment