Parent Directory
|
Revision Log
|
Revision Graph
|
Patch
| revision 1.1.2.1, Sat Apr 25 09:03:38 2009 UTC | revision 1.1.2.2, Fri May 1 03:04:15 2009 UTC | |
|---|---|---|
| # | Line 37 function uc_upsell_block_contents($id = | Line 37 function uc_upsell_block_contents($id = |
| 37 | // TODO: Make destination configurable | // TODO: Make destination configurable |
| 38 | // TODO: Make this show an add to cart button instead? | // TODO: Make this show an add to cart button instead? |
| 39 | if ($node->sell_price) { | if ($node->sell_price) { |
| 40 | $output .= l(t('Add to Cart ') . uc_currency_format($node->sell_price), "cart/add/p{$node->nid}_q1-i{$node->nid}Checkout", array('attributes' => array('class' => 'buy-related-item-buynow'), 'query' => 'destination=cart')); | $output .= l(t('Add to Cart ') . uc_price($node->sell_price, array('original')), "cart/add/p{$node->nid}_q1-i{$node->nid}Checkout", array('attributes' => array('class' => 'buy-related-item-buynow'), 'html' => TRUE, 'query' => 'destination=cart')); |
| 41 | } | } |
| 42 | $content[] = $output; | $content[] = $output; |
| 43 |
|
||||||||
| ViewVC Help | |
| Powered by ViewVC 1.1.2 |