Skip to content

Instantly share code, notes, and snippets.

@soulston
Last active December 18, 2015 19:09
Show Gist options
  • Save soulston/5830862 to your computer and use it in GitHub Desktop.
Save soulston/5830862 to your computer and use it in GitHub Desktop.
$titles = array();
foreach ($order->products as $product) {
$titles[] = $product->title;
}
// dpm($titles);
$titles = implode('<br />', $titles);
print $titles;
name = custom ubercart events
description = "My description"
package = Custom
version = 7.x-1.1
core = 7.x
<?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