Forums / All Other Contributions/Addons / You already purchased this product... [Support Thread]

You already purchased this product... [Support Thread]

Views: 8,372

Results 41 to 51 of 51
6 Aug 2022, 1:07 PM
#41
caroleas avatar

caroleas

Totally Zenned

Join Date:
Feb 2009
Posts:
896
Plugin Contributions:
0

You already purchased this product... [Support Thread]

Understandable. It is not a big issue for me but I wanted to report it in case it could be "fixed" for others who might find it more annoying than me :)

24 Apr 2023, 1:18 AM
#42
caroleas avatar

caroleas

Totally Zenned

Join Date:
Feb 2009
Posts:
896
Plugin Contributions:
0

Re: You already purchased this product... [Support Thread]

Just in case there is more interest on this, I can confirm that I am using this plugin with 1.5.7c and it works fine.
I still keep my hand raised in case there is any tweak possible to make it compatible with Wishlist, as it is easy for customers to put things in the cart from their wishlist when there is a quick sale. In those situations, this current plugin is somewhat bypassed.

29 Jan 2025, 2:25 PM
#43
nwce avatar

nwce

Zen Follower

Join Date:
Oct 2009
Posts:
444
Plugin Contributions:
0

Re: You already purchased this product... [Support Thread]

Hi lat9

In installing this plugin into my development site for upgrade to Zen Cart v.2.1, everything installed well but I received this error message in the Debug Logs

PHP Deprecated: Creation of dynamic property DownloadAlreadyPurchased::$is_downloadable is deprecated in C:\wamp64\www\new2121\includes\classes\observers\DownloadAlreadyPurchased.php on line 166.

I am in WAMP using PHP v.8.2.18 Would you be able to recommend the needed code change on this line??

Thanks!

29 Jan 2025, 3:09 PM
#44
carlwhat avatar

carlwhat

zennedOut

Join Date:
Nov 2005
Location:
los angeles
Posts:
2,969
Plugin Contributions:
8

Re: You already purchased this product... [Support Thread]

@lat9 has not changed this code since 2017; she is a slacker!

i can tell you what to change but i have a feeling you will run into other errors, i could be wrong. who knows.

look here:
https://github.com/lat9/download_already_purchased/blob/4f669e3ff465b7314e7c14fd716ed5b91b09e0b0/includes/classes/observers/DownloadAlreadyPurchased.php#L16-L17

between those two lines, add the following line:

$is_downloadable,

good luck.

author of square Webpay, now with Apple Pay and Google Pay.
mXworks
donations: venmo or paypal accepted.
premium consistent excellent support. available for hire.

29 Jan 2025, 3:18 PM
#45
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,110
Plugin Contributions:
56

Re: You already purchased this product... [Support Thread]

carlwhat:

@lat9 has not changed this code since 2017; she is a slacker!

i can tell you what to change but i have a feeling you will run into other errors, i could be wrong. who knows.

look here:
https://github.com/lat9/download_already_purchased/blob/4f669e3ff465b7314e7c14fd716ed5b91b09e0b0/includes/classes/observers/DownloadAlreadyPurchased.php#L16-L17

between those two lines, add the following line:

$is_downloadable,

> 
> good luck.
@carlwhat is correct on all counts!  I've now got this added to my list of stuff-to-be-updated.

GitHub issue for tracking: <https://github.com/lat9/download_already_purchased/issues/2>
29 Jan 2025, 3:34 PM
#46
nwce avatar

nwce

Zen Follower

Join Date:
Oct 2009
Posts:
444
Plugin Contributions:
0

Re: You already purchased this product... [Support Thread]

Thanks carlwhat and lat9 for your replies!

I'll try this code addition in between these two lines....but I'll also know that if other errors crop up, not to worry or post about it.

Thanks again to you both.

29 Jan 2025, 7:15 PM
#47
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,720
Plugin Contributions:
56

Re: You already purchased this product... [Support Thread]

@carlwhat is correct on all counts!

... except the "slacker" part. Cindy is the hardest working developer on the project!

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

31 Jan 2025, 5:22 PM
#48
nwce avatar

nwce

Zen Follower

Join Date:
Oct 2009
Posts:
444
Plugin Contributions:
0

Re: You already purchased this product... [Support Thread]

Quick update.....

Thanks to carlwhat's coding suggestion in post #44, I applied it to the file and I now do not receive the error!

It did cause an error in my Save For Later plugin that was not there before...

PHP Warning: Undefined array key "action" in C:\wamp64\www\new2121\includes\main_cart_actions.php on line 44.

But the Download Already Purchased is fine! You warned me about these unintended consequences....ce la vie!

Just thought I'd update in case someone else was having the same situation...

10 Mar 2025, 4:37 PM
#49
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,110
Plugin Contributions:
56

Re: You already purchased this product... [Support Thread]

v2.0.0 of Download Already Purchased is now available for download: https://www.zen-cart.com/downloads.php?do=file&id=2147

Updated for continued operation under Zen Carts 1.5.8 and later. See GitHub issues #2, #3 and #4.

7 Apr 2026, 7:35 PM
#50
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,110
Plugin Contributions:
56

Re: You already purchased this product... [Support Thread]

v3.0.0 of Download Already Purchased is now available for download: https://www.zen-cart.com/downloads.php?do=file&id=2147

Updated to re-package as an encapsulated plugin for Zen Cart 2.1.0 and later.

15 Jun 2026, 12:06 PM
#51
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,110
Plugin Contributions:
56

Re: You already purchased this product... [Support Thread]

v3.0.1 of Download Already Purchased is now available for download: https://www.zen-cart.com/downloads.php?do=file&id=2147

This release corrects GitHub issue #6, where an error in the plugin's language file causes a fail-to-load on zc300-dev and can result in a PHP error (missing constant) on earlier ZC versions.