Inhalte aufrufen

Profilbild

Digital Product - access to service


  • Bitte melden Sie sich an, um eine Antwort zu verfassen.
1 Antwort zu diesem Thema

#1 paulfarry

paulfarry

    Newbie

  • Members
  • Punkt
  • 1 Beiträge

Geschrieben: 05 April 2025 - 05:41

From my understanding the digital product relies on downloading a file or item.

 

I'm exploring using SmartStore as the ecommerce front end to an application I'm building, but I would like to use a URL that is dynamically generated as part of the sale/order completion process.

 

That URL will activate the product on a subsystem via an API call.

 

Using the Download Product only seems to give a link to the

DownloadController/GetDownload

https://smartstore.a...al Products ESD

 

Is there a way to do this using the existing system or would I need to extend the Order/Product Type? eg an after Order call that can be made to generate the URL for the user before the email is sent with the link?



#2 Marcus Gesing

Marcus Gesing

    SmartStore AG

  • Administrators
  • 3859 Beiträge

Geschrieben: 05 April 2025 - 10:13

I would only use a download product if the product is actually one that needs to be downloaded, which doesn't seem to be the case here. It sounds too much like two different things.
 
I would extend the feature as needed via a plugin. Additional data (like an activation URL) can be bound to the product or order entity via GenericAttribute. The activation could be done via the OrderPaidEvent.

  • paulfarry gefällt das

Marcus Gesing

Smartstore AG