SuperAPI AI Directory

1c-bitrix-cms-commerce

Coding & development

View repository

Updated 10-16 09:09

About this skill

1c-bitrix-cms-commerce

Online store on Bitrix (catalog, sale, currency modules). Orchestrator gates: code in /local, do not touch the core, before handover — check-conventions. The catalog is an add-on over an information block (see 1c-bitrix-cms-content for basic information blocks).

Environment

  • "files only" → installation/handler code + instructions; "live Bitrix" → you can create a product/order and verify.

Task → recipe (../../shared/kb/recipes/commerce/)

  • catalog: product, trade offers (SKUs), units of measure → commerce/01-catalog-setup.md
  • price types and currencies → commerce/02-prices-currencies.md
  • cart and order (D7 Order/Basket, statuses) → commerce/03-basket-order.md
  • payment systems and delivery (handlers, Business Value) → commerce/04-payment-delivery.md
  • checkout and personal account (components) → commerce/05-checkout-cabinet.md
  • exchange with 1C (CommerceML: catalog and orders) → commerce/06-1c-exchange.md

Knowledge base

Catalog/order — ../../shared/kb/api-map.md (commerce lines); information blocks — sub-skill 1c-bitrix-cms-content. Catalog of standard components (catalog.*, cart/order — their parameters and what to copy into /local) — ../../shared/kb/components/00-index.md (do not load in full, take the needed card). ⚠️ the order is assembled by \Bitrix\Sale\Order/Basket objects and saved $order->save() (not direct SQL); check Result::isSuccess().

Completion

../../shared/scripts/check-conventions.sh <каталог_проекта>