Last active
December 18, 2015 19:09
-
-
Save soulston/5830862 to your computer and use it in GitHub Desktop.
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
$titles = array(); | |
foreach ($order->products as $product) { | |
$titles[] = $product->title; | |
} | |
// dpm($titles); | |
$titles = implode('<br />', $titles); | |
print $titles; |
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
name = custom ubercart events | |
description = "My description" | |
package = Custom | |
version = 7.x-1.1 | |
core = 7.x |
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 | |
* Code for the custom ubercart events module. | |
*/ | |
/** | |
* Implements hook_uc_checkout_complete | |
*/ | |
custom_ubercart_events_uc_checkout_complete($order, $account) { | |
kpr($order) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment