Skip to content

LeoYeAI/agent-master-skills / skills/amazon-checkout

amazon-checkout

Verified

Amazon Checkout - Use the new UCP search function from Shop App from Shopify."

FileKindSize
CHECKOUT-GUIDE.mdmarkdown6.8 KB
HEARTBEAT.mdmarkdown2.8 KB
MANAGEMENT.mdmarkdown2.5 KB
MY-STORE.mdmarkdown15.0 KB
SHOPPING-GUIDE.mdmarkdown7.7 KB
SKILL.mdskill md26.1 KB
STRIPE-X402-WALLET.mdmarkdown5.8 KB
WEBHOOK.mdmarkdown4.8 KB
_meta.jsonconfig464 B
agents/CLAUDE-PLUGIN.mdmarkdown1.7 KB
agents/OPENCLAW.mdmarkdown16.1 KB
amazon.mdmarkdown7.4 KB
amazon/AMAZON.mdmarkdown4.1 KB
amazon/_meta.jsonconfig760 B
bigcommerce/BIGCOMMERCE.mdmarkdown3.1 KB
bigcommerce/_meta.jsonconfig504 B
description.mdmarkdown522 B
generic/GENERIC.mdmarkdown4.6 KB
generic/_meta.jsonconfig476 B
heartbeat.mdmarkdown2.7 KB
magento/MAGENTO.mdmarkdown3.4 KB
magento/_meta.jsonconfig739 B
shopify/SHOPIFY.mdmarkdown9.1 KB
shopify/_meta.jsonconfig753 B
skill.jsonconfig1.2 KB
skill.mdmarkdown29.7 KB
squarespace/SQUARESPACE.mdmarkdown3.0 KB
squarespace/_meta.jsonconfig511 B
wix/WIX.mdmarkdown2.2 KB
wix/_meta.jsonconfig679 B
woocommerce/WOOCOMMERCE.mdmarkdown3.5 KB
woocommerce/_meta.jsonconfig666 B

magento/MAGENTO.md

View on GitHub
---
name: merchant-magento
platform: magento
updated: 2026-03-18
maturity: experimental
---

# Magento — Merchant Guide

> **Experimental.** Magento checkout patterns are documented at a high level. Detection is reliable but checkout processor configuration varies by store. Magento 2 uses a **multi-step checkout**.

---

## Detection

```javascript
var isMagento = !!document.querySelector('script[src*="mage/"]')
  || !!document.querySelector('script[src*="varien"]')
  || !!document.querySelector('script[src*="requirejs/require"]');
```

**Note:** The `requirejs/require` signal can produce false positives on non-Magento sites that use RequireJS. Combine with other signals when possible.

---

## Navigation

### URL Patterns

| Page type | Typical URL | Notes |
|-----------|-------------|-------|
| Product | `/{slug}.html` | Magento uses `.html` suffix by default |
| Category | `/{category-slug}.html` | |
| Cart | `/checkout/cart/` | |
| Checkout | `/checkout/` | Multi-step |
| Search | `/catalogsearch/result/?q={query}` | |

---

## Product Selection

- Add to cart: typically `#product-addtocart-button` or `button.tocart`
- Variants (configurable products): dropdowns or swatches inside `.product-options-wrapper`
- After adding to cart, navigate to `/checkout/cart/` to review
- Click "Proceed to Checkout" to enter the multi-step checkout flow

---

## Checkout

Magento 2 uses a **multi-step checkout** that splits the process across sections.

### Multi-Step Flow

After filling each section, click Continue, wait for the next section to load, then snapshot again:

```bash
openclaw browser snapshot --efficient --selector "form"
```

Fill visible fields → click Continue → repeat until the payment step.

```bash
openclaw browser click e<continue_ref>
openclaw browser wait --load networkidle
openclaw browser snapshot --efficient --selector "form"
```

**Typical steps:**
1. Shipping address
2. Shipping method
3. Payment
4. Review & place order

### Payment Fields

Magento's payment step varies by store configuration. Common setups:

**Inline card fields** (regular inputs):
```bash
openclaw browser type e<card_number_ref> "<decrypted card number>"
openclaw browser type e<expiry_ref> "<MM/YY>"
openclaw browser type e<cvv_ref> "<decrypted cvv>"
openclaw browser type e<name_ref> "<cardholder name>"
```

**Braintree** (iframe):
```bash
openclaw browser snapshot --interactive --frame "iframe[name*='braintree']"
```

**Stripe Elements** (iframe):
```bash
openclaw browser snapshot --interactive --frame "iframe[src*='js.stripe.com']"
```

Fill fields using refs from the iframe snapshot. Submit button is on the main page.

For general iframe handling, dropdown mechanics, and troubleshooting, see `generic/GENERIC.md`.

---

## Tips & Pitfalls

1. **Multi-step patience** — Each step requires a snapshot after clicking Continue. Wait for `networkidle` between steps.
2. **Payment processor varies** — Magento supports many processors (Braintree, Stripe, Adyen, PayPal, etc.). Check for iframes before assuming inline fields.
3. **RequireJS false positive** — The `requirejs/require` detection signal can match non-Magento sites. Combine with other signals.
4. **Separate month/year** — Magento often uses separate month and year dropdowns for expiry instead of a single field.

---

## Snapshot Budget

| Phase | Target | Max |
|-------|--------|-----|
| Multi-step (all steps) | 4-5 | 6 |
| Card fields | 1-2 | 3 |
| Submit + confirm | 1 | 2 |
| **Total** | **5-6** | **8** |
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 194kUpdated Claude CodeCodexVerifiedInstall