- uploadItemPhoto: Add EXIF orientation fix, generate thumb/medium/full sizes - getActiveCart: Disable old cart lookup (always returns no cart) - getOrCreateCart: Always create fresh cart instead of reusing old ones - getCart: Add IsDeleted filter, calculate subtotal/tax/total server-side - getDetail: Remove default 8.25% tax rate (business must configure) - menu-builder: Add lightbox for full-size images, use thumbnail URLs Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
18 lines
521 B
Text
18 lines
521 B
Text
<cfsetting showdebugoutput="false">
|
|
<cfsetting enablecfoutputonly="true">
|
|
<cfcontent type="application/json; charset=utf-8" reset="true">
|
|
<cfheader name="Cache-Control" value="no-store">
|
|
|
|
<cfscript>
|
|
/**
|
|
* Get the user's active cart (status=0) if one exists
|
|
* DISABLED: Always returns no cart - old carts are abandoned automatically
|
|
*/
|
|
|
|
// Always return no active cart - users start fresh each session
|
|
writeOutput(serializeJSON({
|
|
"OK": true,
|
|
"HAS_CART": false,
|
|
"CART": javacast("null", "")
|
|
}));
|
|
</cfscript>
|