Checkbox for a product item to exclude it from "discount %" calculation

I’ve prepared a sample Database Tools import file to demonstrate my idea.

  • Please create a backup before importing it. There might be possible naming issues.
  • Please update to latest version before importing it.

Selective Discount Button.zip (1.4 KB)

What it does is…

  1. You’ll edit products and set Discount tag as Y for selected products.
  2. As you add orders SambaPOS will mark orders for these products as Discount. Non admin users won’t see this state or it won’t appear in reports.
  3. That config keeps your current Discount % button adds a second “Discount” button. When you type a rate and click that only orders with discount state will taken into account while calculating discount.

Since this is a customized discount we store rate as a ticket tag. You can print it if needed or get order totals marked as discount with {ORDER STATE TOTAL:Discount} tag.

:clap::clap: Thank you very much for the generous donation. I’ve already prepared it before that but couldn’t released it because of the need of releasing new version. I mean we always welcome donations but it has no relation with requests or features we’ll implement :slight_smile: We’re trying to help everyone as time permits.

3 Likes