-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
67a6e29
commit e1a80d7
Showing
9 changed files
with
59 additions
and
122 deletions.
There are no files selected for viewing
60 changes: 0 additions & 60 deletions
60
app/code/community/Oyst/OneClick/Block/Checkout/Cart/Redirect.php
This file was deleted.
Oops, something went wrong.
36 changes: 36 additions & 0 deletions
36
app/code/community/Oyst/OneClick/Block/Checkout/Redirect.php
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,36 @@ | ||
<?php | ||
/** | ||
* This file is part of Oyst_OneClick for Magento. | ||
* | ||
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 | ||
* @author Oyst <plugin@oyst.com> <@oyst> | ||
* @category Oyst | ||
* @package Oyst_OneClick | ||
* @copyright Copyright (c) 2017 Oyst (http://www.oyst.com) | ||
*/ | ||
|
||
/** | ||
* Checkout Cart Redirect Block | ||
*/ | ||
class Oyst_OneClick_Block_Checkout_Redirect extends Mage_Core_Block_Template | ||
{ | ||
/** | ||
* Get quote url. | ||
* | ||
* @return string | ||
*/ | ||
public function getReturnUrl() | ||
{ | ||
return Mage::getBaseUrl() . Oyst_OneClick_Helper_Data::RETURN_URL; | ||
} | ||
|
||
/** | ||
* Get loading page message. | ||
* | ||
* @return string | ||
*/ | ||
public function getMessage() | ||
{ | ||
return Mage::getStoreConfig('oyst/oneclick/checkout_cart_cta_loading_message'); | ||
} | ||
} |
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
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
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