# AgizoAI Cart Templates

Copy any template from this folder to `your-theme/agizoai-cart/` and edit it there. Theme templates are loaded before plugin templates so updates do not overwrite custom storefront markup.

Override-ready templates:

- `product-card.php`
- `order-tracking.php`
- `downloads.php`

Theme developers can also use these filters/actions:

- `agizoai_cart_template_paths` to add extra theme lookup paths.
- `agizoai_cart_locate_template` to change the final template path.
- `agizoai_cart_template_args` to adjust variables passed to templates.
- `agizoai_cart_before_template` and `agizoai_cart_after_template` around template output.

All storefront classes are prefixed with `agizoai-cart-` and the front-end CSS now uses design tokens such as `--agizoai-cart-primary`, `--agizoai-cart-radius`, `--agizoai-cart-card-bg` and `--agizoai-cart-border`, so shopping themes can restyle the plugin without editing plugin files.


## Customer account and quick checkout notes

The `[agizoai_cart_account]` shortcode now supports customer registration, sign-in, sign-out and guest order lookup. Theme developers can style the account UI via `.agizoai-cart-auth-grid`, `.agizoai-cart-auth-card` and `.agizoai-cart-account-welcome` without editing plugin PHP files.

Product purchase panels can show both **Add to cart** and **Buy now** buttons. The Buy now button uses the `quick_checkout` front-end action to add the selected product or variation and redirect customers directly to the configured Checkout page.
