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 | |
global $user; | |
// Load the order object. | |
$order = commerce_cart_order_load($user->uid); | |
if (!empty($order)) { | |
// Create order entity metadata wrapper. | |
$wrapper = entity_metadata_wrapper('commerce_order', $order); | |
// Determine cart order total without taxes | |
// Maybe rszrama can help? | |
} |
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
// # of new committers | |
$commerce_module = "http://drupal.org/node/605898/committers"; | |
echo return_new_committer_ul($commerce_module,'<a href="http://drupal.org/node/605898/committers">Drupal Commerce</a>'); | |
$commerce_module = "http://drupal.org/node/1079066/committers"; | |
echo return_new_committer_ul($commerce_module,'<a href="http://drupal.org/node/1079066/committers">Drupal Commerce Kickstart</a>'); | |
function return_new_committer_ul ($url,$module) { | |
$doc = new DOMDocument(); |
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
.comments header { | |
width: 30%; | |
float: left; | |
margin-left: -210px; | |
} | |
.comments header p { | |
font-size: 12px; | |
color: #FFF; | |
margin-bottom: 0; | |
} |
NewerOlder