feat: Premium built and switched off; default machine minimums (front 3, Marcus 10/11)
Premium (8 passadas, R$ 39,90/m, SKU DTFP.TX.100CM) is a fifth textile ready-sheet product: priced on the server and the Site, a hidden fifth card, a PREMIUM hot-folder class, its Tiny SKU, and a products row created disabled by a migration until Dropstar says 'testado'. A machine with no typed minimum now alerts at Dropstar's fixed minimums: 1 roll of film, 1 L of each ink, 5 kg of powder. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -97,7 +97,8 @@
|
||||
PRECO[mode]=product.unit_cents/100;
|
||||
FAIXAS[mode]=product.bands||[];
|
||||
const card=document.querySelector('button.ec[data-modo="'+mode+'"]');
|
||||
if(card&&!product.enabled)card.hidden=true;
|
||||
// Premium starts hidden in the HTML and only appears once enabled.
|
||||
if(card)card.hidden=!product.enabled;
|
||||
}
|
||||
document.querySelectorAll('[data-preco]').forEach(el=>{
|
||||
const product=session.products[el.dataset.preco];
|
||||
|
||||
Reference in New Issue
Block a user