bagisto/agent-skills

bagisto-product-type-development

Use when creating or changing a Bagisto product type — the producttypes config, an AbstractType subclass, or type-specific cart, pricing and inventory behaviour.

Ver código fuente

Cómo usar

  1. Copia el comando y revisa el paquete antes de instalarlo en tu entorno de agente.
  2. Consulta las herramientas, credenciales y entornos necesarios en el documento original.
  3. Describe las entradas y el resultado deseado; contrasta la salida con las fuentes.
npx skills add https://github.com/bagisto/agent-skills --skill bagisto-product-type-development

Antes de empezar

  • La instalación no incluye suscripción al modelo, cuota API ni permisos sobre tus archivos.
  • Las estrellas e instalaciones reflejan actividad, no una prueba independiente de calidad o seguridad.
Documento original del Skill

Contenido del repositorio de origen con títulos, ejemplos, código, tablas, enlaces e imágenes preservados.

Product Type Development in Bagisto

Overview

Creating custom product types in Bagisto allows you to define specialized product behaviors that match your business needs. Whether you need subscription products, rental items, digital services, or complex product variations, custom product types provide the flexibility to create exactly what your store requires.

When to Apply

Activate this skill when:

  • Creating new product types in Bagisto
  • Building subscription or service-based products
  • Implementing custom product behaviors
  • Adding type-specific validation and pricing
  • Modifying inventory/stock handling

Reference files — load only what the current task needs

FileLoad when
configuration.mdThe product_types config and how Bagisto reads it
abstract-type.mdAbstractType and the methods worth overriding
building-a-type.mdA complete worked implementation, testing, pitfalls

REQUIRED SUB-SKILL: Use bagisto-change-verification before calling any change done.

Relacionados por tarea

del mismo repositorio

Más Skills

Todos los Skills
bagisto
Comunidad

bagisto-attribute-development

Use when working with Bagisto's EAV attribute system — adding or changing an attribute, attribute family or group, reading or writing a product attribute value, or debugging a value that reads back empty or from the wrong locale or channel. Trigger phrases include "attribute", "EAV", "attribute family", "attribute group", "attribute option", "custom attribute", "valueperlocale", "valueperchannel", "productflat", "swatch".

instalaciones
1
GitHub Stars
12
Actualizado
1 oct
bagisto
Comunidad

bagisto-code-review

Use when reviewing Bagisto code changes or a pull request for correctness, convention compliance or quality, or when asked whether a change is ready to merge. Trigger phrases include "review", "code review", "PR review", "is this correct", "conventions", "violations", "code quality", "ready to merge".

instalaciones
1
GitHub Stars
12
Actualizado
1 oct
bagisto
Comunidad

bagisto-documentation

Use when writing or updating any Bagisto documentation site — the developer documentation, the merchant user guide, or any other Bagisto docs repository — covering page content, code samples, screenshots, the sidebar, image naming, and moving or deleting pages. Trigger phrases include "docs", "documentation", "user guide", "developer documentation", "dev docs", "merchant documentation", "marketplace docs", "document this", "update the docs", "add a doc page", "screenshot", "ImagePopup", "redirec

instalaciones
1
GitHub Stars
12
Actualizado
1 oct
bagisto
Comunidad

bagisto-payment-method-development

Use when creating or changing a Bagisto payment method — a payment class, the payment methods config, the checkout redirect and callback flow, or integrating a gateway such as Stripe or PayPal. Trigger phrases include "payment", "payment method", "payment gateway", "Stripe", "PayPal", "Razorpay", "checkout payment", "redirect", "webhook".

instalaciones
1
GitHub Stars
12
Actualizado
1 oct