Skip to documentation

Set up product extraction for a website

Choose how Pektrix finds names, prices, images and other product details on store pages.

On this page

Choose a starting profile

  1. Open Commerce → Extraction profiles. In Quick Setup, choose the platform used by your store. If you are unsure, paste the public store page source in Auto-Detect Platform and select Detect Platform.
    Product extraction Quick Setup with the Shopify preset outlined among the platform choices.
    Choose the platform your store runs on to apply its preset. Use platform detection below the presets if you are unsure.
  2. For a custom store, select Create Custom Profile, enter a profile name and default currency, then choose extraction methods that match the store, such as JSON-LD or OpenGraph.
  3. For a site with custom markup, use Show Advanced Selectors. Set the product container and the name, price or URL selectors. The editor distinguishes XPath for raw HTML from CSS for rendered pages.
    Advanced extraction settings with the Product Container field outlined in HTML Selectors (XPath).
    For raw HTML, enter an XPath expression that selects one product container. Check that its name and price both belong to that item.

Check the resulting catalogue

  1. Save the profile and use Set as Default on the intended profile where needed. Collect a representative product page in Knowledge → Website sources.
  2. Compare the resulting entry under Commerce → Products with the original page. Check a sale item or a product with unavailable stock before expanding collection to the whole store.