Tagged: product variations
December 1, 2010 at 7:11 pm #2305Joe_TynanMember
I’m trying to use WP eStore to help sell products for my wedding photography business. My intention is to let users purchase digital copies of photos and physical copies (prints/canvases) at the same time.
Currently all the choices for the user are stored in one product variation. For example “Prints|Paper|p_6x4:3|p_7x5:4.5|Canvas|c_10x10:30|c_10x12:35”
Each photo is a separate product so that the emails generated after the purchase accurately state which product has been ordered at what size, what type and the quantity.
So far so good.
However I’ve been having trouble including a digital download option. If I enter a url for the file in the Digital Product URL box then even if a user intends to order a physical print they’ll still be sent a download link in their email.
I’m using WP eStore Version v3.4.7 along with WordPress 3.0.2 (I’m pretty sure I haven’t modified the plugin).
Here’s a test gallery to help explain this problem: http://josephtynan.co.uk/site/?p=322
The test product has one product variation: “Size|6×4|7×5|Digital copy”
(The product is set to £0.01 to work with PayPal. I’ll refund the money to anyone who tests this)
Alternatively here’s a screenshot of the email that is generated when you try to order just a physical print: http://josephtynan.co.uk/files/email.png
Is there any way to only include a url in the confirmation email if a user adds a product with the “Digital copy” variation chosen?December 1, 2010 at 7:57 pm #26934wzpModerator
Please upgrade to the latest 4.7.x version of eStore:
Variations can only apply to physical products.
What you are asking would require custom programming.
Since the concept of what you are wanting sounds like “a good idea,” could you please add it to the eStore wish-list:December 2, 2010 at 1:36 am #26935
Please use the “Digital Product Variation” option for the product. This documentation explains how you can use digital product variation (check the “Variation Control for Digital products” section):March 31, 2011 at 12:45 am #26936
Joe_Tynan – Did you manage to get this working? I am trying to do something similar with a MP3 and CD option.
ThanksMarch 31, 2011 at 2:11 am #26937April 3, 2011 at 10:11 pm #26938
Yes. I want to sell a music album. I created a product called “Full album” and then used the digital variation field as follows:
This gives me the proper options on the product page, but when I select the download option and I go through the payment process, there is no download link in the email.
However, if I add the product URL under the Digital Content tab of the product settings, then customers will always have a download link added to their email, regardless of whether they purchased digital or hard copy.
Am I missing something?April 4, 2011 at 1:11 am #26939
Update: You can now have a mixture of digital and physical options (example, CD and MP3) in the digital variation field. When a user selects the physical option from that variation the plugin won’t show any link for that product.
For a digital product the plugin expects a file URL in the “Digital Product URL” field. That field serves as a flag to indicate if an encrypted URL generation method should be invoked or not. In your case you are mixing a digital product with a physical product which is not a problem but you just need to place a URL in the “Digital Product URL” field. You can create a text file with details of the product and use this text file in there.
Let me know if that helps.April 9, 2011 at 3:32 pm #26940
So for example, I could create a file containing all the lyrics for the album (which I wouldn’t mind sending to each customer), and then have the actual digital copy of the album listed as a digital variation.
I will try and report back – thanksJune 21, 2011 at 11:07 am #26941
Hi I also am going to sell both digital and physical copies of photos. I can get this right.
It feels like I have missed something. If I not use variations the product apply fine to the shopping cart. But if I make the product with variations they ends up in the cart but the price is 0.
I have tried in several ways. I have put the variation for the physical product under variations and product variation 1, like this:
Fotokopia|Ej valt:0|25x35cm:500|Inramad 40×50:1500
I have set the price to 0 as there is so big difference for the pricing and I think it will be confusing for the customer to have a base price and then adding a sum for the variation. But I have also tested with a base price and still have the same problem. The first variation “Ej valt:0” means none selected. I got this from a comment response you did in 2009 http://www.tipsandtricks-hq.com/ecommerce/how-to-use-variation-control-in-wordpress-estore-plugin-345#comment-1369
I have also tried this:
But this doesn’t get the price in the cart either.
And for the digital variation I have put this:
I have also tried this without the ”none selected” variation, but without luck! And the reason way all the variation goes to the same zip is because the photo is the same and comes with a licens for its use. So if there is a way to have a price variation on the digital product but they all correspond to the same zip I would like to know what to put inside the variation field. In the future It is going to be different size on downloads, but right now we go with the same zip.
I do have a url in the “Digital Product URL” field (downloads/t-nybom/600.zip)
I have tried to changes theme to Worlpress Twenty Ten
Here is a link to where I have set up a page with different variations like above.
I do have this site in a second directory, (diffner.se/bildpoolen). But this is just for now when I trying to learn about this great plugin.
Hope someone can help me with this, it is sort of the core to let a costumer choose what type of product he wants, right…June 21, 2011 at 11:59 pm #26942
I think the issue might be from the currency symbol “kr”. Can you please open the “lib/eStore_read_form.js” file find the following two lines:
variation_add_string = "+";
currency_symbol = "$";
Once you find it change it to the following:
variation_add_string = "+";
currency_symbol = "kr";
Let me know if that helps.June 22, 2011 at 4:50 am #26943
Actually, disregard my previous post.
I did some modification to the plugin and added an option in the settings menu so you can specify the “variation addition” symbol in the settings. This should make it more robust when working with foreign currency symbols. Please deactivate and delete the current version of eStore and upload and activate a newer build that you can get from here:
Let me know how it goes after the update.June 22, 2011 at 8:22 am #26944
YES!! I just did the upgrade and now it is adding the the price for all the variations. Thank you so much!!
A quick Q, Is there a way to get the symbol in the variation “box” to show after the amount? That is how we do it here in Sweden.
I manage to get it right under the image disply by Replaced this line in wp_eStore1.php
return $symbol.number_format($price, 2, $decimal, ‘,’); with
return number_format($price, 2, $decimal, ‘,’) . $symbol;
So it might be a way for this too.June 22, 2011 at 12:55 pm #26945
I just discover that after I upgraded all my product zip files in the download directory (inside the eStore plugin) are gone! I had made two new directories inside of it (s-diffner and t-nybom) and inside of these I had uploaded the products zip. And now when I go inside the download directory it is empty, exept for the original files. I cannot imagine that every time I upgrade I have to reload all the products again. Tell me I did something wrong and that this is not the case…June 23, 2011 at 1:09 am #26946
This is why we tell everyone to follow the upgrade instruction documentation:
If you go there you will see that it explains the whole thing and there is a method to avoid what just happened to you.June 23, 2011 at 9:59 am #26947
Well I did, but I missunderstod and follow method 2. But you learn from your misstakes! Thank you for your time.
- You must be logged in to reply to this topic.