faonni/module-product-most-sold 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

faonni/module-product-most-sold

Composer 安装命令:

composer require faonni/module-product-most-sold

包简介

Extension displays the top most sold products for your stores.

README 文档

README

Extension displays the top most sold products for your stores.

Home page

Magento2 ProductMostSold

Category page

Magento2 ProductMostSold

Install with Composer as you go

  1. Go to Magento2 root folder

  2. Enter following commands to install module:

    composer require faonni/module-product-most-sold

    Wait while dependencies are updated.

  3. Enter following commands to enable module:

    php bin/magento setup:upgrade
    php bin/magento setup:static-content:deploy
  4. Refresh Statistics

Display and configuration

  1. A shortcode to Homepage and to other CMS pages or CMS blocks.

    {{block class='Faonni\ProductMostSold\Block\ProductList' 
    		template='Faonni_ProductMostSold::product/list/items.phtml' 
    		title='Most Sold Products' 
    		interval='45'
    		num_products='6'
    }}
  2. A Layout Update XML to all categories.

     <referenceBlock name="catalog.product.most.sold">
    	 <action method="setTitle">
    		 <argument name="title" xsi:type="string" translate="true">Most Sold Products of Category</argument>
    	 </action>
    	 <action method="setNumProducts">
    		 <argument name="num_products" xsi:type="string">6</argument>
    	 </action>
    	 <!-- last 45 days, if 0 - all lifetime -->
    	 <action method="setInterval">
    		 <argument name="interval" xsi:type="string">45</argument>
    	 </action>	
     </referenceBlock>

统计信息

  • 总下载量: 27
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 6
  • 点击次数: 4
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 6
  • Watchers: 3
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: OSL-3.0
  • 更新时间: 2016-12-22

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固