Showing posts with label Opencart. Show all posts
Showing posts with label Opencart. Show all posts

Tuesday, November 6, 2018

How to remove Checkout Step 2, Step 3, Step 4, Step 5 in opencart 2.3.0.2

Dear Friends :)

Here is some Steps for remove Open cart checkout Steps:

For steps 2 : { Billing Details }

Open your checkout.tpl
catalog\view\theme\default\template\checkout\checkout.tpl 

Steps: 1
And find 


Line Number 129
$('#collapse-payment-address .panel-body').html(html);
 And Replace with

$('#collapse-payment-address .panel-body').html(html);
//Remove Billing Details
$('#collapse-payment-address #button-payment-address').trigger('click');
Enjoy Comments are welcome.

For steps 3 :{ Delivery Details}

Open your checkout.tpl
catalog\view\theme\default\template\checkout\checkout.tpl 
And find 


Line Number 382 
$('#collapse-shipping-address .panel-body').html(html);
 And Replace with

 $('#collapse-shipping-address .panel-body').html(html);
// Remove Delivery Details
$('#collapse-shipping-address #button-shipping-address').trigger('click');

Enjoy Comments are welcome

For steps 4 : { Delivery Method }

Open your checkout.tpl
catalog\view\theme\default\template\checkout\checkout.tpl 

And find 


$('#button-shipping-address').button('reset');
                    },
                    success: function(html) {
                        $('#collapse-shipping-method .panel-body').html(html);
 And Replace with

$('#button-shipping-address').button('reset');
                    },
                    success: function(html) {
      //Ravish code
                        $('#collapse-shipping-method .panel-body').html(html);
                        $('#collapse-shipping-method #button-shipping-method').trigger('click');
Enjoy Comments are welcome

For steps 5 : { Payment Method  }

Open your checkout.tpl
catalog\view\theme\default\template\checkout\checkout.tpl 

And find 


 $('#button-shipping-method').button('reset');
                    },
                    success: function(html) {
                        $('#collapse-payment-method .panel-body').html(html);
 And Replace with

 $('#button-shipping-method').button('reset');
                    },
                    success: function(html) {
                        $('#collapse-payment-method .panel-body').html(html);
      // Ravish Code
      $('#collapse-payment-method #button-payment-method').trigger('click');

Enjoy Comments are welcome
Now You Removed all your steps if code is working fine please like and follow my page or comments on post

Thanks for Visit My Blog

Tuesday, August 25, 2015

OPENCART ADMIN BLANK PAGE

Our store uses the Script Opencart. It was showing blank page while tried to access Admin page.
I have pasted the following lines in Index.php of Admin directory and checked for errors.
ini_set(‘display_errors’, 1);
ini_set(‘log_errors’, 1);
error_reporting(E_ALL);
After that while reloading the Admin page, I found the error was in the directory path. After renaming the correct directory name in Config.php inside Admin folder, it started working fine..
Finally the blank page problem solved!


Comments Are welcome. 

Sunday, October 13, 2013

Opencart Description on Home Featured Products

Hey Friends

There are Some Steps for Display Description On home Page in Featured product section.

Step 1. Open catalog/controler/module/featured.php

And find in code :

'name'     => $product_info['name'],

 And add after Code:

'DESCRIPTION'    => $PRODUCT_INFO['DESCRIPTION'],

Step 2. now open catalog/view/theme/your-theme/template/module/featured.tpl
looking your location like :

<span class="price-old"><?php echo $product['price']; ?></span> <span class="price-new"><?php echo $product['special']; ?></span>
          <?php } ?>
        </div>

Add after this code :

<div style="min-height:140px;"><?php echo "<p>".mb_substr(strip_tags(html_entity_decode($product['description'])), 0, 150)."...</p>"; ?></div>

Thanks
Comments are most welcome :)

Sunday, July 7, 2013

How to remove Checkout Step 2, Step 3, Step 4 in opencart



Code for Older version of  Opencart

For Latest Opencart version Please contact me. 
I am working on this module for latest version(demo latest version)

Dear Friends :)

Here is some Steps for remove Open cart checkout Steps:

For steps 2 : { Payment Address }

Open your checkout.tpl
catalog\view\theme\default\template\checkout\checkout.tpl 

Steps: 1
And find 


$('#payment-address .checkout-content').html(html);
$('#payment-address .checkout-content').slideDown('slow');
 And Replace with

$('#payment-address .checkout-content').html(html);
$('#payment-address #button-payment-address').click();
Steps: 2
And find 


 <div id="payment-address">
 And Replace with

 <div id="payment-address" style="display:none">
Enjoy Comments are welcome


For steps 3 :{ Shipping Address}

Open your checkout.tpl
catalog\view\theme\default\template\checkout\checkout.tpl 
And find 


$('#shipping-address .checkout-content').slideDown('slow');
 And Replace with

$("#shipping-existing select").prop("selectedIndex", $("#payment-existing select").prop("selectedIndex"));
$('#shipping-address #button-address').click();
$('#button-shipping-address').click();
Steps: 2

And find 


<div id="shipping-address">
 And Replace with

<div id="shipping-address" style="display: none">
Steps: 3
Open your guest.tpl
catalog/view/theme/default/template/checkout/guest.tpl

And find 


<input type="checkbox" name="shipping_address" value="1" id="shipping" checked="checked" />
 And Replace with

<input type="checkbox" name="shipping_address" value="1" id="shipping" checked="checked" style="display: none"/>
Enjoy Comments are welcome

For steps 4 : { Shipping Method }

Open your checkout.tpl
catalog\view\theme\default\template\checkout\checkout.tpl 

Steps: 1
And find 


$('#shipping-method .checkout-content').slideDown('slow');
 And Replace with

$('#shipping-method #button-shipping-method').click();
Steps: 2
And find 


<div id="shipping-method">
 And Replace with

<div id="shipping-method" style='display: none'>
Enjoy Comments are welcome