easy-digital-downloads icon indicating copy to clipboard operation
easy-digital-downloads copied to clipboard

add item price to {download_list} email tag

Open SeanChDavis opened this issue 9 years ago • 7 comments

Any reason why the {download_list} email tag doesn't support product prices/totals? I know the there are email tags for the overall transaction totals but it's not itemized.

The purchase confirmation has itemized information and it's just a confirmation page. I think the email receipt should be just as detailed if not more.

SeanChDavis avatar Nov 07 '15 18:11 SeanChDavis

Reaching here, but for percentage discounts, it would also be sweet if each item's discount total was included since they carry a weight of the discount. That doesn't apply to flat discounts, of course.

SeanChDavis avatar Nov 07 '15 18:11 SeanChDavis

Only reason I know of is simply it's old and hasn't received any real love in a while.

pippinsplugins avatar Nov 09 '15 00:11 pippinsplugins

Initially, I was thinking Item Name - Price as the format but what would make the most sense when displaying the discounted amount as well? @SDavisMedia Do you envisage the item price and the discounted total of that item being placed adjacent to each other?

sunnyratilal avatar Nov 12 '17 12:11 sunnyratilal

@sunnyratilal I think it could work. Perhaps Item Name - Price (discounted $x.xx).

Only issue I foresee is not being able to have the same output when the discount is a negative fee, like with Discounts Pro. Not sure I agree with having an inconsistent experience here.

SeanChDavis avatar Nov 13 '17 16:11 SeanChDavis

Sample Purchase Receipt email template just to see a full picture of how this enhancement is useful:

Sample Purchase Receipt

<strong>Purchased downloads:</strong>
{download_list}

<strong>Subtotal:</strong>
{subtotal}

<strong>Tax:</strong>
{tax}

<strong>Total price:</strong>
{price}
screenshot 2018-03-09 12 12 09

SeanChDavis avatar Mar 09 '18 20:03 SeanChDavis

@SDavisMedia yeah this get's a little funky when Discounts Pro is used: screen shot 2018-03-12 at 1 21 30 pm

I don't see a good way around that except for adding a 'fees' section like we do on the Purchase Confirmation.

This just looks a little odd, and while for negative fees (discounts Pro) I don't think a customer is going to have a problem with a price that's lower, I think with a positive fee, that could look concerning since the totals don't match, even though they were applied just not visible.

cklosowski avatar Mar 12 '18 21:03 cklosowski

After talking with @SDavisMedia a bit, the concern of negate/positive fees does present a concern.

We're actually going to punt for now, and possibly introduce this as a 'new' email tag with something like download_list_with_prices which handles all the logic around negative/positive fees and allows people to switch to this new format, or continue to use the old one.

cklosowski avatar Mar 12 '18 21:03 cklosowski