一键购买

 

zencart\includes\modules\template_lin\featured_products.php 也是一样

只是替换了这个:$featured_products->fields['products_id'])

 

源代码:

'<div class="button">'.'<a href="' . zen_href_link($_GET['main_page'], zen_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $featured_products->fields['products_id']) . '">' . zen_image_button(BUTTON_IMAGE_ADD_TO_CART, BUTTON_ADD_TO_CART_ALT) .'</a>  </div>');

posted @ 2014-07-28 11:23  也许明天  阅读(190)  评论(0编辑  收藏  举报