承接 sbodak/magento2-b2b-disable-add-to-cart-button-for-guest 相关项目开发

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

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

sbodak/magento2-b2b-disable-add-to-cart-button-for-guest

Composer 安装命令:

composer require sbodak/magento2-b2b-disable-add-to-cart-button-for-guest

包简介

This extension allows you to disable Add to cart button for guest. Useful feature for B2B store.

README 文档

README

Overview

This module enables the possibility to disable the Add to Cart button on product and category pages for customers who are not logged in. It is useful for B2B stores where guest users should not be able to add products to the cart.

Compatibility

Module version Magento version PHP version
2.0.x 2.4.6 – 2.4.8 7.0 – 8.4
1.0.x 2.1 – 2.3 7.0 – 7.2

Installation

composer require sbodak/magento2-b2b-disable-add-to-cart-button-for-guest
php bin/magento module:enable Bodak_DisableAddToCart
php bin/magento setup:upgrade
php bin/magento cache:clean

Configuration

  1. Go to the Magento admin interface.
  2. Navigate to Stores > Configuration > Catalog > Catalog.
  3. Under the Storefront tab find the Disable Add to cart button for Guests option.
  4. Set it to Yes to activate the plugin.

Module configuration — administration panel

Module configuration - administration panel

Removed Add to Cart button in catalog — frontend view

Remove Add to Cart button in catalog

Removed Add to Cart button on product page — frontend view

Remove Add to Cart button on product page

Running tests

composer install
vendor/bin/phpunit

Uninstall

composer remove sbodak/magento2-b2b-disable-add-to-cart-button-for-guest

Changelog

See CHANGELOG.md.

License

MIT License

统计信息

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

GitHub 信息

  • Stars: 20
  • Watchers: 6
  • Forks: 11
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-11-13

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固