Define rules for the name of the file to download

Posted about 2 years by Stephane Lapointe

Post a topic
Implemented
S
Stephane Lapointe

Hello,


It would be interesting to be able to define an output name for the files to download. Currently, the file name is always "Product".


Define rules for files. Ex. Date, hour, second (PHP format), prefix and/or suffix, random number (hexadecimal), etc.


thank you,

4 Votes


9 Comments

Sorted by
d

dan marshall posted 3 days

did this ever happen? would like to be able to define what the output file name is. Have to manually adjust them all still - leaving room for human error...

0 Votes

T

Turquess posted 3 months

It says that the name is for customers only. But I think that many of us want this name for admin users. I'm using Export Pro add-on and it would be great to change name of filename. The name of FPD Product would be great too.

1 Votes

A

Arpadius Aart posted 4 months

In this screenshot it seems like there are options to set the filename as "date", "product ID", "product title" or "product slug".
However, I don't see any option to set the "WooCommerce order ID" as filename.

Is there a way to store the file with a filename "WooCommerce order ID" + "date" and export it to dropbox, for example?


Thank you very much in advance for your help & answers!

1 Votes

D

Daniel Wiesner posted 5 months

 


Hi, hope you can help me.

Unfortunately that doesn't work. The export files are still named Order number_DesignID
I use Product_%title_%id.


I need to change the name. I need the SKU included.


Thanks


Regards,


Daniel

1 Votes

D

DRD Solution posted over 1 year

 Hello Johan,


To change filename, please check attached screenshot.


Regards,
Dharmesh

Attachments (1)

0 Votes

J

Johan Wiberg posted over 1 year

I cant find where I customize the filename. Is there any instructions?

0 Votes

rady kal

rady kal posted almost 2 years Admin

Added in V4.5.6

0 Votes

D

Daniel Vidal Reis posted about 2 years

I'm creating a website where the client creates his art and downloads it in pdf ready for printing with the export addon it would be wonderful if the download pdf file had the name of the fancy product

0 Votes

E

Endre Utchay posted about 2 years

Is there a hook to create a custom function to set the output file name as we like?

It would be superb if we could put woocommerce order and product data into the filename.

Thanks and regards,

Endre

0 Votes

Login or Sign up to post a comment