I am doing something fundamentally wrong or there have been changes in ubercart which are nowhere recorded for file downloads.

Specifically, I cannot find any way to create an appropriate conditional action or rule which will generate a download email with a link to products which are files. There are no conditions listed which refer to completed payments or file downloads in the actions...

A user can purchase a downloadable product, but no link to the file is sent to user in their order confirmation after payment or later, and there is no message displayed to user when he logs in.

I cannot actually fathom that file downloads are not implemented, so there must be something that I am not seeing... Can anyone walk me through this or link me to something recent that actually refers to this version of UC, since the UC2 and drupal 7 tutorials are unhelpful...

The files upload/etc. are configured properly, viewable etc to administrator. The user can purchase, but no link is generated... and no link sent in order confirmation.

Comments

shadowmihai created an issue. See original summary.

TR’s picture

Issue summary: View changes
Status: Active » Fixed

uc_file is mostly working (we're still in alpha remember ...), except that files are not granted at checkout complete because the way we did that in D7 was through Rules, and Rules isn't ported to D8 yet. I have a work-around to grant files using core Actions but I haven't committed that yet. Also, the administer files page doesn't work properly.

If you would like to help out, we could use some people to do an initial port of our D7 Rules to D8, using the current unfinished Rules module -dev version. I would also suggest using the -dev version of Ubercart

TR’s picture

Title: File Downloads Not Working in Ubercat 3/drupal 8??? » File Downloads Not Working in Ubercat 4/Drupal 8???
TR’s picture

Title: File Downloads Not Working in Ubercat 4/Drupal 8??? » File Downloads Not Working in Ubercart 4/Drupal 8???
shadowmihai’s picture

Unfortunately, I am not a coder. I would actually LOVE to help this but I would make a mess. On the other hand, if there are testing or other things that I could assist with, I would be more than happy.

If the workaround is available and something I could implement, I would like it. The only other solution right now is for us to provide a download link by hand after the fact, which works fine for low volumes but of course is not integrated or instant.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

1kenthomas’s picture

Title: File Downloads Not Working in Ubercart 4/Drupal 8??? » Rule to grant file access in Ubercart 4/D8???

Updating title, I'll be working on this rule (or towards a work-around) starting tomorrow. Any pointers appreciated.

1kenthomas’s picture

Assigned: Unassigned » 1kenthomas
prerit_mohan_bhatnagar’s picture

Any luck with this?