Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter adam198

    (@adam198)

    I mean this code here

    //TEXT FOR PRODUCT LIMITATIONS
    $product_text_errors = array(
    ‘product’ => array(
    ‘min_qty_text’ => __(‘Quantity of product %products% can not be less than %value%‘, ‘minmax-quantity-for-woocommerce’),
    ‘max_qty_text’ => __(‘Quantity of product %products% can not be more than %value%‘, ‘minmax-quantity-for-woocommerce’),
    ‘min_price_text’ => ”,
    ‘max_price_text’ => ”,
    ),
    ‘variation’ => array(
    ‘min_qty_text’ => __(‘Quantity of one variation of a %products% product can not be less than %value%‘, ‘minmax-quantity-for-woocommerce’),
    ‘max_qty_text’ => __(‘Quantity of one variation of a %products% product can not be more than %value%‘, ‘minmax-quantity-for-woocommerce’),
    ‘min_price_text’ => ”,
    ‘max_price_text’ => ”,
    )
    );`

    If I want to change the text for min_qty_text or max_qty_text can this not be done without another plugin?

    Thread Starter adam198

    (@adam198)

    Hi.

    That not handles the parameters correctly by not removing the ? but the problem is how it handles the forwarding now. If the user goes to example.com/post?parameter=1 but that is a 404 it might create a redirect to example.com/correct-post?parameter=1 but I think that is still considered a 404 and it creates another automatic redirect to its self because it still keeps the parameters in the URL. I think you need to remove the parameters when it forwards.

    If you see here https://ibb.co/mvTrtSp it has created 2 redirects and that creates a redirect loop

    Thread Starter adam198

    (@adam198)

    Okay, I will have to switch off automatic redirection for now.

    For me having a way for it to ignore parameters would work but I understand that might not work for everyone.

    Once this is fixed it will be a brilliant plugin.

    Thanks.

    Thread Starter adam198

    (@adam198)

    I have still not been able to work this out. All I want to do is remove and action and add an action.

    There is nothing in your documentation on how to do this. Can we even do this without editing the plugin?

    Thread Starter adam198

    (@adam198)

    Do you not provide this? Are we stuck with the button having to be in one of the 4 locations you have specified?

    I don’t see why this is so difficult.

    Thread Starter adam198

    (@adam198)

    I am still not able to get it to work

    I have tried

    global $BeRocket_Compare_Products;
    remove_action( 'woocommerce_single_product_summary', array($BeRocket_Compare_Products, 'get_compare_button'), 38  );

    Along with a number of other options after reading through many articles.

    What code do I need to put in the functions to remove the get_compare_button from the woocommerce_single_product_summary?

    Thread Starter adam198

    (@adam198)

    I have fixed it by doing another import to the live domain. I have no idea what the problem was.

    Thread Starter adam198

    (@adam198)

    I have enabled debugging to see the problem here is the error

    Notice: Indirect modification of overloaded element of WPCF7_FormTag has no effect in /home/website/public_html/wp-content/plugins/bootstrap-for-contact-form-7/modules/really-simple-captcha.php on line 48
    
    Fatal error: Call to undefined function wpcf7_captcha_shortcode_handler() in /home/website/public_html/wp-content/plugins/bootstrap-for-contact-form-7/modules/really-simple-captcha.php on line 51
Viewing 8 replies - 1 through 8 (of 8 total)