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
<?php | |
/** | |
* @file | |
* Custom views handler definition. | |
* | |
* Place this code in | |
* /sites/all/[custom_module_name]/includes/views_handler_total_discounted_field.inc | |
*/ |
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
$view = new view(); | |
$view->name = 'order_coupon_list'; | |
$view->description = 'List of coupons in an order'; | |
$view->tag = 'default'; | |
$view->base_table = 'commerce_coupon'; | |
$view->human_name = 'Order coupon list'; | |
$view->core = 7; | |
$view->api_version = '3.0'; | |
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ |
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
/** | |
* Provides a list with all availiable currencies | |
* @return | |
* array enabled currencues | |
*/ | |
function _get_enabled_currencies_list(){ | |
// get a list of all enabled currencies | |
$enabled_currencies_list = array(); | |
$enabled_currencies_variable = variable_get("commerce_enabled_currencies"); | |
foreach( $enabled_currencies_variable as $enabled_currency){ |
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
$view = new view(); | |
$view->name = 'admin_views_user'; | |
$view->description = 'List, add, and edit users.'; | |
$view->tag = 'admin'; | |
$view->base_table = 'users'; | |
$view->human_name = 'Administration: Users'; | |
$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 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 = 'commerce_orders'; | |
$view->description = 'Display a list of orders for the store admin.'; | |
$view->tag = 'commerce'; | |
$view->base_table = 'commerce_order'; | |
$view->human_name = 'Orders'; | |
$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 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_form_FORM_ID_alter(). | |
*/ | |
function caci_registrations_form_registration_form_alter(&$form, &$form_state, $form_id) { | |
// If we have triggered an Ajax callback then | |
// we need to increase the count of items displayed | |
if (isset($form_state['triggering_element']) && ($form_state['triggering_element']['#name'] == 'add_participant')) { |
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
<?php | |
/** | |
* Todays Timestamp | |
*/ | |
define("TODAY", strtotime(date('d-m-Y', strtotime('-1 day')))); | |
/** | |
* Two weekds from now Timestamp | |
*/ |
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
<div class="dotstyle dotstyle-fillup"> | |
<ul> | |
</ul> | |
</div> |
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
<div id="contact-us"> | |
<p>NEED ANY ASSISTANCE?</p> | |
<p>Call customer service on +44 (0)20 7915 2461 or <a href="mailto:customerservice@viviennewestwood.com?subject=enquiry">email us</a></p> | |
</div> |
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
<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> |