Want to protect a Shopify collection? Contact support@crowdhandler.com and we'll be happy to help you figure out the correct room configuration.

IMPORTANT

Stock Syncing is not compatible with rooms configured to protect collections.
  1. In the CrowdHandler control panel navigate to the room that you have configured to protect your product details page (PDP). *

    * Not sure how to configure a room? Check out our handy guide here.

  2. Here is an example of a room I have set up to protect a PDP on a demo Shopify site.


  3. To kick off inventory syncing & enable anti-cheat protection for this room we are going to modify the waiting room slug to create a map between CrowdHandler and your Shopify product ID, variant, or collection.

  4. We can create that map in two different ways. 
    1. By Shopify product ID.
    2. By Shopify variant ID.
    3. By Shopify Collection ID.
  5. Syncing inventory by Shopify product ID sums the inventory quantity of every variant belonging to the associated product. A screenshot of my example product can be seen below.

  6. In the example screenshot for my product the weekdayer in lilac, we have identified the product ID and the expected Inventory count. This particular product has no variants so the total expected Inventory to be synced to CrowdHandler is 100. If there were multiple variants associated with this product (for example, different product sizes) the quantity of all product variants will be summed and synced to CrowdHandler.
  7. We can now change our room slug value to that of the product ID and toggle Show Stock Availability to begin syncing. Stock is updated automatically every minute.

  8. Stock availability will automatically be displayed in your waiting room. *

    * Want to read more about stock availability?

  9. If instead of syncing inventory by product ID, you would like to sync the inventory for a specific product variant you can set the slug value as follows.

    A guide to finding variant ID in Shopify can be found here.
  10. If you would like to configure your room to protect a Shopify collection, you should set the slug using the collection-your-collection-id format as shown below. Although CrowdHandler won't track the stock availability of your collection, it will protect all of the products associated with the collection using the anti-cheat mechanic.

    A guide to finding collection ID in Shopify can be found here.
  11. If you would like to automatically regulate CrowdHandler throughput based on Shopify stock availability, you can check One In One Out and Track Stock Availability in domain settings. CrowdHandler will dynamically adjust the maximum amount of sessions allowed on to your site based on stock availability and will stop putting people through to your site as soon as the tracked stock level reaches zero.

    If you are syncing stock across multiple rooms, the quantity will be summed.

Disable and Enable Anti-Cheat and Stock Syncing

You are able to independently enable and disable anti-cheat and stock syncing in the CrowdHandler control panel via the ShopifyJS deployment wizard.

Anti-cheat and stock syncing for Shopify are enabled by default.

Disable dynamic checkout buttons when using Anti-cheat.

CrowdHandler's anti-cheat protection requires users to add the item to the cart, rather than using Buy Now buttons, so you will need to disable dynamic checkout buttons for any pages that you intend to protect with CrowdHandler I.e. your PDP page. Failing to do so may result in users having items removed from their cart. 

A guide to working with dynamic checkout buttons can be found in the Shopify documentation.  

https://help.shopify.com/en/manual/online-store/dynamic-checkout/add-buttons