Diese Seite ist auch auf Deutsch verfügbar.
Skip to main content
ACRIS E-Commerce GmbH

Block products for customer groups

Rating: 5.0

Average rating of 5 out of 5 stars

(1 Review)
Downloads: 271

Description

Highlights

  • Enables the blocking of products for defined customer groups
  • Arikel that have been blocked are not visible / callable in the search, listing or through the deeplink.
  • Blocking directly in the admin area of the corresponding product

Features

  • Blocking of articles / products for certain customer groups
  • No visibility without the appropriate customer group in the listing (product overview), in the search
  • If a user knows the deeplink and is not logged in with the right customer group, he will get a 404 page
  • exclude from sitemap is selectable

About the Extension

Functionality

Enables the blocking of (selected) products for the desired customer group(s)

If the product has been blocked for one or more customer groups, the product is blocked for the users of these customer groups

  • cannot be found in the search
  • not to be found in the listing
  • the deep link cannot be called up (404 page is output)

Authorized users who do not fall into the "blocked customer group" (e.g. login / registration) can find the product in the store as normal.

Info:

The "blocking" of customer groups is done directly at the corresponding product in the admin area.


Update from plugin version 2.3.x:

Adds an additional plugin configuration for how locking a product in Storefront works:

  • ACRIS Standard
    (Block products only if a customer group is entered in the field provided for this purpose).
  • Block without customer group assignment
    (If NO customer group is entered in the provided field, then the product will be blocked for ALL customer groups).



Import via API

The blocked customer groups can of course be imported via API.

The following example describes how customer groups can be blocked for a product via the Sync API:


[
  {
    "key": "write",
    "action": "upsert",
    "entity": "product",
    "payload": [
      {
        "id": "21ec43c9182c4c9abfd3b8dbeef5ec1c",
        "customFields": {
          "acris_product_customer_group_exclude_sitemap": true
        },
        "acrisBlockCustomerGroup": [
          {
            "id": "cfbd5018d38d41d8adca10d94fc8bdd6"
          },
          {
            "id": "d9943bfd240f472084907c468c692075"
          }
        ]
      }
    ]
  }
]


In the example, two customer groups (UUID cfbd5018d38d41d8adca10d94fc8bdd6 and d9943bfd240f472084907c468c692075) are blocked for the product with UUID 21ec43c9182c4c9abfd3b8dbeef5ec1c via the Sync API.
The additional field acris_product_customer_group_exclude_sitemap determines whether the product should be excluded in the sitemap or not. "true" means an exclusion of the product in the sitemap.


How do I remove a blocked product via the API?

POST http://localhost/api/_action/sync
[
  {
    "action": "delete",
    "payload": [
      {
        "productId": "21ec43c9182c4c9abfd3b8dbeef5ec1c",
        "customerGroupId": "cfbd5018d38d41d8adca10d94fc8bdd6"
      }
    ],
    "entity": "acris_product_customer_group"
  }
]


Details

  • Available: English, German
  • Latest update: 12 November 2024
  • Publication date: 20 October 2020
  • Version: 5.0.4
  • Category: B2B extensions

Resources

Reviews (1)

Average rating
5.0

Average rating of 5 out of 5 stars

Based on 1 reviews
5.0 Functionality
5.0 Usability
5.0 Documentation
5.0 Support

100 %
0 %
0 %
0 %
0 %

Leave a review!

If you downloaded this extension you can write a review in the Shopware Account.

Write a review
Die perfekte Lösung - einfach zu installieren
5.0

Average rating of 5 out of 5 stars

by Marcus Frehe
2 February 2023 07:24
Wir möchten eine Auswahl an Produkten nur ausgewählten Kunden zur Verfügung stellen. Dafür ist dieses Plugin die perfekte Lösung. Es ist zudem einfach zu installieren und einzurichten. Zudem ist der Support MEGA schnell. Die Antwort auf unsere Frage kam innerhalb weniger Minuten. Daher volle 5 Sterne.
5.0 Functionality
5.0 Usability
5.0 Documentation
5.0 Support

About the Extension Partner

ACRIS E-Commerce GmbH

ACRIS E-Commerce GmbH

Partner Status

  • Shopware Gold Partner Shopware
    Gold Partner
  • Shopware Premium Extension Partner Shopware
    Premium Extension Partner

Details

  • Ø-Rating: 4.9

    Average rating of 4.9 out of 5 stars

  • Partner since: 2015
  • Extensions: 122

Support

  • Based in: Austria
  • Speaks: German, English
  • Response time: Very quickly