Navigation links carried data-modo-cta and opened loose artwork directly, so every entry point except the price card bypassed "Arquivo por metro". Dropping a PNG or JPG from the by-metre editor then switched the order to loose artwork and repriced it, while the same screen advertised PNG/JPG in its drop zone and marked that path as the cheaper one. Replace the guessing with a declaration: the product is the choice. #tipoEnvio shows ready sheet and loose artwork side by side with both prices, in all four modes, reversible until a file is attached and locked afterwards. sel() no longer reassigns modo, so a file can never change product or price on its own. Verify the declaration instead of trusting it. medirFolha returns dpiFolha, and an image without the pixels to span the film width at DPI_RECUSA is refused as a sheet, with the numbers shown and one click to send it as loose artwork. Previously a small image declared as a sheet was billed by the metre. Scope pintaCaminhos to #caminhos .cam: its global selector was clearing the new control. Move the checkout status out of #carr, which the success path hides, so a paid order still confirms itself to the customer. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
14 KiB
14 KiB