1 / 3
Caption Text
2 / 3
Caption Two
3 / 3
Caption Three margin testing

Tuesday, November 24, 2009

放个完善的 Zen Cart 模版+运行环境

放个完善的Lightinthebox 模版+运行环境
radnows » 2009年 9月 1日 03:54

1.没有错误没有木马。
2.生成图像没有锯齿。
3.完整windows 运行环境 (apache + php +mysql)。解压到d盘根目录后,运行D:\apache\apache.exe和D:\apache\mysql41\mysqld41- start nolog后即可在浏览器浏览 (如已有apache和mysql运行,先停止其运行)。
4.不得买卖该模板,只限研究交流。 :mrgreen:

忘了说:
后台admin
用户admin
密码admin

-------------------------------------------------------
2009-09-04补充:
大图只有水印那是new_product_preview.php里有函数参数没好少了0 哈哈。补上即可。

D:\apache\htdocs\lightbox\admin\includes\modules\new_product_preview.php里129行
代码: 全选
ImageCopyResampled($im_s,$im, 0, 0, 0,$width,$height,$width_orig,$height_orig );
改为
代码: 全选
ImageCopyResampled($im_s,$im, $wpos, $hpos, 0, 0,$width,$height,$width_orig,$height_orig );
-------------------------------------------------------------------------------------------------------------

图片不居中是ImageCopyResampled($im_s,$im, 0, 0, 0, 0,$width,$height,$width_orig,$height_orig );作怪

改为
代码: 全选
ImageCopyResampled($im_s,$im, $wpos, $hpos, 0, 0,$width,$height,$width_orig,$height_orig );
即可
------------------------------------------------------------------------------------------------------------

批量上传建议下载安装使用txt版本覆盖替代。

运输地址与帐单地址必须一致问题更好解决:
覆盖原版tpl_modules_checkout_address_book.php和tpl_modules_checkout_new_address.php即可

前台搜索不到商品问题:

用原版替换D:\apache\htdocs\lightbox\includes\modules\pages\advanced_search和advanced_search_result目录内容
用原版product_listing.php改名为search_product_listing.php复制到D:\apache\htdocs\lightbox\includes\modules\lightinthebox
修改tpl_advanced_search_result_default.php内容为以下代码:
代码: 全选
<div class="centerColumn" id="advSearchResultsDefault">
<?php
require($template->get_template_dir('tpl_modules_search_product_listing.php', DIR_WS_TEMPLATE, $current_page_base,'templates'). '/' . 'tpl_modules_search_product_listing.php');
?>
</div>
新建tpl_modules_search_product_listing.php文件在D:\apache\htdocs\lightbox\includes\templates\lightinthebox\templates目录

内容为:
代码: 全选
<?php
include(DIR_WS_MODULES . zen_get_module_directory('search_product_listing.php'));
?>
<div id="productListing">
<?php
if ($show_top_submit_button == true) {
?>
<div class="buttonRow forward"><?php echo zen_image_submit(BUTTON_IMAGE_ADD_PRODUCTS_TO_CART, BUTTON_ADD_PRODUCTS_TO_CART_ALT, 'id="submit1" name="submit1"'); ?></div>
<br class="clearBoth" />
<?php
}
?>

<?php
require($template->get_template_dir('tpl_list_box_content.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_list_box_content.php');
?>

<?php if ( ($listing_split->number_of_rows > 0) && ((PREV_NEXT_BAR_LOCATION == '2') || (PREV_NEXT_BAR_LOCATION == '3')) ) {
?>
<div id="productsListingBottomNumber" class="navSplitPagesResult back"><?php echo $listing_split->display_count(TEXT_DISPLAY_NUMBER_OF_PRODUCTS); ?></div>
<div id="productsListingListingBottomLinks" class="navSplitPagesLinks forward"><?php echo TEXT_RESULT_PAGE . ' ' . $listing_split->display_links(MAX_DISPLAY_PAGE_LINKS, zen_get_all_get_params(array('page', 'info', 'x', 'y'))); ?></div>
<br class="clearBoth" />
<?php
}
?>

<?php
if ($show_bottom_submit_button == true) {
?>
<div class="buttonRow forward"><?php echo zen_image_submit(BUTTON_IMAGE_ADD_PRODUCTS_TO_CART, BUTTON_ADD_PRODUCTS_TO_CART_ALT, 'id="submit2" name="submit1"'); ?></div>
<br class="clearBoth" />
<?php
}
?>
</div>

<?php
if ($show_top_submit_button == true or $show_bottom_submit_button == true) {
?>
</form>
<?php } ?>
至于购物流程问题嘛,有人喜欢那样方式有人不喜欢。不喜欢替换为原版即可。

下载地址:
http://drop.io/tawalll/asset/apache-php ... e_download

-------------
radnows » 2009年 9月 28日 14:40
gueston 写道: 首页“Recent Orders”栏目里内容有重叠,看不清,如下图,是否能帮忙解决下,谢谢。
请自行编辑tpl_order_history.php文件去掉
代码: 全选
ship to '.$customer_orders[$i]['customers_state'].','.$customer_orders[$i]['customers_country'].
即可

------------
radnows » 2009年 10月 13日 07:51
gueston 写道:
Jack 写道:本站搜索下如何重置管理员密码
这个模版好像没有品牌(制造商)的选择了了,像我这样的目录就有必要用到品牌的筛选了http://cbwp.us 。
我有尝试在前台布局里吧manufactory打开,但没有显示,所以在此求助,
希望达到的效果:
页面的搜索栏都有品牌选择,在搜索栏种类(Categories)后面为品牌做同样的下拉选项,最好再把页面宽度增加点。
或者沿用原汁原味的高级搜索,原版的高级搜索里有这个选项。
修 改tpl_index_categories.php,在require(DIR_WS_MODULES . zen_get_module_directory('sideboxes/categories.php'));下增加 require(DIR_WS_MODULES . zen_get_module_directory('sideboxes/manufacturers.php'));

修改sideboxes/manufacturers.php,把$column_box_default改为'tpl_box_default_left.php'

---------
radnows » 2009年 10月 13日 07:53
kingking 写道:现在的producttag只是把产品的名称列出来了,和lightinthebox的不一样,light是列出来些tags
代码: 全选
Product Tags:
'.strtoupper($letter).' ';
}
echo '0-9 ';
echo 'WishList ';
?>

No comments:

Post a Comment

Featured Post

Windows和Ubuntu双系统完全独立的安装方法

http://www.ubuntuhome.com/windows-and-ubuntu-install.html  | Ubuntu Home Posted by Snow on 2012/06/25 安装Windows和Ubuntu双系统时,很多人喜欢先安装windows,然...