Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Adriano Faria Posted August 16, 2023 Posted August 16, 2023 Hello, Is there any way to accomplish that? Group promotion or achievements? Thank you. I see achievement rules when purchasing a subscription or product via the Commerce application.
opentype Posted August 16, 2023 Posted August 16, 2023 I do that with linked Commerce products. So the user is buying a Commerce product which has the group update and then the Download file links to the Commerce product, so the customer can also download the file. Adriano Faria 1
Adriano Faria Posted August 16, 2023 Author Posted August 16, 2023 6 minutes ago, opentype said: I do that with linked Commerce products. So the user is buying a Commerce product which has the group update and then the Download file links to the Commerce product, so the customer can also download the file. Can you elaborate? Do I have to create a product for every single file I have?
opentype Posted August 16, 2023 Posted August 16, 2023 (edited) Yeah, you have to have a product ready to be linked to from a file. So, it might be a bit more complicated than you hoped for, but it is a native way that does what you want. Instead of selling in Downloads, you push it all to Commerce. Edited August 16, 2023 by opentype Adriano Faria 1
Adriano Faria Posted August 16, 2023 Author Posted August 16, 2023 8 minutes ago, opentype said: So, it might be a bit more complicated than you hoped for, but it is a native way that does what you want. Instead of selling in Downloads, you push it all to Commerce. Oh, you mean people will purchase in the Store instead of in Downloads?
opentype Posted August 16, 2023 Posted August 16, 2023 Yes, but that’s also an advantage as you get a proper shopping cart, custom fields, renewals, pricing options and whatever else is possible in Commerce. You can still have the users browse the Downloads section if you want. Adriano Faria 1
Adriano Faria Posted August 16, 2023 Author Posted August 16, 2023 Unfortunately, this is not practical for me. I have a lot of files to add, each one as a new product. I could probably create a new app and move the user to the specific group via a hook in the Downloads extension (onPurchaseGenerated method) but that won't work on IPS5, you know. Thanks for the tips. 👍
Adriano Faria Posted August 16, 2023 Author Posted August 16, 2023 Btw, it seems there will be a way in IPS5: Quote Invoice Listener An Invoice listener is fired only on the \IPS\nexus\Invoice class. This listener does not require you to specify a class to extend. The Invoice listener includes a single method, onStatusChange. This is fired when the invoice is saved and the status changes (pending/paid/expired/canceled).
Daniel F Posted August 16, 2023 Posted August 16, 2023 30 minutes ago, Adriano Faria said: but that won't work on IPS5, you know. How do you know this? Have you seen v5 yet? Have you read about all upcoming dev related changes? I guess the answer is no, so please stop posting this constant false claims and FUD about v5 until you see at least the first public alpha..
Adriano Faria Posted August 16, 2023 Author Posted August 16, 2023 5 minutes ago, Daniel F said: How do you know this? Because of this: 46 minutes ago, Adriano Faria said: and move the user to the specific group via a hook in the Downloads extension (onPurchaseGenerated method) This we all already know.
Nathan Explosion Posted August 16, 2023 Posted August 16, 2023 7 minutes ago, Daniel F said: How do you know this? Have you seen v5 yet? Have you read about all upcoming dev related changes? I guess the answer is no, so please stop posting this constant false claims and FUD about v5 until you see at least the first public alpha.. Mate - you've misread his comment; he's clearly talking about hooks. And he followed it up with a possible option in v5. Adriano Faria 1
Solution Esther E. Posted August 16, 2023 Solution Posted August 16, 2023 38 minutes ago, Adriano Faria said: Btw, it seems there will be a way in IPS5: Wrong listener. There is a listener for invoice items as well. Adriano Faria 1
Esther E. Posted August 16, 2023 Posted August 16, 2023 4 minutes ago, Nathan Explosion said: Mate - you've misread his comment; he's clearly talking about hooks. And he followed it up with a possible option in v5. It's slightly frustrating to see people over and over again insist that things aren't going to work because we won't have hooks, after we've gone through so much trouble to make sure that people can continue to do most of the things they currently do.
Nathan Explosion Posted August 16, 2023 Posted August 16, 2023 1 minute ago, Esther E. said: It's slightly frustrating to see people over and over again insist that things aren't going to work because we won't have hooks, after we've gone through so much trouble to make sure that people can continue to do most of the things they currently do. But Adriano only stated that hooks won't be possible for what he wants to do...that is all. It's his use-case, he's identified what is possible in v4 and identified that that specific approach won't be possible, and then identified another possible approach. Daniel overreacted; disagree if you wish. No skin off my nose.
Esther E. Posted August 16, 2023 Posted August 16, 2023 1 minute ago, Nathan Explosion said: But Adriano only stated that hooks won't be possible for what he wants to do...that is all. It's his use-case, he's identified what is possible in v4 and identified that that specific approach won't be possible, and then identified another possible approach. Daniel overreacted; disagree if you wish. No skin off my nose. Except that his specific approach actually is possible, literally with the same onPurchaseGenerated method.
Adriano Faria Posted August 16, 2023 Author Posted August 16, 2023 Just now, Esther E. said: It's slightly frustrating to see people over and over again insist that things aren't going to work because we won't have hooks, after we've gone through so much trouble to make sure that people can continue to do most of the things they currently do. Not this time, really. It was a genuine question then I found out that will be possible to still do it on V5. That’s all. Tired of this, honestly. I won’t be a burden anymore.
Recommended Posts