Bug with Merged Printing where Adjust Order Price Promo Discount Tags Calculated Wrong

However looks like there is bug in print…

Have added price for reference;

[ORDERS]
-- Default format for orders
<J00>{QUANTITY} x {PRODUCT NAME} {PORTION}{PRICE TAG} [='{ORDER TAX RATE:VAT}' != '' ? '*' : '']|£{TOTAL AMOUNT} {PRICE}
{ORDER TAGS}

Dont Merge set;
image

Merged;
image

Seems like its merging and only counting one of the two order tags discount value…

Looks like it also screws up the total and remaining balance.
Remaining balance is correct and shown on screen, total reflects the incorrect 24.92 on the merged line.

We may need to not allow merging until that is fixed.

Just noticed I hadnt changed the 2 for 19.95 back to price after putting max on tag back to 1 and thought that might relate however changing to price on both doesnt solve;
image

And isnt specific to forcing single/max 1 tag, changed back to apply both and same result;
image

Who is responsible for bugs now?

Vehbi is the primary developer now but he is gonna need help. He had a lot of projects I wouldn’t be surprised if they hire more.

1 Like

Lets make sure it is a bug though. I will look at it.

1 Like

Would be nice to get this sorted. This promo functionality would be a selling point for many if fully working.

Did you try using the Use Order Price setting?

Great, let me know.

Have tried on the other offer I setup for free drink with sunday roast

image

Similar results.

Changing order price to True - similar results;

image

I mean the setting at the bottom… You have it set to false on both.

Sorry, must not have copies second screenshot, changing to true didnt change.

Changed price selector to empty rather than {PRICE}

image

New orders

Submitted

printed;
image

Similar results.

On screen seems fine,
Pretty sure its templateing related issue rather than the action itself.

Perhaps related to the fact that the tags dont return a price in template?
@Jesse have you found this on prints?

Setting promotion tag to be included in order price returns similar results;

image

image

I do not list prices in my prints… but Let me check.

image

image

So yes its messed up. That should have shown 7.39 But let me check something…

Hmm, do you have tag price in template?

Yours adds up though.

Let me look. Im not sure,.

I used TOTAL PRICE for it.