byronyasgur
Forum Replies Created
-
Forum: Plugins
In reply to: [Woocommerce Catalog] Can we remove add to cart per product?pantrif can I just clarify – do you mean I can remove add to cart on one cat and leave it working on another
thanks
@dwinden Didn’t see that answer sorry – yes that answers it thanks
Forum: Plugins
In reply to: [Adminimize] Cant hide customize header and background sub menu itemsThanks Frank
Forum: Plugins
In reply to: [W4 Post List] A list can load only once on the same pageFor some reason this post keeps disappearing ( I think this is the 3rd time I’ve posted; but I’ll copy it this time so I can repost it easier ) … I wanted to report that in my case I setup a test with a clean WordPress install and discovered what seems to be a three way conflict between W4 post list, Yoast and ( in my case anyway ) the Atahualpha theme. Deactivating any of the three in my clean install solved the problem, and I couldn’t replicate the problem with just two of the components. Hope that helps someone.
Hi Sridharan – thanks for the update – my client is not using the plugin anymore though so I probably wont get around to testing it – but it was very handy so might use it again in the future – thanks for the plugin and update
Forum: Plugins
In reply to: [Adminimize] Cant hide customize header and background sub menu itemsupdate – tried it with 2015 theme – same result
Forum: Plugins
In reply to: [YITH WooCommerce Ajax Product Filter] Filter by category??Looks like you have to copy your cats to attributes manually – read these comments. https://yithemes.com/blog/free-plugins/yith-woocommerce-ajax-navigation-new-free-plugin-released/
Forum: Plugins
In reply to: [WP-PageNavi] Not working with Woocommerce storeTHanks … yes … does AFS allow me to hook in anywhere … or does it hook into woocommerce_shipping_free_shipping_is_available itself … I mean is there any way I can hook into that for AFS it looks like it only works with the default woo free shipping.
Thanks … it’s because of this issue with woocommerce free shipping ( as I am using local pickup )
https://github.com/woothemes/woocommerce/issues/7721no worries about replies taking time … this issue is on a slow burn for me and the project is deployed.
Thanks … no idea why you’re not getting notified
meant to say thanks that worked out
further to that … this is the article that I got that code from in case it’s of any help … https://speakinginbytes.com/2013/11/disable-free-shipping-woocommerce/
Yes it’s number 1 … but when I set it like you suggest it seems to read as “if there IS A product in the cart WHICH is not equal to Product X” ( true for all other products ) … as opposed to “as long as Product X is not in the cart” … ( to be fair the way it works is the way I’d expect it to work) … what I’m after myself is a bit of an anomaly … essentially to invalidate free shipping if a particular product or class is in the cart
I realised just now that while the above would work it still wouldn’t be exactly right … Its difficult to explain here but ideally I need to be able to invalidate shipping if the subtotal line values of that product ( there might be more than one ) in the cart are less than a particular value ( convoluted I know ) …. anyway I have the code for this and it works perfectly but works with the built in woocommerce free shipping … do you see any way to make this work with AFS
// Disable free shipping for vouchers below value add_action( 'woocommerce_shipping_free_shipping_is_available', 'disable_free_shipping_vouchers_under_set_price' ); function disable_free_shipping_vouchers_under_set_price( $is_available ) { $voucher_value_in_cart = 0; $free_threshold = 100; $ineligible_products = array( 4493, 9677 ); // the dev and production versions of the voucher product ID foreach( WC()->cart->get_cart() as $cart_item_key => $values ) { if ( in_array( $values[product_id], $ineligible_products ) ) $voucher_value_in_cart += $values[line_subtotal]; } if ( $voucher_value_in_cart > $free_threshold ) { return $is_available; } elseif ( $voucher_value_in_cart == 0 ) { return $is_available; } else { return false; } }
Forum: Reviews
In reply to: [Velvet Blues Update URLs] Blue Velvet Update URLs is BrokenI haven’t used it ( yet ) but I think what e-Datu was saying was not to forget https:// before both urls … strange things typically happen in most software if you leave those out
Thanks … great tip and very handy but it didn’t make any difference.
With AFS enabled it hides all non free methods
With AFS enabled and “Hide other shipping methods when free …” it hides all other methods ( including local pickup and I can’t imagine how you’d want that )if you don’t experience that yourself I can check it in a clean install here … which way is expected behaviour
Thanks