The new “place order +” puzzle works really well and it’s great that it allows us to send attachments via email.
But currently, the attachments, that come with the email get the names “attachment1”, “attachment2”, etc. Is it possible to give the unique names to these files? For example “YourConfiguration.pdf” for a PDF file? I mean the option that we have in the standard “download” file.
Can it be done with a puzzle? I attach my standard configuration.
Or maybe it should be done in order_form.php or order_email_body.php?
<?php if (!empty($attachments)): ?>
<?php foreach($attachments as $att): ?>
<input type="hidden" name="v3d_attachments[]" value="<?= $att ?>" />
<?php endforeach; ?>
<?php endif; ?>
Attachments:
You must be
logged in to view attached files.