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 57 function theme_pane_upsell($products, $m | Line 57 function theme_pane_upsell($products, $m |
| 57 | // TODO: Make destination configurable | // TODO: Make destination configurable |
| 58 | // TODO: Make this show an add to cart button instead? | // TODO: Make this show an add to cart button instead? |
| 59 | if ($related->sell_price) { | if ($related->sell_price) { |
| 60 | $output .= l(t('Buy now ') . uc_currency_format($related->sell_price), "cart/add/p{$related->nid}_q1-i{$related->nid}Checkout", array('attributes' => array('class' => 'buy-related-item-buynow'), 'query' => 'destination=cart')); | $output .= l(t('Buy now ') . uc_price($related->sell_price, array('original')), "cart/add/p{$related->nid}_q1-i{$related->nid}Checkout", array('attributes' => array('class' => 'buy-related-item-buynow'), 'html' => TRUE, 'query' => 'destination=cart')); |
| 61 | } | } |
| 62 | ||
| 63 | $output .= '</div>'; | $output .= '</div>'; |
|
||||||||
| ViewVC Help | |
| Powered by ViewVC 1.1.2 |