Discount

Are there any receipt variables which will give us the subtotal before applying a discount on the items.

Example:

Item 1: $10 Discount ($2.00)

Item 2: $30 Discount ($5.00)

Sub Total: $33 (after the applied discounts) But we need to get the subtotal before the applied discounts which is $40.

Thanks, Steve

Reply to
Steve
Loading thread data ...

Steve,

I don't believe that this is possible with either of the out-of-the-box formats - they both will show the item's original pre-discount price, but the pre-discount subtotal will not be displayed.

If you are able to modify XML, it is possible to customize the receipt to show what you're asking for. The Transaction Entry XML variable that represents the entire order's pre-discount price is called "Entry.ExtendedFullPriceOnOrder".

Hope this helps! Best Regards,

Reply to
Andy Schultz

Hi Andy,

Thank you for your response. When I put that variable into the XML it does not display anything.

My outcome is to have a Percentage % shown on the bottom of the receipt which indicates to the customer how much percent they saved.

Currently it shows "You saved $!". There is a variable called Transaction.DiscountPercent, but this only works if the entire sale is discounted. I would like to be able to scan a few items and have different discount rates for each item.

Best regards, Steve

"Andy Schultz" wrote:

Reply to
Steve

Hi Steve,

Sorry, what I gave you was the pre-discount value for an item entry. Here is how to display what you're looking for. This will put the pre-discount amount right above the discounted subtotal on the out-of-the-box 40 column receipt. The 3rd line in this xml is the discounted subtotal that already exists (I've only added the words "(Post-Discount)" to the label). So you actually don't have to copy that 3rd line. You can search the XML for the 3rd line, and when you find it, paste the first two lines in my XML here above it.

I would recommend saving this receipt as a different file than the original out of the box 40-column receipt to keep the original untainted. Whether or not you do that, though, your next step will be to go to Store Operations Manager, Database > Registers > Receipt formats and open the properties of the 40-column receipt format. Click the lookup glass next to "Sales" and choose the XML file you just modified and saved. You will then have to restart POS at each register before that register will use the new format.

Transaction.SubTotal + Transaction.DiscountPurchased "Sub Total (Pre-Discount) |" PreDiscountSubTotal "Sub Total (Post-Discount) |" Transaction.SubTotal

Reply to
Andy Schultz

Thanks so much Andy! Thats wonderful!!

Best regards, Steve

Reply to
Steve

Hi Andy,

I've been trying to find a solution to this very small problem all day and I thought I might ask you.

We have modified your script to:

transaction.discount / (Transaction.SubTotal + Transaction.DiscountPurchased) DiscountPercent

When we make a sale of multiple items with each item having different discounts, it outputs for example: 45.632683429%. Is there a way to format it to display only 45%? We tried to change the type="vbcurrency"> to "integer" because the vbcurrency was displaying the $ sign.

Thanks, Steve

"Steve" wrote:

Reply to
Steve

BeanSmart website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.