Advertisement
krot

MODX shk_order 1

Mar 1st, 2019
254
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.16 KB | None | 0 0
  1. $order = $modx->getObject('shk_order', 10);
  2. if( !$order ){
  3.     return '';
  4. }
  5. $purchases = $modx->getCollection('shk_purchases', array('order_id' => $order->id));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement