Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore General Questions › Directing customer to a download page for a free item.
- This topic has 6 replies, 2 voices, and was last updated 12 years, 8 months ago by admin.
-
AuthorPosts
-
March 28, 2012 at 2:24 am #5943einfohoundParticipant
I have a site that I want to use eStore on for several different “types” of products. Some will be paid. Some will be free. For some of the free items, I need the ability to direct a user to a download page instead of just letting them click on a “Download” button.
I have been able to get a download button to work (for a free item). And I have been able to get a “paid for” item to process correctly going thru PayPal.
I found a couple threads about this type of thing, but I cannot get it to work at all. Here are the things I have done/tried.
1.) I enabled “Manual” checkout and set it to email the download link.
2.) I have tried “Use Multiple Payment Gateways” both on and off.
3.) I had PayPal turned on (obviously), but when I could not get anything to work, I tried turning PayPal off (and “Use Multiple” off) – leaving only “manual” check enabled. What was really weird with this is that, even with PayPal turned off, when I clicked on the button for that product, it sent me to PayPal. (I cleared cookies and that did not change anything.)
4.) Price for the product is set to $0.00.
5.) I have had “Redirect to Manual Checkout For Zero Amount Purchase ” turned on for the entire process, but even with the price set to zero, it still directs me to PayPal.
The price is showing zero when I am sent to PayPal, and it won’t let me check out with a zero price.
What am I doing wrong? How can I set a product to $0.00 price (free), but send the user to a download page instead of doing an actual download? (I want the encrypted link to show on the download page.)
March 28, 2012 at 7:16 am #43481adminKeymasterPlease post a link to the page where I can go and add the product then checkout using “Manual Checkout” and see the behavior.
March 28, 2012 at 2:46 pm #43482einfohoundParticipantHere is the page that I have been playing with…
http://megaspunarticles.com/list-category-1-products/
I played around a little bit more. Here is what I have found…
The page has the same product listed two times – once with an “Add To Cart” button, and once with a “Buy Now” button. I put the shopping cart in a widget on the sidebar just for testing purposes – I don’t want to normally have it display (reasons listed later). Right now, the only active checkout method is “manual”.
1.) If I click on the “Buy Now” button, I am directed to PayPal even though it is a zero price item and PayPal is turned off. Why?
If I click on “Add To Cart”, it is added to the cart fine. When I then checkout, I am sent to the manual checkout page. I fill the form out and everything seems to work fine. A customer record is created, I get an email with the download link, etc. However, I have a couple questions about this.
On the “Here Are Your Downloads” page, I need to include a shortcode for EACH product that is part of this “transaction”. I am not sure if I can make that happen with the eStore plugin if I allow the user to get more than one item during each checkout.
So, the things I need to figure out/work around are…
1.) I am going to have pages that will list products. I would prefer (I think) to just have a “Buy Now” button beside each that would let the user go through a manual checkout right then for that one item.
2.) If I can’t do #1 (above), can I limit the user to only be able to purchase one product at a time somehow? Related to this – can I prevent the shopping cart from having the option of changing the “Qty”? (The user should only be able to purchase one of any given item.)
3.) Since I will be using the manual checkout, does the user HAVE to enter all the customer info each time? This would be a problem since they will be downloading multiple items a month. The users would complain about having to do this, and I don’t have to have a bunch of duplicate customer records. Is there some way around this?
March 29, 2012 at 4:21 am #43483adminKeymaster1. “Buy Now” type buttons are a PayPal specific thing. You can only use Buy Now type buttons with PayPal. Simply use “Add to Cart” type buttons and it will work with manual checkout.
2. Yes, you can limit shopping cart checkout item quantity per checkout. Open the “eStore_advanced_configs.php” file and find the following line of code:
define('WP_ESTORE_CART_CHECKOUT_ITEM_LIMIT', 0);
Once you find it change it to something like the following (this will apply a limit of 1):
define('WP_ESTORE_CART_CHECKOUT_ITEM_LIMIT', 1);
3. Yes, the customer will have to fill in the details each time unless you are using eMember and the user is logged in. When a user is logged into the site it is possible for the cart to retrieve his/her details. Otherwise the customer is just an anonymous user and the cart won’t know his/her details.
March 29, 2012 at 5:18 am #43484einfohoundParticipantThe problem I am having is that users will have a given number of “credits” that they can use for “free” downloads. The easiest process for the user would be to just provide them with a “Download Now” button. The problem I have with that is that, when they do a download, I need to reduce their available credits by 1. The plugin I plan on using for this functionality has a shortcode that can be placed on a page that will do this.
I feel like I am causing the user more work than they should have to go through. I am making them click an “Add To Cart” button, and then they have to go “Check Out”. The only reason I am doing this is just so I can send them to a “download” page.
Is there some way I can send them to a page when they click a “Download Now” button. If not, can you tell me where (in the plugin code) this process is taking place? Maybe I can extract the code that the “credits” plugin would execute to deduct a credit and add it to this code.
Do you have any other possible suggestions?
March 29, 2012 at 5:29 am #43485einfohoundParticipantI just found this thread that says there is no way to redirect after a download…
I assume this is still true. If so, it looks like several people would like this. Maybe it is a “future feature” that you could add.
Please let me know about modifying the code or any other suggestions you have to accomplish what I am trying to do. Thanks for your help!
March 29, 2012 at 11:10 pm #43486adminKeymasterYou cannot redirect user after a download unfortunately. The download process is handled by the browser. You cannot programmatically control what happens there.
I am not 100% sure as to why you are doing this approach. WP eStore has “Download Now” shortcodes that you can use to place a download now button for any of your digital items that you want to give for free. Simply use that shortcode to place a bunch of download buttons for all the free free products. Then send your users to that page and let them download the items.
-
AuthorPosts
- You must be logged in to reply to this topic.