1account/1account-age-verification 问题修复 & 功能扩展

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

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

1account/1account-age-verification

Composer 安装命令:

composer require 1account/1account-age-verification

包简介

Magento 2 Customer 1Account Verification

README 文档

README

The features of this extension:

Frontend:

  • Only validated by 1Account users can place orders.
  • Saving users AV_STATUS for next orders.
  • If guests can make orders in your store their AV_STATUS will save to cookies.

Backend:

  • Display customers AV_STATUSES in the customer grid.
  • Possibility to change users AV_STATUSES.
  • Show orders AV_STATUSES in order grid.
  • Possibility to change orders AV_STATUSES

Introduction installation:

Step 1: Download extension using Composer

1.1 Login to your Magento 2 Hosting site using SSH connection

1.2 Go to Magento root directory

cd /Magento_root_directory

1.2 Download extension

composer require 1account/1account-age-verification

Step 2: Enable extension

2.1 Check if module OneAccount_OneAccountAgeVerification upload successfully

php bin/magento module:status

// output should contain OneAccount_OneAccountAgeVerification at "List of disabled modules"

List of disabled modules:
OneAccount_OneAccountAgeVerification

2.2 Enable module

php bin/magento module:enable OneAccount_OneAccountAgeVerification

// output

The following modules have been enabled:
- OneAccount_OneAccountAgeVerification
(we recommended enable maintenance mode for clear downtime)
php bin/magento maintenance:enable

2.4 Run upgrade command

php bin/magento setup:upgrade

2.5 Recompile your site

php bin/magento setup:di:compile

2.6 Rebuild static content

php bin/magento setup:static-content:deploy

2.7 Reindex your store

php bin/magento indexer:reindex

2.8 Clear cache

php bin/magento c:c

(if there are no command bin/magento c:c go to Admin Panel -> System -> Cache Management and press "Flush Magento Cache")

(disable maintenance if you enabled it before)
php bin/magento maintenance:disable

Results

Backend

Enable extension

Go to

Admin Panel->Stores->Configuration->ONEACCOUNT->General
  • Choose YES in Enable Module
  • Enter your valid clientID and clientSecret from 1account.net
  • Press Save Config and if data valid avLevel will set automatically
  • In the orders list appeared a new column AV Validation
    • It set automatically when the order created
    • You can change it manually in the order view page in the "1Account Status" tab
  • In the customers list appeared a new column AV Status
    • It sets automatically when a customer validated on checkout
    • You can change it manually in customer view page in "Account information" tab

Frontend

When you place an order before creating an order you will see 1Account modal. If you pass 1Account validation - order will continue.

Remove module

composer remove 1account/1account-age-verification

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: OSL-3.0
  • 更新时间: 2020-10-01

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固