Call us 716-386-3355

Your shopping cart is empty.

TLC E-Commerce

global $user, $base_path;
$mail = '';
if ($user->uid)
{
//$mail = '?email='.$user->mail;
}

$query = new EntityFieldQuery();
$query->entityCondition('entity_type', 'commerce_product')
->entityCondition('bundle', 'Books')
->propertyCondition('status', 1)
->fieldOrderBy('commerce_price', 'amount', 'ASC');
$products = $query->execute();

?>

 

print '

Price includes Priority US Mail postage and taxes.

';
foreach ($products['commerce_product'] as $p)
{
$product = commerce_product_load($p->product_id);
if ($product->status)
{

// product title
print '

'.$product->title.' '.commerce_currency_format($product->commerce_price['und'][0]['amount'], $product->commerce_price['und'][0]['currency_code']).'

';
print '

----

';
print '

';

// print buy now link
print '

';
print 'Add to cart';
print '

';

// print headline after product Friend
if ($product->product_id == 8)
{
print '

Leadership Society Levels:

';
}

}
}

/*

*/
?>