Premium page template bug

in Download Manager Free

Viewing 4 posts - 1 through 4 (of 4 total)
Jun 5, 2022 at 9:46 am
#172831
Participant
Genestial
OP

I used the Premium page template in a download package after upgrading to the latest WPDM version, and I always get this shortcode at the bottom (on the frontend):

[free_download_btn]

This button appears both when I have no locks on the package, and when I have a form lock. It doesn’t happen in any other template.
To temporarily resolve the issue I edited this file:
/wp-content/plugins/download-manager/src/Package/views/page-templates/premium-package.php

And commented out line 10:

 <div class="col-md-5">
        [download_link_extended]
        <hr/>
      <!--  [free_download_btn] -->
    </div>

I hope this gets resolved in the next update.

Jun 5, 2022 at 11:02 am
#172834
Spectator
Tanvir

Hello @Genestial,
Hope you are well.
Could you please provide me the related urls to check the issue? It will help me to understand the issue clearly.
Thanks

Jun 5, 2022 at 4:10 pm
#172841
Participant
Genestial
OP
This reply has been marked as private.
Jun 5, 2022 at 5:02 pm
#172844
Spectator
Tanvir

Hello @Genestial,

You can check our template tags below:
https://www.wpdownloadmanager.com/doc/templates/template-tags/

[free_download_btn] Returns download button for free file for a package with price. Sometime with your premium version, you may have a free version too. In such case you can attach the free file with free download section and use the template tag to allow users to download it for free.

Actually That is a template tag which will be activated if the Premium package plugin of us is activated.

Premium Packages – Sell Digital Products Securely

If you dont need to activate the wpdm premium-packages plugin, just skip that template or use that by commenting the tags as you are doing.
However, with wpdm pro, you have the ability to easily edit templates:

Templates Overview

Hope you have understood.
Thanks

Viewing 4 posts - 1 through 4 (of 4 total)

The topic "Premium page template bug" is closed to new replies.