Forum Replies Created

Viewing 15 replies - 1 through 15 (of 30 total)
  • Thread Starter charmp121

    (@charmp121)

    Still having same issue as before only when using php 7.2 and 7.3. If I use php version 7.1 or earlier the error does not appear on my site. Here is the error I get for your review…

    Warning: count(): Parameter must be an array or an object that implements Countable in /plugins/support-ticket-system-by-phoeniixx/includes/phoen_ticket_details.php on line 61

    Warning: count(): Parameter must be an array or an object that implements Countable in /plugins/support-ticket-system-by-phoeniixx/includes/phoen_ticket_details.php on line 96

    Let me know if there is a fix or it can be fixed??

    Thread Starter charmp121

    (@charmp121)

    Sorry for the delay getting back to you – the code I added to the site was the following…

    /**
    * @snippet Add Privacy Policy Checkbox @ WooCommerce My Account Registration Form
    */

    add_action( ‘woocommerce_register_form’, ‘bbloomer_add_registration_privacy_policy’, 11 );

    function bbloomer_add_registration_privacy_policy() {

    woocommerce_form_field( ‘privacy_policy_reg’, array(
    ‘type’ => ‘checkbox’,
    ‘class’ => array(‘form-row privacy’),
    ‘label_class’ => array(‘woocommerce-form__label woocommerce-form__label-for-checkbox checkbox’),
    ‘input_class’ => array(‘woocommerce-form__input woocommerce-form__input-checkbox input-checkbox’),
    ‘required’ => true,
    ‘label’ => ‘I\’ve read and accept the Privacy Policy‘,
    ));

    }

    // Show error if user does not tick

    add_filter( ‘woocommerce_registration_errors’, ‘bbloomer_validate_privacy_registration’, 10, 3 );

    function bbloomer_validate_privacy_registration( $errors, $username, $email ) {
    if ( ! (int) isset( $_POST[‘privacy_policy_reg’] ) ) {
    $errors->add( ‘privacy_policy_reg_error’, __( ‘Privacy Policy consent is required!’, ‘woocommerce’ ) );
    }
    return $errors;
    }

    Required the privacy policy checkbox to be checked from woo login / register pages. However, I deactivated the code now and your plugin works fine now.
    Just wanted to let you know the code I was using. Once activated – it would require a privacy policy checkbox so it would not let people login until box was checked which was not visible with your login popup.
    Please review and advise. Thanks.

    Thread Starter charmp121

    (@charmp121)

    Any update or help on this matter would be greatly appreciated.

    Thanks.

    Thread Starter charmp121

    (@charmp121)

    I am using itthinx grous plugin with the woocommerce addon. Here are the links for them…

    1. https://www.ads-software.com/plugins/groups/
    Groups on my site creates the initial group for those users who are registered on my site – “registered”. They should get 2% rewards cartwise.
    Then I created a new subscription group which one needs to buy a digital product to qualify. That group is called “Elite”. They should get 4% rewards cartwise.

    The other additional plugin is groups woocommerce here is the link. https://www.itthinx.com/shop/groups-woocommerce/
    Not completely sure how these 2 plugins join together. I just need to assign different rewards to different groups.
    Also, non registered users (guest) are not earning any rewards until they register and login.
    Please review and advise.
    Any help is much appreciated. Thank you.

    Thread Starter charmp121

    (@charmp121)

    Tried to figure out the filter myself but do not know the specifics of hooks and filters. Here is what I came up with to offer 2 different cashback amounts based on the persons group membership.

    add_filter( ‘woo_wallet_cashback_amount’, ‘change_woo_wallet1’ );
    function change_woo_wallet1() {
    echo do_shortcode (‘[groups_member group=”Registered”]’);
    $cashback_amount=2;
    echo do_shortcode (‘ [/groups_member] ‘);
    echo do_shortcode (‘[groups_member group=”Elite”]’);
    $cashback_amount=4;
    echo do_shortcode (‘ [/groups_member] ‘);
    }

    The only thing I could find is group membership shortcodes so I tried to implement it into the code. Not sure if it will work. Any help or suggestions on your end would be appreciated.
    Thank you.

    Thread Starter charmp121

    (@charmp121)

    Installed the github master earlier this evening. Tried it out and seems to run fine. I was able to get into the wp-admin area with no problem. Seems to be working just fine. Thanks for your help.

    Thread Starter charmp121

    (@charmp121)

    Sorry for the delayed response to this support item. However, I am a novice when it comes to WordPress and specific coding. Can you give me better or more detailed instructions on how to use the cashback_amoount filter? Any help in this matter would be greatly appreciated.

    Thank you.

    Thread Starter charmp121

    (@charmp121)

    If I purchased the pro version – can I use the shortcode option to add it to the custom links option in the menu? Will this possibly work for me in the mobile menu?

    • This reply was modified 6 years, 3 months ago by charmp121.
    Thread Starter charmp121

    (@charmp121)

    Sorry for the delayed response to this support item. However, I am a novice when it comes to WordPress and specific coding. Can you give me better or more detailed instructions on how to use the cashback_amoount filter? Any help in this matter would be greatly appreciated.

    Thank you.

    Thread Starter charmp121

    (@charmp121)

    Thank you for getting back to me…much appreciated.

    1. the text changes plugin I am using is – Say What – https://www.ads-software.com/plugins/say-what/

    2. The info you included in your previous reply was helpful. When I inserted – woocommerce-bulk-order-form info into the text domain field in Say What. It now displays correctly add to bag. Thank you.

    3. I am using YITH WooCommerce Dynamic Pricing and Discounts which if you are a member of the site – your product cost will be discounted. Anyway yo show the discounted amounts on the bulk order form? Please let me know if this is possible.

    Thanks.

    Thread Starter charmp121

    (@charmp121)

    Thanks for the response. Unfortunately I am not that knowledgable with custom coding. Any chance I could get some help from you. Basically, would like to use groups and set different cashback rewards based on the group the user is in. For example, registered users all get 2% back and Elite users would get 4% back. IS there some snippet code you can send me to allow this to occur with the plugin?
    Please let me know. Thanks.

    Thread Starter charmp121

    (@charmp121)

    I reviewed my site and found the plugin causing the conflict. It is the Woocommerce Group pricing plugin – https://codecanyon.net/item/woocommerce-group-pricing/6806416?s_rank=1. Anyway to keep the plugin active and fix the conflict easily. I am novice and not that familiar with coding in wordpress. Please review and advise.
    Thanks.

    Thread Starter charmp121

    (@charmp121)

    Sounds like you may be right. Will need to deactivate all plugins and activate a few at a time to see what is causing the issue.
    Will advise when I know something. Thanks.

    Thread Starter charmp121

    (@charmp121)

    Ok, perfect works great.
    Thank you.

    Thread Starter charmp121

    (@charmp121)

    Ok, sent you an email with attached screenshot for your review.
    Thanks.

Viewing 15 replies - 1 through 15 (of 30 total)