This repository has been archived by the owner on Mar 28, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[+TASK] Replace shipping cost block in cart with a link to the shippi…
…ng costs cms page (configurable) (#132)
- Loading branch information
1 parent
936b716
commit bec545c
Showing
5 changed files
with
113 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
46 changes: 46 additions & 0 deletions
46
src/app/design/frontend/base/default/template/germansetup/shipping.phtml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
<?php | ||
/** | ||
* This file is part of the FIREGENTO project. | ||
* | ||
* FireGento_GermanSetup is free software; you can redistribute it and/or | ||
* modify it under the terms of the GNU General Public License version 3 as | ||
* published by the Free Software Foundation. | ||
* | ||
* This script is distributed in the hope that it will be useful, but WITHOUT | ||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS | ||
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. | ||
* | ||
* PHP version 5 | ||
* | ||
* @category FireGento | ||
* @package FireGento_GermanSetup | ||
* @author FireGento Team <[email protected]> | ||
* @copyright 2012 FireGento Team (http://www.firegento.de). All rights served. | ||
* @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3) | ||
* @version $Id:$ | ||
* @since 0.1.0 | ||
*/ | ||
/** | ||
* Template for shipping cost link | ||
* | ||
* @category FireGento | ||
* @package FireGento_GermanSetup | ||
* @author FireGento Team <[email protected]> | ||
* @copyright 2013 FireGento Team (http://www.firegento.de). All rights served. | ||
* @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3) | ||
* @version $Id:$ | ||
* @since 1.2.0 | ||
*/ | ||
|
||
/** | ||
* @var $this Mage_Checkout_Block_Cart_Shipping | ||
*/ | ||
?> | ||
|
||
<?php $shippingCostUrl = Mage::helper( 'germansetup' )->getShippingCostUrl() ?> | ||
<?php if( !empty( $shippingCostUrl )): ?> | ||
<div class="shipping"> | ||
<h2><?php echo $this->__('Shipping Costs') ?></h2> | ||
<p><a href="<?php echo $shippingCostUrl ?>"><?php echo $this->__('Here you find information regarding the shipping costs.') ?></a></p> | ||
</div> | ||
<?php endif ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters