承接 kreativsoehne/magento-2-price-after-login 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

kreativsoehne/magento-2-price-after-login

Composer 安装命令:

composer require kreativsoehne/magento-2-price-after-login

包简介

A Magento 2 extension which lets you determine which user groups are able to see the prices at all

README 文档

README

A Magento 2 extension which lets you determine which user groups are able to see the prices at all. Not logged in users will not see prices, too.

installation

1. $ composer require kreativsoehne/magento-2-price-after-login
2. $ ./bin/magento module:enable kreativsoehne_PriceAfterLogin
3. $ ./bin/magento setup:upgrade
4. $ ./bin/magento setup:di:compile
5. Profit.

usage

To determine allowed user groups, navigate to the module's settings in Magento admin:

Shops -> Settings -> Configuration -> Catalog -> Catalog -> Price

Activate "Display prices only for specific customer groups" to enable the extension's functionality. After activating, choose all the user groups which are allowed to see prices. Keep on pressing the CMD (Mac) or the CTRL (Windows or Linux) key on your keyboard to choose multiple user groups.

how it works

It's a simple interceptor plugin which expands the Magento\Framework\Pricing\Render::Render() method into an after method. It will surpress any price rendering when the user is not member of one of the specified user groups.

Notice:

This Extension is very simple. It does not perform any additional logic than just surpressing rendering prices when not allowed. If you have implemented your own price rendering outside of the system's price renderer, then this extension will not work properly or won't work at all.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-07-30

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固