prestashop

PrestaShop支付接口-Alipay支付,支付宝接口-担保交易&即时到帐

☆樱花仙子☆ 提交于 2020-03-01 14:31:02
PrestaShop’S Modules:支付宝ALIPAY官方最新集成插件(立即到账,担保交易),支持PrestaShop1.3,1.4等所有版本下载。 Works for all prestashop Version. 现在已经开发完毕 测试成熟. 历史意义: PrestaShop支付宝 (ALIPAY)收款模块的问世,彻底打破了 PrestaShop 在中国至今没有一个完整的 PrestaShop收款模块 的尴尬局面。 有一下7大优点: 1.支持任何货币,如美元、欧元。。。 2.支持支付宝余额支付、多种网银支付、支付宝卡通、网点支付,如建设银行、工商银行。。。 3.采用了同步兼异步的智能操作技术,保证99.99%不调单。 4.支持支付宝后台订单状态与站内的订单状态同步。比如支付宝中这笔订单退款了 那么站里的订单状态会自动改变过来。 5.每次订单的改变,都有详细的记录可以进行跟踪。 6.支持Prestashop和IEstore所有版本。 7.良好的编码规范,严密的数据验证,最大限度杜绝插件的BUG。 需要购买的话,请联系我:QQ:1285872439 来源: oschina 链接: https://my.oschina.net/u/253796/blog/61617

prestashop 新手入门

可紊 提交于 2020-03-01 14:21:14
1、首先得装好服务器(是 php 服务器都行); 2、然后在把 下载 的prestashop解压后放在服务器的根目录里面。 3、在建个 数据库 ,如:prestashop; 4、运行根目录中的prestashop 文件 夹下的文件进行安装。 5、根据页面的 提示 进行 设置 。 6、完成安装。 7、修改prestashop/admin文件夹名子及其删除安装文件夹install。 ok! 大功告成,一切搞定。 本文章来自 prestashop 中文论坛。网址:http://bbs.63space.com欢迎大家加入 来源: oschina 链接: https://my.oschina.net/u/54395/blog/2574

PrestaShop Rewrite URL 去除ID数字 让URL更符合SEO更美观更简短

…衆ロ難τιáo~ 提交于 2020-02-29 03:39:25
大家在使用PrestaShop时是不是有这个困惑?为什么产品URL或者目录URL中总有ID数字? 而且 如果做PrestaShop 站群的话,每个数据库如果不一样,那个ID就太碍事了! 为什么PrestaShop URL中一定要有ID 数字标示呢?可以删除么? 因为那个ID是程序寻找的唯一标示,我们家推出了可以去除ID的插件modules: PrestaShop Rewrite URL 去除ID数字 让URL更符合SEO更美观更简短 ! 从您的Prestashop链接URL中删除ID数字! 它适用于 产品页面的URL 分类页面的URL CMS页面的URL CMS分类页面的URL。 它使用友好的URL设置单独确定页面。 Prestashop的删除网址的ID 该模块只需删除的数字,从您的网站的链接。这将使它更简洁,更好看,也将更加直观,从产品名称的URL将导致产品类别。 使用后链接示例: PrestaShop Remove category URL ID :category URL 从www.myusbkey.net/2-music-ipods 改为 www.myusbkey.net/music-ipods PrestaShop Remove product URL ID :product URL 从 www.myusbkey.net/music-ipods/2-ipod

Prestashop 1.6 Controller override

删除回忆录丶 提交于 2020-02-25 04:33:47
问题 I know how to override things in Prestashop. I'm trying to override Category Controller to display custom categories (different template with different data). I copied CategoryController to /modules/mymodule/override/controllers/front and I have module controller at /modules/mymodule/controllers/front/display.php and there's initContent method. How can I use modified CategoryController in my display.php controller? 回答1: You have created two different controllers: Overriden CategoryController

Prestashop 1.6 Controller override

北战南征 提交于 2020-02-25 04:33:23
问题 I know how to override things in Prestashop. I'm trying to override Category Controller to display custom categories (different template with different data). I copied CategoryController to /modules/mymodule/override/controllers/front and I have module controller at /modules/mymodule/controllers/front/display.php and there's initContent method. How can I use modified CategoryController in my display.php controller? 回答1: You have created two different controllers: Overriden CategoryController

Override controller in Prestashop 1.6

丶灬走出姿态 提交于 2020-02-23 05:10:31
问题 My override is not working I tried to add a custom.css the safe way to our default bootstrap theme. I followed this tutorial: http://www.prestadb.com/prestashop-override-controllers-tutorial/ The difference to 1.6 should be that the file should be placed in: /override/controllers/front instead of /overrides/controllers/ In the first mentioned directory I have a file called FrontControllerCore.php with following content: <?php class FrontController extends FrontControllerCore { public function

Override controller in Prestashop 1.6

会有一股神秘感。 提交于 2020-02-23 05:09:09
问题 My override is not working I tried to add a custom.css the safe way to our default bootstrap theme. I followed this tutorial: http://www.prestadb.com/prestashop-override-controllers-tutorial/ The difference to 1.6 should be that the file should be placed in: /override/controllers/front instead of /overrides/controllers/ In the first mentioned directory I have a file called FrontControllerCore.php with following content: <?php class FrontController extends FrontControllerCore { public function

how to display in product-list the cover image and the second image of a product

蹲街弑〆低调 提交于 2020-02-08 06:59:20
问题 i'm new to prestashop 1.6 and like to display 2 images per product in the product-list.tpl. I see that getImageLink display the cover image. Is there a similar function with an argument corresponding to the column position ? thank you regards 回答1: Rather than writing function in Product.php simply get second image by adding +1 next to id_image src="{$link->getImageLink($product.link_rewrite, $product.id_image+1, 'home_default')|escape:'html':'UTF-8'}" 回答2: 1/ edit classes/Product.php and add

Use existing classes in prestashop module

隐身守侯 提交于 2020-02-04 22:58:08
问题 I am preparing a custom module for prestashop. I want to use in it some classes that exist in prestashop already (Orderdetail.php). How can I do this? Is the code below sufficient or do I need to include something else in addition? $order = new OrderDetail; 回答1: Yes, the native classes can be called like that. $order_detail = new OrderDetail(); However to use custom classes you need to include their files in the script you want to use them. include_once 'path_to_custom_class_file'; class

Filter results based on the select box selected value

眉间皱痕 提交于 2020-01-25 11:53:19
问题 I have been searching for quite some time, but I still haven't found a decent answer to my question. I'm trying to filter my results based on the value what the user will select from the selectbox. However selectbox is populated from the database and it's lenght varies. First select entry will be an empty one, so all of the matching values will be displayed. But when a different value has been selected from the selectbox all the non-matching itmes need to dissapear. Easyest way to do that is