magebootcamp/sizechart
Composer 安装命令:
composer require magebootcamp/sizechart
包简介
A Magento 2 modules that add a size chart to your store
README 文档
README
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
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
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
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 your product sizes
Size Chart selector in Category settings
Backend > Catalog > Category > [select category] > Size Guide > Size Chart
Add a size chart mapping in the category configuration in the backend
Update Sizes based on category settings
php bin/magento magebootcamp:sizes:update
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.
'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 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 11
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 12
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2020-07-25