custom account product form for vendor or seller in opencart to add products

public_html/domain.com/catalog/view/theme/default/template/multiseller/account-product.form.tpl if You want to create custom dropdown just create from admin mulltimerchant and disable it from admin and got its id value from database for particular attributes and pass them to name of dropdown mean(select) like select name=”product_attributes[16]” 16…

Read More

how to add/remove input field dynamically

JAVASCRIPT $(document).ready(function() { var max_fields = 10; //maximum input boxes allowed var wrapper = $(“.input_fields_wrap”); //Fields wrapper var add_button = $(“.add_field_button”); //Add button ID var x = 1; //initlal text box count $(add_button).click(function(e){ //on add input button click e.preventDefault(); if(x…

Read More

how to change second drop down list on change of first drop down list option

HTML <select name=”select11″ id=”select11″> <option value=”1″>Fruits</option> <option value=”2″>Animals</option> <option value=”3″>Birds</option> <option value=”4″>Cars</option> </select> <select name=”select12″ id=”select12″> <option value=”1″>Litchi</option> <option value=”1″>Mango</option> <option value=”1″>Orange</option> <option value=”2″>Lion</option> <option value=”2″>Fox</option> <option value=”2″>Bear</option> <option value=”3″>Parrot</option> <option value=”3″>Hawk</option> <option value=”4″>Maruti</option> </select> JAVASCRIPT $(“#select11”).change(function() { if($(this).data(‘options’) ==…

Read More

how to calculate value of two textfield and display its sum in third textfield autmotatically

hi,friends i want to show the trick of how to calculate the value of two text-field and got its sum in third text-field automatically and show sum when we type some value in second text-field. JAVASCRIPT <script> function sum() { var…

Read More