I want to replace add to cart with 2 buttons that are plus and minus in OpenCart 2.0.1.1, Now i am unable to code for minus button properly. I have added plus and mius button in catalog/view/theme/*/template/module/featured.tpl and make call in catal...
My cart appears to be working except the product options. When I click add cart button then the item gets added, but no options are added with it. I really don't understand why this is happening as I have submitted the options as an array just as...
I have OpenCart application. Javascripts are loaded in settings.php inside path '/catalog/controller//settings.php with similar codes as:   $this->document->addScript('catalog/view/theme/<theme>/lib/lazy/jquery.lazy.1.6.min.js'...
I'm new to OpenCart and don't have any experience with PHP, so I have a question. I want to add the following JavaScript to hide the url bar on mobile browsers  // When ready...  window.addEventListener("load",function() {  // Set a t...
I minim experience in ajax so i just try my best.  I using Opencart Version 1.5.5.1  And I try build ajax for result data  Eg (select title,description,date from menu where menu_id ='1') or (select *).  In my case i using combobox for trigger...
<file path="catalog/view/javascript/common.js"> <operation>   <search><![CDATA['add': function(product_id, quantity) {]]></search>   <add position="replace">     <![CDATA['add': f...
Recently I was learning opencart develop,I found a weird thing. We know the "add to cart" in product info page is using Ajax,and below the js code:  $('#button-cart').bind('click', function () {     $.ajax({         url: '...
I am trying to implement the cart in the header to update it's price / items when I add an item to the cart  My html:  <div id="cart"> <p class="phone">01234 567890</p> <div class="basket">  <p c...
I edited my checkout/cart.tpl and initially everything looks fine, but then when I "add cart" something the code changes automatically and everything be strange.  EXAMPLES  1- when I enter in website and look to cart, everything looks fine:...
I have OpenCart 1.5.6. Inside the product page, a javascript count.js is attached to the text area  counter = function() {     var value = $('#bob').val();     if (value.length == 0) {         $('#wordCount').html(o);         return;...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.