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 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 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;...
When I view my Open Cart theme on a mobile screen size I get the following error:     Notice: Undefined variable: text_toplinks in /home/content/76/11344876/html/shop/catalog/view/theme/cs-onestar/template/common/header.tpl on line 91   when I go int...
I'm neither a newbie nor a professional in jQuery.  I'm editing a jQuery code related to opencard checkout section. In this section there is Javascript file responsible to send data to the server.  I have encountered an AJAX request whose dat...
We are running Opencart 1.5.6.4 which uses the below code to add an item to cart.  <input type="button" value="<?php echo $button_cart; ?>" onclick="addToCart('<?php echo $product['product_id']; ?>')...
On my Opencart site I'm trying to create an email subscription form for first-time visiting users, that is built within a lightbox.   So I'm approaching this through the use of a HTML lightbox form setup (initially set to display:none;) on th...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.