{
 "schema": "aiblocks-page/1",
 "id": "agency-engineering-drupal-shopping-cart",
 "type": "agent",
 "name": "Drupal Commerce developer",
 "summary": "Plan or review a Drupal Commerce store, from products and checkout to payments, tax and orders, with a test list to clear before go-live.",
 "headline": "Drupal Commerce developer",
 "subhead": "Tell it what your Drupal store sells, how checkout and payments work now and what is wrong or new. It writes a plan for the catalog, checkout, payment gateway, tax, promotions and order flow, with a test list. You get a plan for your developer, not live changes.",
 "job": {
  "id": "set-up-store",
  "name": "Set up your online store"
 },
 "level": "intermediate",
 "thinking": "high",
 "tested": true,
 "updated": "2026-11-03",
 "first_published": "2026-10-26",
 "inputs": [
  {
   "type": "question",
   "required": true,
   "label": "Question",
   "what": "the problem, decision or piece of work you want help with, and what a good outcome looks like"
  },
  {
   "type": "source_text",
   "required": false,
   "label": "Source text",
   "what": "a long source in full: an article, a video or talk transcript, or notes from a book, with its title, author and link"
  }
 ],
 "outputs": [
  {
   "type": "plan",
   "required": true,
   "label": "Plan",
   "what": "a dated plan: what to do, in what order, with a decision rule for each step"
  }
 ],
 "you_give": [
  "What you sell, such as physical goods, digital files or variants like size and colour.",
  "Your Drupal and Drupal Commerce versions, and where the site is hosted (optional)",
  "The payment gateway you use or plan to use, and whether it is in test or live mode.",
  "How tax works for you, such as US sales tax or EU VAT, and which countries you sell to.",
  "The problem or goal, for example \"tax is wrong at checkout\" or \"launch in six weeks\".",
  "Discounts you run or want, and how they should combine (optional)"
 ],
 "you_get": [
  "A product plan with product types, variations, attributes and stock rules.",
  "A checkout plan with each step and any custom pane, written to fail safely.",
  "A payment plan covering the gateway, test and live mode, webhooks and matching payments to payouts.",
  "A tax and promotion plan, set up as configuration and not custom code.",
  "A go-live test list and a deploy order, with risks and open questions."
 ],
 "use_when": [
  "You are about to build a Drupal Commerce store and want the plan checked before you build.",
  "Prices, tax or discounts on your Drupal store look wrong at the cart or in the order.",
  "You are adding a payment gateway such as Stripe or PayPal and want the setup and test steps.",
  "You are moving to Drupal Commerce from another shop platform and want to know what to map first."
 ],
 "skip_when": [
  "Your store runs on WordPress and WooCommerce. Use the WooCommerce checkout engineer.",
  "Your store is on Shopify. Use the Shopify store setup planner.",
  "You are not a developer and want a no-code store. Use the Shopify store setup planner or the WooCommerce store setup planner.",
  "Customers are being charged wrongly right now. Call your payment provider and your developer first. This agent cannot see or fix a live store.",
  "You want it to change settings, run Drush or deploy. It writes the plan. Your developer applies it."
 ],
 "output_sample": {
  "input": [
   "What you sell and how it varies, such as size and colour",
   "Your Drupal and Commerce versions, and your payment gateway and mode",
   "How tax and shipping work for you",
   "The goal or problem, and your discount rules (optional)"
  ],
  "prerequisites": [
   "A Drupal developer who can apply the plan on a staging copy first."
  ],
  "output": [
   {
    "name": "Scope",
    "contains": "Your goal, versions, gateway and mode, and the assumptions the plan makes."
   },
   {
    "name": "Product plan",
    "contains": "Product types, variations, attributes and when stock is taken."
   },
   {
    "name": "Checkout plan",
    "contains": "Each checkout step and pane, and how a failing pane is kept from blocking orders."
   },
   {
    "name": "Payment plan",
    "contains": "Gateway setup, where keys live, webhook checks and how payments are matched to payouts."
   },
   {
    "name": "Tax and promotion plan",
    "contains": "Tax and discounts as settings, with stacking rules and cases to test."
   },
   {
    "name": "Order flow",
    "contains": "Order states and moves, with refunds and cancels that keep the record."
   },
   {
    "name": "Go-live and test list",
    "contains": "Checks to clear, including a real test payment and refund, and the deploy order."
   },
   {
    "name": "Risks, gaps and checks",
    "contains": "Open questions and risks, with who should decide each."
   }
  ]
 },
 "output_shape": "SCOPE\n  Store goal <build, fix or review> | Versions <Drupal, Commerce> | Gateway and mode <name, test or live> | Assumptions <list>\n\nPRODUCT PLAN\n  <product type> | <variation type> | <attributes> | <stock rule>\n\nCHECKOUT PLAN\n  <step> | <panes> | <what happens if a pane fails>\n\nPAYMENT PLAN\n  <gateway> | <where keys live> | <webhook checks> | <how payments match payouts>\n\nTAX AND PROMOTION PLAN\n  <tax setup> | <promotion> | <conditions> | <how it combines with others>\n\nORDER FLOW\n  <state> | <move> | <what it triggers>\n\nGO-LIVE AND TEST LIST\n  <check> | <pass if> | <owner>\n\nRISKS, GAPS AND CHECKS\n  <issue> | <why it matters> | <who decides>",
 "how_to_use": [
  "Download the pack and add it to your AI as a skill. If you cannot, paste SKILL.md into a new chat, then paste references/source-agent.md.",
  "Write what you sell, your versions, your gateway and mode, your tax setup and the goal or problem. Never paste API keys or secrets.",
  "Type \"Plan this Drupal Commerce store. Use the structure in the skill. Mark every assumption and list what you cannot check.\"",
  "Check the payment plan first. Make sure test and live mode are clear, webhooks are checked and no secret sits in saved config.",
  "Walk through the go-live list with your developer. Run a real test payment and a refund before launch.",
  "Your developer applies the plan on a staging copy. The AI does not touch your site."
 ],
 "checks": [
  "The result addresses your actual task and cites the evidence used.",
  "Examples, role-play experience and targets are kept separate from verified results.",
  "Claims of tests, memory, tool access or completed actions match what actually happened."
 ],
 "next": [
  {
   "name": "Store tax setup planner",
   "url": "https://useaiblocks.com/skills/store-tax-setup-planner",
   "why": "Store tax setup planner"
  }
 ],
 "source": {
  "by": "Michael Sitarzewski and Agency Agents contributors",
  "repo": "msitarzewski/agency-agents",
  "url": "https://github.com/msitarzewski/agency-agents/blob/b37b5bb33b78f2c1d6567d98e25ca818e3259219/engineering/engineering-drupal-shopping-cart.md",
  "licence": "MIT",
  "original_name": "Drupal Shopping Cart Engineer",
  "commit": "b37b5bb33b78f2c1d6567d98e25ca818e3259219"
 },
 "credits": [
  {
   "title": "Drupal Shopping Cart Engineer",
   "by": "Michael Sitarzewski and Agency Agents contributors",
   "url": "https://github.com/msitarzewski/agency-agents/blob/b37b5bb33b78f2c1d6567d98e25ca818e3259219/engineering/engineering-drupal-shopping-cart.md",
   "used": "Original agent profile, preserved in references/source-agent.md; AI Blocks adds setup and review instructions."
  }
 ],
 "files": [
  "LICENSE",
  "references/source-agent.md",
  "SETUP.md",
  "source.json"
 ],
 "links": {
  "page": "https://useaiblocks.com/agents/agency-engineering-drupal-shopping-cart",
  "markdown": "https://useaiblocks.com/agents/agency-engineering-drupal-shopping-cart.md",
  "json": "https://useaiblocks.com/agents/agency-engineering-drupal-shopping-cart.json",
  "instructions": "https://useaiblocks.com/skills/agency-engineering-drupal-shopping-cart/SKILL.md",
  "download": "https://useaiblocks.com/skills/agency-engineering-drupal-shopping-cart.zip",
  "api_item": "https://useaiblocks.com/api/v1/items/agency-engineering-drupal-shopping-cart",
  "api_document": "https://useaiblocks.com/api/v1/documents/agent/agency-engineering-drupal-shopping-cart",
  "mcp": "https://useaiblocks.com/mcp"
 }
}
