定制 mauricio/module-movies 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

mauricio/module-movies

Composer 安装命令:

composer require mauricio/module-movies

包简介

A magento 2 module that consumes a movies api and import movies as products

README 文档

README

Requirements

  • Magento: 2.3.4

How to install

After installing

  • Is important to change the module's configuration data, which are:
    • 'api_key' (authentication key in api movies),
    • 'price' and 'stock' (these are the default values when creating a new product,
      but it can be changed on the screen whenever you create a new product).

About the module

  1. Integration with the Movies API (admin):
    1. The integration with the API is performed on the backend,through the same endpoint
      used to access the movies index page. But, the pagination was done using JavaScript;
  2. Importing products (admin):
    1. An 'attribute_set' was created, which has the 'is_movie' attribute,
      used to represent products that are movies;
  3. InstallSchema and InstallData (admin):
    1. In addition to InstallSchema for the creation of new product attributes,
      a new table has also been created in the database, which serves to maintain
      the data regarding the movies that have been saved as favorites by customers;
  4. 'Add to favorites' button:
    1. Was appended to the product view through the file “product.info.addto”;
  5. Screen to view the top 10 favorite movies (admin):
    1. ui_components was used to create the table with the data.

Screenshots

Custom admin navigation bar

Custom admin navigation bar

Module configurations

Module configurations

Page to import movies

Page to import movies

Showing movies

Showing movies

Add Favorite button on the product page

Add Favorite button on the product page

Top 10 Favorite Movies page

Top 10 Favorite Movies page

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: OSL-3.0
  • 更新时间: 2021-01-28

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固