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
- command - composer require mauricio/module-movies
- link - https://packagist.org/packages/mauricio/module-movies
- version - version 1.0.1
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
- Integration with the Movies API (admin):
- 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;
- The integration with the API is performed on the backend,through the same endpoint
- Importing products (admin):
- An 'attribute_set' was created, which has the 'is_movie' attribute,
used to represent products that are movies;
- An 'attribute_set' was created, which has the 'is_movie' attribute,
- InstallSchema and InstallData (admin):
- 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;
- In addition to InstallSchema for the creation of new product attributes,
- 'Add to favorites' button:
- Was appended to the product view through the file “product.info.addto”;
- Screen to view the top 10 favorite movies (admin):
- ui_components was used to create the table with the data.
Screenshots
Custom admin navigation bar
Module configurations
Page to import movies
Showing movies
Add Favorite button on the product page
Top 10 Favorite Movies page
mauricio/module-movies 适用场景与选型建议
mauricio/module-movies 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 13 次下载、GitHub Stars 达 0, 最近一次更新时间为 2021 年 01 月 28 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 mauricio/module-movies 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 mauricio/module-movies 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 13
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: OSL-3.0
- 更新时间: 2021-01-28





