Inactive
- Join Date:
- Oct 2006
- Location:
- Alberta, Canada
- Posts:
- 4,572
- Plugin Contributions:
- 0
You already purchased this product... [Support Thread]
But there is: docs/download_already_purchased/readme.html
The learning is in the doing.
Views: 8,371
Inactive
But there is: docs/download_already_purchased/readme.html
The learning is in the doing.
Totally Zenned
I installed the plugin and it works perfectly. Thanks Lat9!!!
Now, what would be needed to have the message in French too?
Sensei
CaroleAs:
Now, what would be needed to have the message in French too?
You'll notice that the plugin has this file, which contains all the english messaging:
/includes/languages/english/extra_definitions/download_already_purchased_messages.php
if you copy that to:
/includes/languages/french/extra_definitions/download_already_purchased_messages.php
... and then edit that file's contents and change all the "defines", it'll automatically use those when the store is in french.
note the pattern:
define('IDENTIFIER_KEY_YOU_DO_NOT CHANGE', 'This is the part you will change here.');
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Totally Zenned
Great. An additional question: does the file take accented characters or should they be converted into something else? and apostrophe?
Sensei
I'd recommend using html-entities for accents and apostrophes.
A couple tools may help with this, like:
https://dev.w3.org/html5/html-author/charref
https://mothereff.in/html-entities
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Totally Zenned
Thanks a lot. I got it done and it works perfectly. I am really happy that Lat9 made that plugin! it will surely be useful for many zencart users!
Sensei
CaroleAs:
Thanks a lot. I got it done and it works perfectly. I am really happy that Lat9 made that plugin! it will surely be useful for many zencart users!
Agreed! Lat9 is always contributing great value to the community! Don't hesitate to send her a Private Message of thanks, or if you're able, maybe even a donation.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Zen Follower
Thanks Lat9 for this excellent plugin!! It will save us lots of admin time in creating customers coupons to reimburse them for duplicate purchases of our downloadable products!!
I have one question to see if you would know how I could modify it a bit. I have customers who purchase gift certificates regularly, and with this module turned on, it won't allow them to purchase it again now. Is there a way to eliminate a category id from the runnings of this program so that, in essence, the program will skip checking this certain category and allow people to repurchase???
Thanks for any help you can offer, and again, a great module!!
Jeff
Administrator
@NWCE, that's weird; do your gift certificates result in a downloaded product?
I ask because I'm filtering the products, looking specifically for products that have a download-specific attribute, i.e. the download's file name.
Zen Follower
Thanks for your reply lat9!
Yes, I found I had to give the gift certificates downloadable attributes so that they would create the code to be able to send to their recipient.....not withstanding that I may be doing this wrongly.
The other category we have that I'd like to eliminate is our Angel Use License which is an annually renewable License. It is not that someone needs to download anything...so if I have mistaken attributes that I could remove, this would also resolve the problem that I am having with people not being able to repurchase.
Thanks for your help,
Jeff
Zen Follower
Hi again lat9..... in giving this some thought, I see that if I change the attributes on the Gift Certificates and Licenses to non-downloadable products (more as if they were physical products) this will eliminate these items from this mod's checks and customers will be able to repurchase.
Thanks for your help,
Jeff
Administrator
Hey, @NWCE! I'm glad you were able to craft a solution!
I'll note the change-request in the plugin's GitHub repository, though, since I can see the value of having a downloadable attribute (like your license case) for a physical product ... and this plugin will just "get in the way" of that use-case.
GitHub change request link: https://github.com/lat9/download_already_purchased/issues/1
Zen Follower
Thanks again for your help @lat9.....once again, this is an awesome plug-in and I appreciate you creating it!
Administrator
I've just submitted v1.1.0 which is now available for download.
That version creates two new configuration settings under Configuration->Attribute Settings where your store can identify any products and/or categories to be excluded from the plugin's processing.
Zen Follower
Thanks for letting me know lat9! I did redo the attributes for the Licenses and Gift Certificates and created Options Names as these, so that they do not need any option values and then redid the attributes using these new Name Options. This worked perfectly as we have had orders for both and they processed perfectly.
Just in the event, that reprogramming the mod to have these "exclude" categories become a lot of work...this is a perfect option.
Thanks again,
Jeff
Totally Zenned
Is this module compatible with ZC 1.5.7?
Administrator
CaroleAs:
Is this module compatible with ZC 1.5.7?
I'd forgotten about this one! I've not installed it with zc157, but as long as you're using a version other than the original (zc157, which had issues with multiple observers), it should be just fine.
Totally Zenned
Thanks. I know this plugin adds features that my clients LOVE!
Totally Zenned
I have this plugin installed and it works fantastically. However, I noticed a conflict with the Wishlist 0.6 plugin that works also perfectly on its own. The only "conflict" is that if a client adds an item from the wishlist, this current plugin does not detect it and it can cause some duplicates to be purchased instead of informing them.
It is not really a big issue as it only happened a handful of times, but if there is time to tweak it, maybe consider this.
Administrator
CaroleAs:
I have this plugin installed and it works fantastically. However, I noticed a conflict with the Wishlist 0.6 plugin that works also perfectly on its own. The only "conflict" is that if a client adds an item from the wishlist, this current plugin does not detect it and it can cause some duplicates to be purchased instead of informing them.
It is not really a big issue as it only happened a handful of times, but if there is time to tweak it, maybe consider this.
Thanks for the report. Unfortunately, sometimes plugins don't work with other plugins.
Tell staff why this post should be reviewed.