WooCommerce Product Add-Ons Ultimate– Basic-Plugin Republic

D

damador

Guest
update_option( 'pewc_license_status', 'valid' ); in functions-updater.php should do the trick :) - do you have latest version ?
 

Uzuary

Member
Dec 29, 2020
71
15
8
I tested it, and it doesn't work. This is not a premium version, but a basic one. It is not half as useful. :(
 

zed8833

Member
Mar 9, 2019
54
21
8
Change 168 lines in functions-updater.php

// $license_data->license will be either "valid" or "invalid"
update_option( 'pewc_license_status', 'valid' );

Change 336 line 1 to 0.
$license = get_option( 'pewc_license_level', 0 );

Now pro version working :)
 

Attachments

  • product-extras-for-woocommerce.zip
    607.9 KB · Views: 168

DCDev

Active member
Apr 14, 2021
108
101
43
Anyone got the latest version? Also the steps above don't null the product. It still flags licence key. Is this normal? How do we remove the licence message if nulled?

Current version we have is 3.8.8

Latest changes to plugin

3.8.9, 25 March 2021
  • Added: pewc_after_upload_script_init and pewc_dz_tpl_td actions
  • Added: quantity param in $file object for uploads
  • Added: pewc_remove_spaces_in_text filter
  • Added: look up tables empty cells return null
  • Fixed: group conditions not hiding correctly in the cart
  • Fixed: group conditions not duplicating correctly
  • Fixed: multiply price for number fields using percentage pricing
  • Fixed: Multiply Price setting not saving on new number field
  • Fixed: calculations always rounding to 2 decimal places
  • Fixed: group conditions based on select box fields
  • Updated: removed pewc_license_admin_notices nag
Any advice or help is much appreciated :)

Edit: Just to add to the changes. Does anyone have the Bundle version? It adds some nice features to the current plugin that is already awesome.
 
Last edited:
  • Like
Reactions: bathrug

DCDev

Active member
Apr 14, 2021
108
101
43
To remove the licence message, rather then having 'ok', or the original warning, comment/delete the following code from funtions-updater.php on line 254 just after } ...

else if( $status != 'valid' ) {
$message = sprintf(
__( 'Your license is not currently activated. Please ensure you activate your license in order to use all the features of this plugin. Your license number will be on the email you were sent with the download link or on <a target="_blank" href="%s">your account page</a>.', 'pewc' ),
esc_url( PEWC_STORE_URL . '/my-account/' )
);
$settings_url = pewc_get_settings_url();
$message .= sprintf(
__( '<p><a href="%s">Enter your license key here</a></p>', 'pewc' ),
$settings_url
);
printf(
'<div class="notice notice-error"><p><strong>%s</strong></p><p>%s</p></div>',
__( 'WooCommerce Product Add-Ons Ultimate', 'pewc' ),
$message
);
}

if( isset( $_GET['show_response'] ) ) {
$error = get_option( 'pewc_test_response', false );
if( $error ) {
printf(
'<div class="notice notice-error"><pre>%s</pre></div>',
print_r( $error, true )
);
}
}



On a lighter note - Please can someone upload the latest version (3.8.9) if possible to test the bug fixes out.

Enjoy and Thanks :)
 

haring

New member
Feb 28, 2020
27
10
3
Try this nulled version

/wp-content/plugins/product-extras-for-woocommerce/inc/functions-updater.php

line #344 to #349

change
Code:
function pewc_is_pro() {
     $license = pewc_get_license_level();
     if( $license == 0 && is_numeric( $license ) ) {
         return true;
     }
    return false;

in
Code:
function pewc_is_pro() {
     $license = pewc_get_license_level();
     if( $license != 0 && is_numeric( $license ) ) {
         return true;
     }
    return false;


it works for me
 

DCDev

Active member
Apr 14, 2021
108
101
43
Please can someone upload latest "nulled" version if possible :). Thanks
 

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu