woowj

来源:互联网 发布:linux jdk tar.gz下载 编辑:程序博客网 时间:2024/06/05 08:07

file:///C:/website2/woowj/web/app/design/frontend/base/default/layout/reports.xml

    <default>        <!-- Mage_Reports -->        <reference name="right">            <!--<block type="reports/product_viewed" before="right.permanent.callout" name="right.reports.product.viewed" template="reports/product_viewed.phtml" />-->            <block type="reports/product_compared" before="right.permanent.callout" name="right.reports.product.compared" template="reports/product_compared.phtml" />        </reference>    </default>

C:\website2\woowj\web\app\design\frontend\smartwave\granada\template\checkout\cart\sidebar\default.phtml


C:\website2\woowj\web\app\design\frontend\smartwave\granada\layout\local.xml

        <reference name="left">            <!--<remove name="cart_sidebar"/>-->            <action method="unsetChild"><name>left.permanent.callout</name></action>            <action method="unsetChild"><name>left.newsletter</name></action>        </reference>        <reference name="right">            <!--<remove name="cart_sidebar"/>-->            <action method="unsetChild"><name>catalog.compare.sidebar</name></action>            <action method="unsetChild"><name>right.permanent.callout</name></action>            <action method="unsetChild"><name>right.poll</name></action>            <action method="unsetChild"><name>paypal.partner.right.logo</name></action>            <action method="unsetChild"><name>wishlist</name></action>            <action method="unsetChild"><name>right.reports.product.compared</name></action>        </reference>

<checkout_cart_index>        <reference name="root">            <action method="setTemplate"><template>page/1column.phtml</template></action>        </reference>        <reference name="breadcrumbs">            <action method="addCrumb" translate="crumbName">                <crumbName>Home</crumbName>                <params helper="granada/getHomeUrl" />            </action>            <action method="addCrumb" translate="label title crumbName">                <crumbName>Shopping Cart</crumbName>                <params helper="granada/getShoppingCartCrumb" />            </action>        </reference></checkout_cart_index><checkout_onepage_index>        <reference name="root">            <!--<action method="setTemplate"><template>page/1column.phtml</template></action>-->            <action method="setTemplate"><template>page/2columns-right.phtml</template></action>        </reference><reference name="breadcrumbs">            <action method="addCrumb" translate="crumbName">                <crumbName>Home</crumbName>                <params helper="granada/getHomeUrl" />            </action>            <action method="addCrumb" translate="label title crumbName">                <crumbName>Checkout</crumbName>                <params helper="granada/getCheckoutCrumb" />            </action>        </reference></checkout_onepage_index>    <checkout_onepage_success>        <reference name="root">            <!--<action method="setTemplate"><template>page/1column.phtml</template></action>-->            <action method="setTemplate"><template>page/2columns-right.phtml</template></action>        </reference>    </checkout_onepage_success>    <checkout_onepage_failure>        <reference name="root">            <!--<action method="setTemplate"><template>page/1column.phtml</template></action>-->            <action method="setTemplate"><template>page/2columns-right.phtml</template></action>        </reference>    </checkout_onepage_failure>    <contacts_index_index>        <reference name="root">            <!--<action method="setTemplate"><template>page/1column.phtml</template></action>-->            <action method="setTemplate"><template>page/2columns-right.phtml</template></action>        </reference>        <reference name="contactForm">            <block type="core/template" template="page/html/googlemap.custom.phtml" name="google.map.block" />        </reference>        <reference name="breadcrumbs">            <action method="addCrumb" translate="crumbName">                <crumbName>Home</crumbName>                <params helper="granada/getHomeUrl" />            </action>            <action method="addCrumb" translate="label title crumbName">                <crumbName>Contact Us</crumbName>                <crumbInfo><label>Contact Us</label><title>Contact Us</title></crumbInfo>            </action>        </reference>    </contacts_index_index>

C:\website2\woowj\web\skin\frontend\smartwave\granada\css\styles-ie8.css

/* Change the layout to 2 columns at a breakpoint that is higher than a 3 columns layout would normally break *//* ============================================ * * Checkout - One Page * ============================================ */.checkout-onepage-index .col-right,.checkout-onepage-index .col-left {  /*display: none;*/}.checkout-onepage-index .col-main {  /*width: auto;*/  /*float: none;*/}

C:\website2\woowj\web\skin\frontend\smartwave\granada\css\styles.css

/* ============================================ * * Checkout - One Page * ============================================ */.checkout-onepage-index .col-right,.checkout-onepage-index .col-left {  /*display: none;*/}.checkout-onepage-index .col-main {  /*width: auto;*/  /*float: none;*/}

新增

.col-md-3 .top-minicart .cart-popup-container {display: block;padding: 0px;width: 270px;}

\app\code\core\Mage\Checkout\Block\Onepage\Abstract.php

    public function getCountryHtmlSelect($type)    {        $countryId = $this->getAddress()->getCountryId();        if (is_null($countryId)) {            $countryId = Mage::helper('core')->getDefaultCountry();        }        $countryId = "GB";        echo $countryId;        $select = $this->getLayout()->createBlock('core/html_select')            ->setName($type.'[country_id]')            ->setId($type.':country_id')            ->setTitle(Mage::helper('checkout')->__('Country'))            ->setClass('validate-select')            ->setValue($countryId)            ->setOptions($this->getCountryOptions());        if ($type === 'shipping') {            $select->setExtraParams('onchange="if(window.shipping)shipping.setSameAsBilling(false);"');        }        return $select->getHtml();    }


0 0