But there is: docs/download_already_purchased/readme.html
But there is: docs/download_already_purchased/readme.html
I installed the plugin and it works perfectly. Thanks Lat9!!!
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:
Code: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.
Great. An additional question: does the file take accented characters or should they be converted into something else? and apostrophe?
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.
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!
.
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.
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
@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.
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
Bookmarks