Pablo

Forum Replies Created

Viewing 15 posts - 271 through 285 (of 297 total)
  • Author
    Posts
  • Pablo
    Moderator
    Plugin Support

    Hi Mohsin,

    Sorry for the delay. What extra functions would you need?

    Meanwhile, if you simply update the user meta alg_wc_ev_is_activated as 1, the user is considered activated by our plugin and won’t receive the verification email. Would it be enough for you?

    in reply to: How to display the notice only for zones with free shipping? #88431
    Pablo
    Moderator
    Plugin Support

    Hi Joaquin,

    Actually we have been thinking about your question and we decided to create a new option for you.

    Now you can use the -1 value on the shipping area you want to hide the amount left text.

    Please update the plugin to version 2.1.1 and let me know if it works for you

    in reply to: Why does it not display even though the min amount is set? #88428
    Pablo
    Moderator
    Plugin Support

    Hi Kelton,

    Sorry for the delay.
    Probably, you should have simply misunderstood some of our options.

    The 'min_cart_amount' present on the code you mentioned is the minimum total cart amount required to display the amount left text.

    That option was a bit misleading the way it was before and commonly confused with the Manual min amount option. But since version 2.0.8 we now believe that it is on a more appropriate location.

    You can find it now at:
    – General > Hide the amount left text > By cart amount

    So we think that our current code is correct.
    Please make sure that you have the most recent version of the plugin and let us know if you think it makes sense.

    in reply to: Can I set a different date range for different products? #100770
    Pablo
    Moderator
    Plugin Support

    Hi,

    The product name was just a comment. The number I used after the word “case” was actually the product ID. Product A, B and C with IDs 1, 2 and 3.

    Please check this other code for your other questions:

    add_filter( 'alg_wc_mppu_date_to_check', function ( $date_to_check, $date_range, $current_time, $product_or_term_id, $current_user_id, $is_product ) {
       if ( ! $is_product ) {
          return $date_to_check;
       }
       if ( in_array( (int) $product_or_term_id, array( 1, 2, 3 ) ) ) { // Product IDs 1, 2 and 3 - 15 days
          $date_to_check = ( $current_time - ( DAY_IN_SECONDS * 15 ) );
       } elseif ( in_array( (int) $product_or_term_id, array( 4, 5, 6 ) ) ) { // Product IDs 4, 5 and 6 - 30 days
          $date_to_check = ( $current_time - MONTH_IN_SECONDS );
       }
       return $date_to_check;
    }, 10, 6 );
    in reply to: How can I limit memberships using formula? #100785
    Pablo
    Moderator
    Plugin Support

    Hi,

    I’m just writing here to possibly help other users. The issue was a typo with the shortcode attribute:

    [alg_wc_mppu memberhsip_plan=""]

    instead of the correct one:

    [alg_wc_mppu membership_plan=""]
    in reply to: How can I limit memberships using formula? #100783
    Pablo
    Moderator
    Plugin Support

    Yes, this is the membership plugin compatible with our plugin.

    Would it be possible for you to create/share an admin account to your server (WP and preferably FTP), so I could login and check what’s going on? If that’s the case, please send a message to [email protected]

    in reply to: How can I limit memberships using formula? #100779
    Pablo
    Moderator
    Plugin Support

    Hi Ugene,

    If you’re using the product_id attribute for the shortcode, please make sure to enable the “Limits > Per product” option.

    Let me know if it helps

    in reply to: Why is the plugin not sending email verification anymore? #101418
    Pablo
    Moderator
    Plugin Support

    Hi Ralph,

    I couldn’t find the “customer-redirect” page that you said you’ve created.
    Please access that page and copy its full URL and paste it in the “Prevent login after register > Custom redirect URL” option.

    Example:

    http://dev.mini-lease.dk.linux299.unoeuro-server.com/custom-redirect
    in reply to: Can I set a different date range for different products? #100768
    Pablo
    Moderator
    Plugin Support

    Hi,

    Although it’s not possible to set a date range per product using the admin settings or by using shortcodes, I believe it would be possible via code using the alg_wc_mppu_date_to_check filter.

    If you only need to set limits for these specific products, you can simply enable “Limits > Per Product” option and then access the admin product page from A, B and C, setting the “Limit per user” option as 1.

    In your (child) theme’s functions.php file you can add this code, considering products A, B and C with ids 1, 2 and 3:

    add_filter( 'alg_wc_mppu_date_to_check', function ( $date_to_check, $date_range, $current_time, $product_or_term_id, $current_user_id, $is_product ) {
       if ( ! $is_product ) {
          return $date_to_check;
       }
       switch ( (int) $product_or_term_id ) {
          case 1: // Product A - Lifetime.
             $date_to_check = 0;
             break;
          case 2: // Product B - Last 7 days.
             $date_to_check = ( $current_time - WEEK_IN_SECONDS );
             break;
          case 3: //  Product C - Last 24 hours.
             $date_to_check = ( $current_time - DAY_IN_SECONDS );
             break;
       }
       return $date_to_check;
    }, 10, 6 );

    Let me know if it helps 😉

    in reply to: Why is the plugin not sending email verification anymore? #101416
    Pablo
    Moderator
    Plugin Support

    Please, take a look at your WooCommerce logs page and look for the errors. You’ll notice there are errors from your child theme functions.php.

    If you just want to redirect the users after verification, most probably you don’t need to use any custom code in your child theme. You can use our “Redirect on success” option. It seems you had tried it already but you didn’t add a valid URL there. Please just try to use a valid URL and let me know if it helps

    Pablo
    Moderator
    Plugin Support

    Hi Ralph,

    You’re right. I just created a developers tab with a small usage example of the alg_wc_ev_user_account_activated action hook. Please take a look at it.

    Pablo
    Moderator
    Plugin Support

    Hi Ralph. We have a hook that is triggered after the user has clicked on the activation link and the account was verified successfully:

    alg_wc_ev_user_account_activated

    The first parameter is the user id

    in reply to: How do I translate the texts in the plugin? #101401
    Pablo
    Moderator
    Plugin Support

    Hi Armin,

    I just added the General > Verification info > Customization option to wpml-config.xml file for you. So now you’ll be able to translate it using Polylang or WPML for example. Please update the plugin to version 2.2.3.

    When translating the [alg_wc_ev_verification_status] shortcode into Danish, you could try something like this:

    [alg_wc_ev_verification_status verified_status="Verificeret" unverified_status="Ubekræftet"]

    Let me know if it helps 😉

    in reply to: Why did the plugin stop working? #89817
    Pablo
    Moderator
    Plugin Support

    Great! I’m also impressed 🙂

    In that case, please consider leaving a review if you are enjoying the plugin/support. It would be much appreciated 😉

    in reply to: Why did the plugin stop working? #89815
    Pablo
    Moderator
    Plugin Support

    Hum, so your Pro version is really outdated. Please update it to the latest version (2.4.9)

    Make sure you have the WP Factory helper plugin installed so you can install available updates automatically, and enter the key from https://wpfactory.com/my-account/downloads/

Viewing 15 posts - 271 through 285 (of 297 total)