Tips and Tricks HQ Support Portal › Forums › WP Photo Seller › Photo Seller – Customer Address for digital downloads with no shipping
Tagged: checkout, customer address
- This topic has 5 replies, 2 voices, and was last updated 8 years, 4 months ago by Peter.
-
AuthorPosts
-
June 28, 2016 at 9:37 am #13553triyourlifeMember
I’m not long working with the plugin, but I have a problem and couldn’t find a solution in past questions and answers here.
I only sell digital Downloads with Paypal and manual payment. Shipping is deactivated (“no shipping”) because I don’t need it. Right now I will only get the e-mail adress of my customer, but I need the postal address. How does this work?
Thanks, Kathi
June 28, 2016 at 12:12 pm #73544PeterMemberHi Kathi,
Digital purchases don’t normally require physical postal addresses hence why the photo seller doesn’t record such information.
Can you please explain more how you want to use the postal address so I can understand what you want to achieve?
June 28, 2016 at 1:48 pm #73545triyourlifeMemberHi Peter, I need the postal addresses for my invoices and accounting of my orders.
If the customer pays with paypal, I can see the postal Address via the paypal information.
But if the customer pays with manual checkout, I only see the name and Mail Address. Because at the Checkout site, there are only fields for first name, last name, email (as mentioned here:
In my case I would like to have additional fields at the checkout page with the postal address. Is this possible?
Thanks, Kathi
June 29, 2016 at 12:28 am #73546PeterMemberOk I see now.
Currently the photo seller will display a shortened version of the manual checkout form if all items are digital, ie, it will only collect name and email. Conversely, it will display a more detailed version of the checkout form if there are any physical items, ie, in addition to the name and email it will also collect postal address details.
I have introduced a new filter in the photo seller code which will allow you to always display the full version of the manual checkout form even if the items in the cart are all digital.
I have sent you an updated version of the plugin.
In order to use the filter, please do the following:
In your theme’s functions.php file enter the following code:
add_filter('wps_display_full_checkout_form','set_full_checkout_form');
function set_full_checkout_form($enable_full_form){
$enable_full_form = TRUE;
return $enable_full_form;
}June 29, 2016 at 5:22 am #73547triyourlifeMemberOk thanks. I’ve got the mail and I understand your explanation. WP is new for me and I’m not good in the technical things, but I will try to do it as you explained.
Thanks, Kathi
June 29, 2016 at 11:42 am #73548PeterMemberWP is new for me and I’m not good in the technical things, but I will try to do it as you explained
If you need help or you would prefer that I do it for you let me know.
-
AuthorPosts
- You must be logged in to reply to this topic.