@fayz-ai/plugin-shop 0.8.3 → 0.9.0-next.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -76,6 +76,13 @@ export function buildShopDiscountEntity(): EntityDef<Discount> {
76
76
  },
77
77
 
78
78
  // — Limites —
79
+ {
80
+ key: 'minSubtotal', label: 'Pedido mínimo', type: 'currency', group: 'limits', min: 0,
81
+ currency: 'BRL', currencySymbol: 'R$', currencyLocale: 'pt-BR',
82
+ placeholder: 'sem mínimo',
83
+ hint: 'Valor mínimo do pedido para o cupom valer. Deixe vazio para não exigir mínimo.',
84
+ showInTable: false,
85
+ },
79
86
  {
80
87
  key: 'usageLimit', label: 'Limite de usos', type: 'number', group: 'limits', min: 0,
81
88
  placeholder: 'sem limite', hint: 'Deixe vazio para uso ilimitado.', showInTable: false,