Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Can’t you post that answer so everyone else can do the same?

    I’m having the same issue where I have had to turn off the option of protection from brute force attacks because everyone logging in is being blocked including myself as admin

    We use just one user name / password / generic user name for many users which is what we have done for a while but its annoying that something designed to protect the site is blocking effective use of it

    Thread Starter jmarcjones

    (@jmarcjones)

    Hi Chris
    Thanks for your suggestion
    I have managed to create a variation of your suggestion which will work…

    What I’ve done is created coupon with minimum spend £22 (CD1 @ £12 and CD2 @ £10) and then added CD1 & CD2 to the MUST BE IN CART option….

    Then to avoid the ability of anybody trying to apply the discount to anything other than the two above CDs… I have added all the other CDs to the EXCLUDE ITEMS option / area.

    This way if CD3 is in the cart it will say “coupon does not apply to your cart contents” and if CD2 is NOT in the cart but CD1 is the total is only £12 therefore it will say that minimum spend for coupon is £22.

    Its a long winded way around but to the customer it wont matter as all they will hopefully be doing is adding coupon code to the cart once they’ve added the “offer cds” to the cart…..

    Thanks again for y our help.

    Jonathan

    Thread Starter jmarcjones

    (@jmarcjones)

    ??

    Thread Starter jmarcjones

    (@jmarcjones)

    Thanks for your help this has solved my problem as I’ve added this code to functions php

    /**
    * WooCommerce
    *
    * Unhook sidebar
    */
    remove_action( ‘woocommerce_sidebar’, ‘woocommerce_get_sidebar’, 10);

    /**
    * WooCommerce
    *
    * Unhook/Hook the WooCommerce Wrappers
    */
    remove_action(‘woocommerce_before_main_content’, ‘responsive_woocommerce_wrapper’, 10);
    remove_action(‘woocommerce_after_main_content’, ‘responsive_woocommerce_wrapper_end’, 10);

    add_action(‘woocommerce_before_main_content’, ‘responsive_child_woocommerce_wrapper’, 10);
    add_action(‘woocommerce_after_main_content’, ‘responsive_child_woocommerce_wrapper_end’, 10);

    function responsive_child_woocommerce_wrapper() {
    echo ‘<div id=”content-woocommerce” class=”grid col-940″>’;
    }

    function responsive_child_woocommerce_wrapper_end() {
    echo ‘</div><!– end of #content-woocommerce –>’;
    }

    Thread Starter jmarcjones

    (@jmarcjones)

    No side bars are actually switched on and its happening on the ‘shop’ page of WooCommerce as I mentioned before. If I create for example a wordpress page “test page” and do not enter any content then publish. When I view the page its blank. I was thinking that something on the auto created woo commerce pages is causing this problem?

Viewing 5 replies - 1 through 5 (of 5 total)