Skip to main content

Magento 2 Bundle Items Inventory

Installation and User Guide for Magento 2 Bundle Items Inventory

Table of Contents

  1. Installation
    • Download Extension
    • Installation via app/code
    • Installation via Composer
  2. Configuration Settings for Bundle Items
    • General Settings
  3. Workflow
  4. Setting Up Bundle Items Association
    • Associating Bundle Items & Defining Quantities
    • Updating or Removing Bundle Associations
  5. Inventory Automation
    • On Purchase
    • On Refund
    • Out-of-Stock Handling
  6. What Customers See
  7. Bulk Import & Export
    • Bulk Import
    • Bulk Export

Installation

  • Download Extension: Once you have placed the order from our site then go to Account section and click on My Downloadable Products and download the extension package.

image (84) (1).png

  • Installation via app/code: Upload the content of the module to your root folder. This will not overwrite the existing Magento folder or files, only the new contents will be added. After the successful upload of the package, run below commands on Magento 2 root directory.

     

    php bin/magento setup:upgrade
    php bin/magento setup:di:compile
    php bin/magento setup:static-content:deploy

     

  • Installation via Composer: Please follow the guide provided in the below link to complete the installation via composer.

Configuration Settings for BundleAffiliate ItemsProgram 

Go to Admin > Stores > Configuration > Scommerce Configuration > Security Base

General Settings

  • Enabled – Select "Yes" or "No" to enable or disable the module.
  • License Key – Please add the license for the extension which is provided in the order confirmation email. Please note license keys are site URL specific. If you require license keys for dev/staging sites then please email us at support@scommerce-mage.com.

image - 2025-07-31T164813.407.png

Workflow

The extension empowers Magento 2 storesBundle Items Inventory extension allows store administrators to associate any number of component products with simple items in their catalogue—each with a robustprecise affiliatequantity. program,This enablingsetup customersenables toinventory promotededuction yourand products in exchangerestoration for commissionsboth main and allowingassociated admins(bundle) toitems efficientlyduring monitor, pay,purchases and managerefunds, programstreamlining performance.complex product management and keeping total inventory accurate.

ForSetting Customers:Up JoinBundle andItem UseAssociations the Affiliate Program

Associating Bundle Items & Defining Quantities

    Affiliate
  1. Navigate Registration
  2. to Products:
    Catalog > Products in your Magento Admin.
  3. Edit a Simple Product:
    Open the product you want to add bundle items to (e.g., "Deluxe Gift Set").
  4. Find the 'Bundle Items' Tab:
    (This extension will add a new tab or section named Bundle Items)
  5. Add Bundle Items:
    • Click

      Go'Add Bundle Item'.

    • Use the search/picker to Myselect Accountproducts >you'd Affiliatelike Programto afterinclude logging(e.g., in.

      "Gift Box", "Greeting Card", "Ribbon").
    • ReviewEnter the affiliatenumber programof descriptioneach anditem Termsrequired andper Conditionsunit (e.g., 1 ribbon per gift set, 2 cards per set).

      • Accept the Terms by checking the box; the box text and content depend on admin configuration.

    • Save the main product to commit changes.
    • ClickExample:
      If "Family Baking Kit" requires 1 rolling pin, 2 spatulas, and 3 mixing bowls per kit, add each as a bundle item and specify quantities accordingly.

      Updating or Removing Bundle Associations

      • To change quantities: Edit the relevant field next to each bundle item.
      • To remove an item: Use the remove/delete option within the grid.

      image - 2025-07-31T164933.254.png

      Inventory Automation 

      On Purchase

      When an order containing the main product is placed:

      • The main product stock decreases by the quantity purchased.
      • Each bundle item's stock decreases based on the quantity defined per main product × number of mains sold.

      Example:
      Purchasing 4 "JoinSpa Program".Kits" Once(each enrolled,requires you’ll2 seecandles yourand unique1 referralbottle link.of oil):

      • Main product: 4 deducted
      • Candles: 8 deducted (4 × 2)
      • Oil bottles: 4 deducted (4 × 1)

      ReferralOn LinksRefund

    • Choose

      AffiliateEntity Dashboard

      Type:

      "Bundle Item Associations"
    • Upload and Import:
      • The

        Insystem My Account > Affiliate Dashboard, view:

        validates:
        • All

          TotalSKUs Sales Generated

          exist
        • Quantities

          Totalare Commissionwhole Earned

          numbers
        • No

          Commissionduplicate Paid/Pending

          relationships
        • are
        • Performance overview (click-throughs, orders)

      Referred Orders Dashboard

      • Go to My Account > Referred Orders to see:

        • Order ID, Order Date

        • Order Amount, Status

        • Predicted commission amount

          present
      • Errors

        Topwill summaryappear displays:

        with
          guidance
        • to

          Total order amount

        • Total commission paid

        • Total commission pending

          fix.

      ForSample Admins:CSV ManagingFormat

      main_product_skubundle_item_skuquantity_per_unit
      spa-kitcandle2
      spa-kitoil-bottle1
      baking-kitspatula2

      image - 2025-07-31T165218.847.png

      Bulk Export

      1. Go to:
        System > Data Transfer > Export
      2. Choose "Bundle Item Associations" as entity.
      3. Download the AffiliateCSV:
        The Programexport

        Affiliatewill Dashboard

        show:
        • Each

          Navigatemain to Marketing > Affiliates in the admin panel.

          SKU
        • Associated

          Thebundle dashboardSKUs

        • grid lists
        • Quantities for each affiliate:

          • Customer ID, Name, Email

          • Total Orders, Sales Amount, Commissions (pending/paid)

            link

      Actions:image.png

      • Search, filter, and sort to find affiliates easily.

      • Export affiliate data for reporting or external processing.

      • Click on an affiliate to see:

        • Order breakdowns

        • Payout history

        • Details of commissions

    Referred Orders Overview (Admin)

    • Examine which orders were generated by each affiliate from the dashboard.

    • View and validate predicted commissions, manage disputes or issues.

    Payout Management

    • View a list of affiliates eligible for payouts:

      • Payouts are only due for orders with approved statuses (e.g., Complete, Shipped).

      • Set minimum payout threshold and payout schedule (weekly, monthly, manual).

    • Payout Processing:

      • Select payout method (Bank Transfer or PayPal).

      • Mark payouts as “Paid”–affiliate’s balance resets to 0.

      • All payouts and payment history are tracked for each affiliate.

      • Affiliates receive email notification templates you configure.

    • Refunds and Cancelations:

      • If an order is refunded or canceled after commission has been paid, commission is deducted or reversed automatically.

    Multi-tier Commission Structure

    • Enable/Disable tiered commission system from Affiliate Settings.

    • Configure slabs and rates, e.g.:

      • £1–£999.99: 10% commission

      • £1,000–£1,999.99: 15% commission

      • £2,000+: 20% commission


    Order & Affiliate Tracking

    How Order Attribution Works

    • When a prospect clicks your referral link:

      • A browser cookie stores your affiliate ID for 30 days.

    • Any purchase in that period is attributed to you.

    • After 30 days or if no link is used, no commission is awarded.

    If you have a question related to this extension please check out our FAQ Section first. If you can't find the answer you are looking for then please contact support@scommerce-mage.com.