Thanks Shahriar,
We’ll keep an eye out for future releases.
No, we don’t want to send an email when someone adds a file to the cart.
Here’s how it currently works:
1. A user adds a file (or multiple files) to the file cart
2. They have the option to download all of the files within the file cart as a zip file
3. They can also email the files to anyone else by entering an email address and clicking ’email file(s)’.
This functionality works perfectly and we’re very happy with it.
However, we would like to add a fourth step that happens at the same time as step 3:
4. When the user emails the files to the other person, we would like the user to receive a confirmation email saying something like:
“You’ve just sent the following files [link to the zip file] to the following recipient [email address you sent the files to].”
It seems step 3 is triggered by the action I posted above — it’s on line 32 of wpdm-file-cart.php
Does that make sense?
Thanks again.
Thanks Hasibul,
Unfortunately, that hasn’t worked and it wasn’t quite what we were after.
We’re looking for a second email to be sent at the same time as the ‘Email File Cart’ action:
add_action('wp_ajax_email_file_cart', array($this, 'EmailFileCart'));
Thanks for any further help you can give us.
Well, it looks slightly better but it’s still not fixed.
Did you actually look at all of the pages?
Here is a list of all the errors I’ve found so far:
1. On the home page and the ‘My Profile’ page, the favourite icons are wrong. They are all full stars, even for files that haven’t been marked as a favourite. Only the ‘Downloads’ page has the correct favourite icon next to each file.
2. The homepage only shows 1 favourite even though there are 3 and the ‘My Profile’ page is showing a PHP warning:
Warning: reset() expects parameter 1 to be array, string given in /home/sandison/sbstheme2.sandisonpay.co.uk/wp-content/themes/softbox-intranet/includes/entry.php on line 30
If you solve the PHP error, maybe the other issues relating to favourites will fix themselves? On the profile page, I can only see one favourite but I can see the preview and favourite button for another file underneath…
3. When you search for a file (for example, search for ‘Quality’) and then use the filter (select ‘North America’) the download button goes wrong and the ‘add to filestore’ button completely disappears. You also can’t use the drop-down to see the file description or attributes.
4. This also happens when you use the filter (select ‘Operations’) and then clear the filter (deselect ‘Operations’).
5. The Filestore page looks completely broken — the buttons are all over the place and it looks like all our original CSS has been overwritten or ignored.
All of these things were working before you updated the plugin to 4.6.9, so we’d really appreciate it if you could look at them again.
Thansks.
Thanks Razia, I can see the email functionality is working now — that’s great.
However, a lot of our styling is now broken:
I did warn you to be careful when updating the plugin because it broke the site when we tried updating ourselves previously.
Please can you try and repair the damage?
Thanks again.