Go to Dreamweaver menu :-
- Commands > Apply Formatting
- Commands > Clean up HTML
Thanks
Comments are welcome :)
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)
$('#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
<div id="payment-address">
And Replace with <div id="payment-address" style="display:none">
Enjoy Comments are welcome$('#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<div id="shipping-address">
And Replace with<div id="shipping-address" style="display: none">
Steps: 3<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$('#shipping-method .checkout-content').slideDown('slow');
And Replace with$('#shipping-method #button-shipping-method').click();
Steps: 2<div id="shipping-method">
And Replace with<div id="shipping-method" style='display: none'>
Enjoy Comments are welcome php
$_columnCount = $this->getColumnCount();
if($_columnCount == 4){
$imgSize = 155;
}elseif($_columnCount == 3){
$imgSize = 245;
}
?>
php
$_columnCount = $this->getColumnCount();
if( $_columnCount == 4 ) {
$imgSizeWidth = 200;
$imgSizeHeight = 300;
} elseif( $_columnCount == 3 ) {
$imgSizeWidth = 500;
$imgSizeHeight = 800;
}
?>
helper('catalog/image')->init($_product, 'small_image')->keepFrame(true)->resize( $imgSize); ?>" alt="stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" />
Or find only
resize( $imgSize)
And replace With
helper('catalog/image')->init($_product, 'small_image')->keepFrame(true)->resize( $imgSizeWidth, $imgSizeHeight ); ?>" alt="stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" />
Or Only With
resize( $imgSizeWidth, $imgSizeHeight )
Thanks
:)
<homepage module="page" translate="label">
<label>Home Page</label>
<template>page/home-page.phtml</template>
<layout_handle>home_page</layout_handle>
</homepage>
="1.0"?><config>
<modules>
<Mage_Page>
<active>true</active>
<codePool>local</codePool>
<depends>
<Mage_Core/>
</depends>
</Mage_Page>
</modules>
</config>