You can modify the category archive page partially from Settings Frontend Category Page Options But to control every aspect of that category archive you have to create the taxonomy-wpdmcategory.php
template file.
Maybe the issue was related to your theme’s archive template. Anyway, glad to know you have found a workaround.
I have created a CSV file which represents your package “HS Nylon 6 Films Capran HS8171 MSDS 2014” You can use it as a sample if you want to use the CSV import method, Attached the CSV below. Take a look at the files
column in the CSV file, I have written just the filename there. Your files have to be stored in /uploads/download-manager-files/
directory if you want to link the file with the package using just filename. Otherwise, you have to write the full file path.
As I said earlier, another bulk import method if directory import. You can do it from ” Select Dir” panel in Bulk Import page. Here are the steps,
1 ) Select the dir you want to import
2 ) Click the “Browse Files” button
3 ) Select categories, access roles, and files. Then click the “Import Selected Files” button.
Hi,
There are 2 bulk import options. First one is CSV Import, in this approach you have to create a CSV file with necessary info for your package. Each CSV row will create a pacakge when you Import it. You have put the file path under the files column to add a file to a package. Use the comma to add more than one file in a package. You can download a sample CSV file from Downloads Bulk Import page.
Please also read this documentation https://www.wpdownloadmanager.com/doc/bulk-import/
The second approach is the directory import. In this case, a single package will be created for each file found the directory.
Let me know if you have any further query.
Thanks.
You can set the “Order Validity Period:” from Premium Package settings. Check the “Purchase Settings” panel for this option.
Please check the “Private Download Links Usage Limit:” option in the Basic settings page. Or send temporary wp-admin login info in private reply if you want me to check the issue.
Looks like the link has been expired. You can generate the export file again from the Bulk Import page. Or just download it here https://www.dropbox.com/s/vr0f1zoghs4bz2z/Packages-Export-2019-04-01.csv?dl=0 ( this is the export file I downloaded )
MailChimp add-on is linked to the email lock feature. Enable the email lock and select the MailChimp list from lock settings to push the email address. Please send temporary wp-admin login info in private reply if you want me to check the issue there.
Thank you for your kind words. It means a lot.
Here are the changes I have made in file /wpdm-premium-packages/includes/libs/cart.php
,
https://www.evernote.com/l/AUfQhsYmYl1BP6Oft_4wVywQ-IU4FZ-l9d4B/image.png
https://www.evernote.com/l/AUfGmCm-8SpDcaUpn-4FRh-iAkvHld19qBIB/image.png
Do you want to modify the labels for Category and Tags? Use the register_taxonomy_args
filter to modify these labels.
For example adding the following code in functions.php file will change the category labels,
function wpdm_custom_taxonomy_args( $args, $taxonomy, $object_type ) { if ( $taxonomy == "wpdmcategory" ) { $labels = array( 'name' ► __( "Folders" , "download-manager" ), 'singular_name' ► __( "Folder" , "download-manager" ), 'search_items' ► __( "Search Folders" , "download-manager" ), 'all_items' ► __( "All Folders" , "download-manager" ), 'parent_item' ► __( "Parent Folder" , "download-manager" ), 'parent_item_colon' ► __( "Parent Folder:" , "download-manager" ), 'edit_item' ► __( "Edit Folder" , "download-manager" ), 'update_item' ► __( "Update Folder" , "download-manager" ), 'add_new_item' ► __( "Add New Folder" , "download-manager" ), 'new_item_name' ► __( "New Folder Name" , "download-manager" ), 'menu_name' ► __( "Folders" , "download-manager" ), ); $args['labels'] = $labels; } return $args; } add_filter( 'register_taxonomy_args', 'wpdm_custom_taxonomy_args', 10, 3 );
Sorry, search inside the document content isn’t possible.
Downloads are working now.
It does support the AND
operator.
Example Shortcode,
[wpdm_tag id="add-on,free" title="Downloads by Tag" desc="" toolbar="1" order_by="title" order="asc" item_per_page="10" template="link-template-calltoaction1" cols=1 operator="AND"]
You can use a custom template to modify the billing address form.
Here are the required steps,
The Billing Info template file is located here /wpdm-premium-packages/templates/checkout-cart/checkout-billing-info.php
. Make a copy of this template.
Please it here /yourtheme/download-manager/checkout-cart/checkout-billing-info.php
Edit this new template to adjust your requirements.
After completing these steps, the New template file will be used in the billing info form.
Hi,
Prepaid credit purchase and normal orders aren’t related. Each credit will be counted as $1 when purchasing an item. If you want to keep the balance between credits and dollar amount than sell each credit for one dollar. That solves your issue.
Thanks.
Category archive URL should look like this https://trickedpixels.com/wpdm-category/category-slug/
Replace the downloads
part with a category slug. You can send temporary wp-admin login info in private reply if you want me to check the issue there.
Thanks for your understanding. Any of us could have a bad day. Anyway, let us know whenever you need help with WPDM. We are always here to help you.
Best Regards
Yes, it is possible. Just use filenames instead of a complete file path under the files
column in CSV. Then place your files in /uploads/download-manager-files/
directory.
Please send the login URL too.
Could you please send temporary wp-admin login info so I can check this on your setup? Use private reply to send the login info.
Hi,
I think you have attached the files using the “Browse” option in “Attach FIles” meta box. As this option allows users to attach files from custom directory we use absolute path for this option.
But using the “Upload” option stores in /uploads/download-manager-files
directory. In this case, moving the Download Manager won’t create any file missing issue if you just copy your files from the old /uploads/download-manager-files
dir to the new /uploads/download-manager-files
Anyway, you can still solve the issue by adding the following code to your theme’s functions.php file. Run this code once ( visit any page after adding the code ) and then remove the code. This code bulk updates all file paths. Adjust the str_replace
parameters to meet your actual use case.
function update_file_path(){ $params = array( "post_status" ► "publish", "post_type"►"wpdmpro","posts_per_page"► -1 ); $q = new WP_Query($params); while ( $q->have_posts() ) { $q->the_post(); $files = maybe_unserialize(get_post_meta(get_the_ID(), '__wpdm_files', true)); if ( ! is_array( $files ) ) $files = array(); foreach ($files as $key ► $file): $files[$key] = str_replace('/var/www/live/','/Applications/XAMPP/xamppfiles/htdocs/storage/', $file); endforeach; update_post_meta(get_the_ID(),'__wpdm_files', $files ); } } add_action('init','update_file_path');
Unlocked your key. You can use it on your new domain now. Thanks.
Maybe some if your package icons are pointing to the wrong URL. All icons are located in /download-manager/assets/file-type-icons/
directory. You can fix this by updating the package. If there are too many packages with wrong icons URL then you can add the following custom code to bulk change the URL. Add this code in your theme’s functions.php file.
function update_icon_url(){ $params = array( "post_status" ► "publish", "post_type"►"wpdmpro","posts_per_page"► -1 ); $q = new WP_Query($params); while ( $q->have_posts() ) { $q->the_post(); $icon_url = get_post_meta(get_the_ID(),'__wpdm_icon', true); $icon_url_fix = str_replace('file-type-icons','assets/file-type-icons',$icon_url); update_post_meta(get_the_ID(),'__wpdm_icon', $icon_url_fix); } } add_action('init','update_icon_url');
Visiting any page after adding this code will run it and fix all URLs. So remove the code after that.