Tips and Tricks HQ Support Portal › Forums › WP Photo Seller › Photo Seller Manual checkout – how to add a custom field value to the email
Tagged: extra field, Manual Checkout
- This topic has 8 replies, 2 voices, and was last updated 11 years, 5 months ago by
moises.
-
AuthorPosts
-
June 5, 2014 at 8:11 pm #10966
moises
MemberDear Support,
How can I add the total price off the cart to the manual checkout page and send it by email?
June 6, 2014 at 12:21 am #63528admin
KeymasterWhen someone submits the manual checkout form, it will send an email to that user with the individual item prices and the total price. You are not seeing that behavior?
The following post is a good read if you are going to use manual checkout option:
June 6, 2014 at 2:29 pm #63529moises
MemberWell i fixed that issue I added the {product_details} {total_minus_total_tax}
Now I wanted to add function to that email to send a extra payment field.
I’ve already made it appear on the manual payment page, put it inside the box but still it doesn’t send it by email and i would like too know where should i add that information so the client can receive it.
June 6, 2014 at 11:50 pm #63530admin
KeymasterI see, you have added a custom input field and you want to include its value in the email. This will require you to tweak some PHP files. Are you a developer?
June 7, 2014 at 1:01 am #63531moises
MemberYes I am
I just need to know how to add a function inside the email form and how to get the total variable and the order id to generate a payment reference
June 7, 2014 at 3:55 am #63532admin
KeymasterOpen the “eStore_post_payment_processing_helper.php” file and look in the following function:
eStore_apply_post_payment_dynamic_tagsYou will be able to take this newly added custom field’s value from the $_REQUEST variable and add it.
June 7, 2014 at 11:53 am #63533moises
MemberWell I don’t have the Estore plugin just the WP Photo Seller
June 7, 2014 at 11:39 pm #63534admin
KeymasterVery sorry… I thought you were modifying estore’s manual checkout form.
Open the wp-photo-seller/models/WPSCommon.php file and look for the following function in it:
sendEmailOnPurchaseThis function sends the email.
June 11, 2014 at 5:25 am #63535moises
MemberWell thanks for your help I was able to add the option I wanted
-
AuthorPosts
- You must be logged in to reply to this topic.