rs Cart Undefined Discount
I think the cart totals look a bit off when no discount is passed in — e.g. calling cartTotal(items) with the second arg left out. Thoughts on what's happening?when to use it
Community prompt sourced from the open-source GitHub repo elon-choo/fablever (MIT). A "rs Cart Undefined Discount" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.
tags
roleplaycommunitygeneral
source
elon-choo/fablever · MIT