<?php _e_set_section('ab_footer'); $mc_edm = MC_edm::get_instance(); ?> <tr> <td align="center" valign="top"> <table <?php inline_style('doubt_table', 'table'); ?> > <tr> <td <?php inline_style('doubt_font_td_right', 'td'); ?> > <?php echo $mc_edm->get_view('social'); ?> </td> </tr> </table> </td> </tr> <tr> <td align="center" valign="top"> <?php echo $mc_edm->get_view('benefits'); ?> </td> </tr>
/** * [get_product_url] * Looks up up the product url from live site * @param int $id product Item id * @param string $tracking the string appended to to the product url * @return string */ function get_product_url($id, $tracking = '') { $mc_edm = MC_edm::get_instance(); $url = $mc_edm->get_product_url($id); $extra_params = array(); $item = $mc_edm->get_dynamic_price(array('id' => $id, 'currency' => 'au')); if (isset($item->price)) { $extra_params = array('price' => $item->price); } if ($tracking) { $tracking = _e_tracking($tracking, $extra_params); } return $url . $tracking; }