How to create a custom page in OpenCart

Create custom page in OpenCart Going to discuss about how to create custom page in opencart. Actually Opencart is built from MVC (Model View Controller).Opencart works on the flow of MVC.So, to create a custom page we must follow MVC pattern. M – Model -Load Model for query with database tables. V –View – View … Read more

how to display captcha image of product review in opencart

Display Captcha Image on Opencart Product Page Just change your function getcode() in captcha.php in system library file and you will get captcha image on product review form in opencart. If,still you are not getting captcha just delete your browser cache and cookies and you will get it successfully. It will display captcha image in … Read more

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 id got from database for particular attributes of seller from admin. If You want to … 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=’ + quantity,   2. modify the product or category list page template file Change this … Read more