mageplaza/module-custom-stock-status-graphql 问题修复 & 功能扩展

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

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

mageplaza/module-custom-stock-status-graphql

Composer 安装命令:

composer require mageplaza/module-custom-stock-status-graphql

包简介

Magento 2 Custom Stock Status GraphQl Extension

README 文档

README

Magento Custom Stock Status GraphQL is a part of Mageplaza Custom Stock Status extension that adds GraphQL features, this supports for PWA studio. Mageplaza Custom Stock Status Extension now supports getting and pushing data on the website with GraphQL.

Mageplaza Custom Stock Status for Magento 2 is a useful tool to inform customers about the products' availability.

When visiting a store, customers will not only want to know the prices but also the quantity of products they are interested in. In some stores with no clear display of product statuses, customers will usually know that the item is out of stock or not many available until they click add to cart. It's definitely a frustrating experience for customers and a waste of time.

Unlike the Magento 2 Default, Mageplaza Custom Stock Status enables the store admins to create unlimited stock status labels for products, such as In-stock, Out-of-stock, Coming soon, Available next week, etc. The stock labels can be added to the specific products without limitations. The store admin can configure to display the stock label based on the real-time situation of the product quantity from the admin backend. Therefore, the stock label will be displayed with each product, exactly how it is in your store in real-time.

With this extension, the store admin doesn't have to edit the stock label manually, as it can be automatically updated based on the change in product quantity ranges. It's easy and flexible to set up at the backend. For example, the admin can set the rules that when only one item available, the stock label will display as "Hurry up! Only one item left."

Magento 2 Custom Stock Status supports all types of products, including simple products, configurable products, group products, and bundle products. When customers select the attributes of a product to filter out the item that matches their requirements, the appropriate stock label will appear depending on that item's status. For example, if there is only one T-shirt size S, the white color left in stock, the label can be "Hurry up! Last item."

The store admin can add a stock label to the most common positions on the store site, including product listing page, product detail page, shopping cart page, and product widget block. Besides, the extension enables adding images to the stock label to make it more outstanding and attractive.

1. How to install

Run the following command in Magento 2 root folder:

composer require mageplaza/module-custom-stock-status-graphql
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy

Note: Magento 2 Custom Stock Status GraphQL requires installing Mageplaza Custom Stock Status in your Magento installation.

2. How to use

To perform GraphQL queries in Magento, please do the following requirements:

  • Use Magento 2.3.x or higher. Set your site to developer mode.
  • Set GraphQL endpoints as http://<magento2-server>/graphql in url box, click Set endpoint. (e.g. http://dev.site.com/graphql)
  • To view the queries that the Mageplaza Custom Stock Status GraphQL extension supports, you can look in Docs > Query in the right corner.

3. Devdocs

Click on Run in Postman to add these collections to your workspace quickly.

Magento 2 blog graphql pwa

4. Contribute to this module

Feel free to Fork and contribute to this module. Create a pull request, so we will merge your changes to the main branch.

5. Get Support

  • Feel free to contact us if you have any further questions.
  • If you like this project, please give us a Star star

mageplaza/module-custom-stock-status-graphql 适用场景与选型建议

mageplaza/module-custom-stock-status-graphql 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 69 次下载、GitHub Stars 达 3, 最近一次更新时间为 2020 年 05 月 05 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 mageplaza/module-custom-stock-status-graphql 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 mageplaza/module-custom-stock-status-graphql 我们能提供哪些服务?
定制开发 / 二次开发

基于 mageplaza/module-custom-stock-status-graphql 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

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

GitHub 信息

  • Stars: 3
  • Watchers: 4
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: proprietary
  • 更新时间: 2020-05-05