Skip to content

Testing One Product

Matt MacDougall edited this page Aug 29, 2026 · 1 revision

Testing one product

Test mode renders feed values for a chosen product without replacing the normal feed file, changing normal feed status, uploading files, or generating a Promotions companion file.

Documentation baseline: public repository commit b77605d. Last reviewed: 2026-08-29.

Test in the Admin

From Catalog > Mage-OS Shopping Feed > Feeds Management, select Test Feed for the saved feed.

Choose whether the input is a SKU or product ID, enter the value, and submit it. The product must be enabled and visible in the catalog. To test a child of a complex product through the Admin, enter the parent SKU, then inspect the rendered child rows.

Test from the CLI

Run:

bin/magento mage-os:shopping-feed:generate <feed_id> <sku>

The result prints each mapped field and reports the number of product rows. A configurable, grouped, or bundle product can produce more than one row depending on the feed's complex-product settings.

Representative product set

One successful SKU does not prove the whole feed. Test at least:

  • A regular-price simple product
  • A product with an active special price and valid dates
  • An out-of-stock product
  • A product containing quotes, delimiters, line breaks, Unicode, or HTML in mapped text
  • Each enabled complex-product type
  • A configurable with multiple child options
  • An MSI product assigned to multiple sources for Local Inventory

Compare source to output

Check values at the configured store view and currency scope:

  1. Product ID or SKU mapping
  2. Parent and child identity
  3. Title and description transformations
  4. Regular price, sale price, and effective dates
  5. Availability and quantity
  6. Product and image URLs
  7. Category and taxonomy values
  8. Shipping and promotion identifiers where enabled

After test output is correct, generate a complete file and confirm product counts and row shape. See Manual and CLI generation.

Clone this wiki locally