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 quantity box on product list page in opencart

1. Modify the add to cart function in Catalog/view/javascript/common.js   function addToCart(product_id, el) { if ($(el).parent().children(‘input[name=”quantity”]’).val() != ‘undefined’) { quantity = $(el).parent().children(‘input[name=”quantity”]’).val(); } else { quantity = 1; } $.ajax({ url: ‘index.php?route=checkout/cart/update’, type: ‘post’, data: ‘product_id=’ + product_id + ‘&quantity=’…

Read More