- This topic has 2 replies, 2 voices, and was last updated 14 years, 10 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › Buyer email body
Tagged: email tags
Dear Admin,
In the “buyer email body” I would like the buyer to receive the price so that the thank you email acts as a receipt…
for example:
Dear {first_name} {last_name},
Thank you for purchasing {product_name} for a total of: “…”
I discovered that I can use {product_price} as a code to bring up the price, but it automatically puts a comma directly after the total: (eg 25,)
Do you know if there is a way to edit the code so I could remove the comma, or is there another shortcode similar to {product_price} I could use instead…
Thank you very much for any help you can provide.
@jtribe, the tag {product_name} displays a list of prices (comma separated) of the purchased products. If you want to take out the comma then you can modify the “paypal.php” file and search for the following line and modify as you like:
$constructed_products_price .= “, “;
Please note that the buyer will receive a proper receipt for the purchase from PayPal immediately after the transaction.
Hi Amin,
Thank you so much. I was able to modify the “paypal.php” and it works perfectly.
All the best.