Variable pricing’s fields gone after v3.0.4

[ad_1]

Hi @mh_rafi

It looks like ‘EDD Variable Pricing Descriptions’ plugin code is not tested with the latest EDD version.

As per Git, ‘EDD Variable Pricing Descriptions’ plugin code has not been updated for 6 years.

With release of version 2.10 on March 9, 2021, EDD had announced dev note
Dev: The edd_download_price_table_head and edd_download_price_table_row actions have been formally deprecated.

‘EDD Variable Pricing Descriptions’ plugin still uses these action hooks so this is not working.

So what is the new way of adding extra fields to variable pricing table?
Any new hook or any alternative way?

Hey @mh_rafi

The hook you could use for variable prices would be https://github.com/awesomemotive/easy-digital-downloads/blob/main/includes/admin/downloads/metabox.php#L503

I will make a note regarding the Descriptions plugin to see if we can get that updated for compatibility.

Thanks, it’s working. Just changed the hook “edd_download_price_table_row” to “edd_download_price_option_row”

  • This reply was modified 17 minutes ago by mh_rafi.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer