shopgo/dimensional-weight-attributes

一个允许用户选择和安装维度属性的 Magento 2 工具模块

dev-master 2016-05-20 22:16 UTC

This package is not auto-updated.

Last update: 2024-09-24 22:06:27 UTC


README

内容

摘要

一个允许用户选择和安装维度属性的 Magento 2 工具模块。

概述

维度重量属性模块允许用户选择和安装维度属性,以便它们可以被其他模块使用。

安装

以下提供两种安装维度重量属性模块的方法。

1. 通过 Composer 安装(推荐)

首先,请确保已安装 Composer: https://getcomposer.org/doc/00-intro.md

请确保 Packagist 存储库没有被禁用。

运行 Composer require 安装模块

php <your Composer install dir>/composer.phar require shopgo/dimensional-weight-attributes:*

2. 克隆 dimension-weight-attributes 仓库

使用 HTTPS 或 SSH 协议克隆 dimensional-weight-attributes 仓库。

2.1. 复制代码

为维度重量属性模块创建一个目录,并将克隆的仓库内容复制到其中

mkdir -p <your Magento install dir>/app/code/ShopGo/DimensionalWeightAttributes
cp -R <dimensional-weight-attributes clone dir>/* <your Magento install dir>/app/code/ShopGo/DimensionalWeightAttributes

更新 Magento 数据库和模式

如果您已将模块添加到现有的 Magento 安装中,请运行以下命令

php <your Magento install dir>/bin/magento setup:upgrade

验证模块已安装并启用

输入以下命令

php <your Magento install dir>/bin/magento module:status

以下确认您已正确安装模块,并且它已启用

example
    List of enabled modules:
    ...
    ShopGo_DimensionalWeightAttributes
    ...

测试

待办事项

贡献者

Ammar (ammar@shopgo.me)

许可

开源许可