分类
Zen-cart

Zen-cart商品产品页增加相关产品推荐产品功能方法

为Zen-cart商品产品页增加相关产品推荐产品功能方法
1.\includes\templates\模板名称\templates\tpl_product_info_display.php 在相应显示的地方加上代码:
[php]<!–bof similar –>
<?php require($template->get_template_dir(‘/tpl_product_info_similar.php’,DIR_WS_TEMPLATE, $current_page_base,’templates’). ‘/tpl_product_info_similar.php’);?>
<!–eof similar –>[/php]
2.上传文件tpl_product_info_similar.php到\includes\templates\模板名称\templates\下。
3.最终效果图
Zen-cart商品产品页增加相关产品推荐产品功能方法
4.相关下载
[file]

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注


RECOMMENDED