Posts

Creating full width (100% ) container inside fixed width container.

Image
For Making a full width containers (which spans 100% of window) inside a container which has a fixed width and aligned center like below picuture. I used following css now its done .box_short { position: relative; width: 100vw; left: 50%; margin-left: -50vw; } for deep knowledge you can follow this link http://jsfiddle.net/m1L6pfwm/2/

Fatal error: Call to a member function getCimOrderSuccesfulResponse() on a non-object in Opencart Authorize.net CIM payment method error

Hi I was getting error in Authorize.net CIM payment method in Opencart admin in Order View page. so I fixed it by following these two steps 1. In file Admin-> controller-> extension-> authorizenet_cim.php I replaced this line  model_payment_authorizenet_cim to  model_extension_payment_authorizenet_cim 2. In file Admin-> model->extension->payment->authorizenet_cim.php I replaced the class name  ModelPaymentExtensionAuthorizeNetCim to  ModelExtensionPaymentAuthorizeNetCim Now Problem has been fixed.😅😅😅 Happy Coding -------

how to override JavaScript function

REAL FUNCTION compare = {         add: function(t) {             $.ajax({                 url: "index.php?route=product/compare/add",                 type: "post",                 data: "product_id=" + t,                 dataType: "json",                 success: function(t) {                     $(".alert").remove(), t.success && ($.colorbox({                         html: '<div class="cart_notification"><div class="product"><img src="' + t.image + '"/><span>' + t.success + '</span></div><div class="bottom"><a class="btn btn-primary" href="' + t.link_compare + '">' + t.text_compare + "</a></div></div>",                         className: "login",                         initialHeight: 50,                         initialWidth

maximum execution time error when importing sql data file since php.ini has been already set max execution time 3000

I am trying to import a large SQL data file using PHPMyAdmin in localhost This the config file for php.ini  max_exection_time : 30000 already set. but I still getting this problem. so I follow this step and now the problem has been solved. Solution:   There's a configuration variable within the phpMyAdmin directory that I find in  libraries\config.default.php  called  $cfg['ExecTimeLimit']  that I set according to my requirement now it has been fixed.

add css to internal div to show background out of div

Image
CSS <style>     .product-tabs { margin: 0 -10%; padding: 0 10%; background: #f4f4f4; } </style> We can use this above CSS for all devices like PC,smartphone,tablet etc.  but it will not work if we press + and -- Sign of keyboard

Remove/Hide/Disable Add to Wishlist and Add to Compare button and links from Openart page from Journal theme

Image
I want to Remove/Hide/Disable Add to Wishlist and Add to Compare button from my Opencart page. I had installed Journal theme. so I found this page and it is working now.

Code Difference between vqmod and ocmod in Opencart

   Vqmod Necessary Code Tags are:-         <id> Extension Name </id>    <version> 1.0.0 </version>    <vqmver> 2.1.5 </vqmver>    <author> Ravi </author>    2.  Ocmod Necessary Code Tags are:-          <name> Extension Name </name>    <version> 1.0.0 </version>    <link> http://opencart.devinlabs.com </link>    <author> Ravi </author>    <code> extension_uniq_code_name </code> ******** Major Differences between Vqmod and Ocmod *********** In Vqmod we Use  "Name" for the file full path but for Ocmod we Use "Path"                             i.e:- Vqmod =      <file name="catalog/controller/common/seo_url.php" error="skip">                          Ocmod =     <file path="admin/view/template/catalog/product_form.tpl">                                        in Ocmod and Vqmod