定制 magebootcamp/sizechart 二次开发

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

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

magebootcamp/sizechart

Composer 安装命令:

composer require magebootcamp/sizechart

包简介

A Magento 2 modules that add a size chart to your store

README 文档

README

MageBootcamp Logo

MageBootcamp Size Chart

MageBootcamp SizeChart is a module that allows you to add size chart to your product detail page and filter the products based on the product sizes. The sizes charts are data-driven, so if you add all the data to your products, the size chart will automatically be generated.

This module is free to use and is part of the MageBootcamp course. We have added extra comments in the module to help you out learning Magento but also to use this module as reference.

If you need any help with this module, please let us know.

Kind regards,

Daniel Donselaar

Mentor at MagebootCamp

Daniel@MageBootcamp.com

Installation

Setup a Magento 2 store with composer. Go to your Magento root directory and type in:

composer require 'magebootcamp/sizechart';

After composer installation is complete:

php bin/magento module:enable MageBootcamp_SizeChart;
php bin/magento setup:upgrade;

To uninstall the module:

php bin/magento module:uninstall MageBootcamp_SizeChart;

Features

1. Size Chart in the product detail page

Add a size chart to your product detail view and let the customer know which sizes you have. You can show the chest, waist, and hip size. By hovering over the list of sizes you can preselect the default sizes (S, M, L, and XL).

Preselect swatches based on the Size Chart

Preselect swatches based on the Size Chart

2. Filter by sizes on the product overview page

Your customer can filter products based on their chest, waist, and hip size. You will see a custom sidebar widget that has multiple fields. Optionally, you can install the CustomerFitness module of MageBootcamp and filter the size based on the saved sizes in the customer account.

Add filter to products

Add filter to products

Size filters applied

Size filters applied

3. Data driven size chart: import sizes

The sizes (chest, waist, and hip size) are product attributes. There are multiple ways you can import your data:

  • Magento default importer to fill product attribute data (for example import from a PIM)
  • Add the data by hand through the Magento backend
  • Use the chart sizes import command and automatically assign sizes to products through a predefined size chart in the di.xml. You can add various types to your category.

Add sizes to your product in the backend

In the backend, you can add the 'from size' and 'to size'. The sizes only apply to simple products The customer applies a size in the frontend and the filter will look if a size exists between these values. For example, if a customer searches for chest size 86 and the configuration of the product is 81 - 92, then the filter response will be positive.

Configure Product Sizes

Configure your product sizes

Size Chart selector in Category settings

Backend > Catalog > Category > [select category] > Size Guide > Size Chart

Size Mapping Configuration

Add a size chart mapping in the category configuration in the backend

Update Sizes based on category settings

php bin/magento magebootcamp:sizes:update

MageBootcamp Logo

Load sizes based on a size chart mapping

4. Optional: Save sizes for a customer

Optionally, you can install the MageBootcamp CustomerFitness module. The module allows you to add a chest, waist, and hip size to the customer account. The customer can press the 'Use my size' button to apply the size filter with the customer sizes.

MageBootcamp Logo

'Use my size' button that allows the customer to apply their account sizes.

MageBootcamp CustomerFitness Module

Support

Created by MageBootcamp: The Ultimate Online Magento Course. We are here to help you become a Magento PRO. Watch and learn at https://magebootcamp.com.

For feature requests, feedback and support, please contact Daniel@MageBootcamp.com

magebootcamp/sizechart 适用场景与选型建议

magebootcamp/sizechart 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 11 次下载、GitHub Stars 达 2, 最近一次更新时间为 2020 年 07 月 25 日, 在 PHP 生态内属于活跃度较高的组件。

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

围绕 magebootcamp/sizechart 我们能提供哪些服务?
定制开发 / 二次开发

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

BUG 修复 & 性能优化

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

项目外包 & 长期维护

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

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

统计信息

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

GitHub 信息

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

其他信息

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