This file contains hidden or 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
| <?php | |
| // Start Session | |
| session_start(); | |
| // Show banner | |
| echo '<b>Session Support Checker</b><hr />'; | |
| // Check if the page has been reloaded | |
| if(!isset($_GET['reload']) OR $_GET['reload'] != 'true') { | |
| // Set the message | |
| $_SESSION['MESSAGE'] = 'Session support enabled!<br />'; | |
| // Give user link to check |
This file contains hidden or 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
| drush variable-set cdn_https_support TRUE | |
| drush variable-set cdn_exception_drupal_path_blacklist en-us* | |
| drush variable-set cdn_exception_auth_users_blacklist admin* | |
| drush variable-set cdn_basic_mapping https://deucz2ewme2em.cloudfront.net | |
| drush variable-set cdn_status 2 |
This file contains hidden or 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
| Language - browser language (https://developer.mozilla.org/en-US/docs/Web/API/NavigatorLanguage/language) | |
| ColorDepth - color depth (https://developer.mozilla.org/en-US/docs/Web/API/Screen/colorDepth) | |
| ScreenResolution - screen resolution | |
| AvailableScreenResolution | |
| TimezoneOffset - user time zone | |
| SessionStorage - user browser support of session storage | |
| IndexedDB - user browser support of IndexedDB | |
| AddBehavior - IE specific 'AddBehavior' method detection | |
| OpenDatabase - user browser support of OpenDatabase | |
| CpuClass - detection of CPU class |
This file contains hidden or 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
| watchdog('commerce_sage_payments', 'Response: @response', array('@details' => print_r($result, 1))); |
This file contains hidden or 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
| <?php | |
| /** | |
| * Magento | |
| * | |
| * NOTICE OF LICENSE | |
| * | |
| * This source file is subject to the Open Software License (OSL 3.0) | |
| * that is bundled with this package in the file LICENSE.txt. | |
| * It is also available through the world-wide-web at this URL: | |
| * http://opensource.org/licenses/osl-3.0.php |
This file contains hidden or 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
| <?php | |
| /** | |
| * Implements hook_page_build(). | |
| */ | |
| function vw_hreflang_page_build(&$page) { | |
| global $language; | |
| // Return early if site is monolingual. | |
| if (!drupal_multilingual()) { |
This file contains hidden or 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
| <?php | |
| /** | |
| * Implements hook_page_build(). | |
| */ | |
| function vw_hreflang_page_build(&$page) { | |
| // Return early if site is monolingual. | |
| // if (!drupal_multilingual()) { | |
| // return; | |
| // } |
This file contains hidden or 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
| $view = new view(); | |
| $view->name = 'vw_commerce_checkout_page'; | |
| $view->description = 'Cart line item summary displayed during checkout.'; | |
| $view->tag = 'commerce'; | |
| $view->base_table = 'commerce_order'; | |
| $view->human_name = 'VW Commerce Checkout Page'; | |
| $view->core = 0; | |
| $view->api_version = '3.0'; | |
| $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ |
This file contains hidden or 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
| <div id="delivery-details"><strong>5 Working Days:</strong> Subject to your order being successful, your parcel will be packed in order that you should receive it within five working days.<br /> | |
| <br /> | |
| <strong>Next Working Day:</strong> Subject to your order being successful, all orders received before 3pm will be delivered on the next working day.<br /> | |
| <br /> | |
| Orders placed after 3pm will be dispatched the following working day, for example: If your order is placed on Tuesday at 5pm it will be dispatched the following day for delivery on Thursday.<br /> | |
| <br /> | |
| <strong>Saturday Delivery:</strong> Orders placed up until 3pm on Friday will be delivered to UK destinations* for Saturday delivery. Please note that working days are Monday to Friday and do not include National Bank Holidays.<br /> | |
| <br /> | |
| <em>*For the Channel Islands, Scottish Highlands, Hebrides, Orkney and Shetland please allow two working days, unfortunately Saturday Delivery is not available in these areas.</em></div> |
This file contains hidden or 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
| <div id="contact-us"> | |
| <p>NEED ANY ASSISTANCE?</p> | |
| <p>Call customer service on +44 (0)20 7915 2461 or <a href="mailto:[email protected]?subject=enquiry">email us</a></p> | |
| </div> |