SyncSHOP documentation

Written alongside the code; the project website publishes it for each release.

Installing

  • Installation: the install wizard and syncshop:install
  • Deployment: server requirements, one-time setup and releasing

For developers

  • Running SyncSHOP locally: setup, https://syncshop.test, composer dev, Mailpit
  • The project website: syncshop.ro, served by the SaaS app: the site that publishes these docs, our admin and the package server
  • Updates, data feeds and releases: syncshop:update, the signed feeds and composer release
  • Code layout: the syncshop/core, syncshop/theme-default and syncshop/skeleton packages and how they load
  • Writing an extension: the package, the registries and the contract check
  • Extension API: the @api types extensions and themes may use (generated)
  • Quality checks: composer check, the accessibility check and the Core Web Vitals budget
  • Admin interface: how the admin styles, components, icons and menu fit together
  • The catalog: products, variants, the category tree, attributes and GPSR
  • Search: the search contract, PostgreSQL and Typesense, failover and the outbox
  • Storage: the media disks, the bucket settings and moving files
  • Cart and totals: carts, the totals pipeline and its stages, the SGR deposit, checkout and placing orders
  • Promotions and vouchers: the promotions and voucher stages, matching, offers and the Omnibus history
  • Affiliates: link visits and consent, the referral cookie, attribution of orders
  • Loyalty: the points ledger, the loyalty slot, earning and reversing with the order
  • Marketing: product feeds and the newsletter: the feed catalog, the quality gate, writers, rebuilds; double opt-in, consent proof, Newsman and Klaviyo
  • Drivers: registering drivers, credentials, the call log, webhooks, and the payment, courier and invoicing contracts
  • Customers: shopper accounts, their guard, e-mail confirmation, resets, cart merge and claimed orders
  • Digital products: the Digital module, download entitlements and electronic delivery
  • Licensing: licence keys, pools, activations and the signed licence API
  • Analytics: the append-only profit ledger, what each order books and the cost snapshot
  • Invoicing: invoice drivers and the e-Factura (CIUS-RO) XML
  • B2B: companies, buyers, the buyer's price context and the ANAF register
  • Orders: the order book, the status machine and its stock effects, events and the order e-mails
  • Legacy import: the old database, steps, the id map and the import contracts
  • Storefront API: customer tokens, the catalogue and the cart for apps and headless front ends
  • Storefront MCP server: the tools AI assistants call, the door, agent baskets and the checkout link
  • Integration API: declaring a resource, keys, limits, the log, OpenAPI and Postman
  • Subscriptions: plans, the renewal engine, dunning and self-service
  • Content pages: pages, slug history, Markdown rendering and the legal templates
  • Storefront: the theme module, its contracts, languages and routes, the --store-* layer
  • Supplier imports: supplier feeds, the safe fetcher, the reader, matching, the dictionary
  • Inventory: stock per location, the movements ledger and reservations
  • Pricing: the buyer's context, price lists, tiers and currencies
  • Money, VAT, exchange rates and addresses: amounts, dated VAT rates, BNR rates and the SIRUTA register

For shop owners and staff

  • Signing in and two-factor authentication
  • Users and roles
  • Scheduled tasks
  • Extensions: what is installed next to SyncSHOP and where it shows up
  • Updates, VAT rates and the SGR deposit: versions, the licence key and the legal data received automatically
  • Catalog: products, categories, brands, attributes, manufacturers and GPSR
  • Locations: shops, pickup points, warehouses and their hours
  • In-store sales: the cash registers' receipts imported (CSV or API), stock and revenue per store
  • Stock: goods receipts with costs and the weighted average cost; stock per location, receipts, corrections and stocktakes
  • Promotions and vouchers: promotions by schedule, buy X get Y, tiers, free delivery, and voucher codes
  • Affiliates: affiliates with a link and a coupon, how orders are credited to them
  • Marketplace orders: eMAG orders brought into the shop, accepted there, their status kept in step, and why one waits
  • Blog: articles in categories, with their products, questions and a cover, scheduled and previewed
  • Supplier imports: supplier feeds (CSV, XML, JSON), costs and prices, new products as drafts, the dictionary
  • Expiry dates: lots and best-before dates in stock, nearest first, short-date discount tiers
  • Bundles and packs: variants made of other variants, sold as one line, stock from their components
  • Campaign pages: pages built from rows, columns and modules (text, products, banners, brands), scheduled and previewed
  • Loyalty points: points earned on delivered orders and spent in the cart, the rules, corrections
  • Newsletter: subscribing with double opt-in, leaving in one click, the proof of consent, Newsman and Klaviyo
  • Product feeds: feeds for Google, Meta, TikTok, Compari, CSV and JSON, what goes in and when they are rebuilt
  • Customer accounts: signing up and in, confirming the e-mail, new passwords, orders and carts in the account
  • Digital products: downloads, their files and versions, link rules, the consent for immediate delivery; licence keys and the licence API; gift cards
  • Cookies and privacy: the cookie question, Consent Mode v2, a customer's data export and erasure, retention
  • Importing from the previous version: connecting to the old database, the steps, dry runs, 301s
  • Analytics: sales, profit, the monthly P&L, margins, exports
  • AI: your own provider keys, features, budgets, usage
  • Chat: the website chat, hours, the inbox
  • API keys: keys for ERPs and other systems, their scopes, the call log and the reference
  • Subscriptions: plans, renewals on the saved card, unpaid renewals, what customers can do
  • Pages and legal pages: your own pages and the legal ones from templates (terms, privacy, delivery and returns, withdrawal form, consumer information, accessibility statement)
  • Company details: the shop's own company, from ANAF, for invoices, e-Factura and legal pages
  • Company accounts: B2B companies checked against ANAF, their price group, terms and buyers
  • Orders: the order list, an order's page, statuses and the e-mails customers get
  • Prices: price lists, tiers and customer groups
  • Currencies: shopping in euro and other currencies, rates, markup and rounding
  • The online shop: the storefront's pages, cart and checkout, delivery and payment settings, languages, appearance and AI crawlers
  • Integrations: card payments, couriers and invoicing services, credentials and demo services
  • Search: PostgreSQL or a Typesense cluster, the connection test and rebuilding the index
  • Storage: keeping images and files on the server or in an S3 bucket

More guides are added as the features land.