Palexandra
Forum Replies Created
-
It happens on the website all around, it might have to do with my theme but not sure how to go about it.
I disable this but will enable it for a bit so that you can see how it looks on mobile (I have been using Iphone to take a look at it).
The website is https://www.AmazingRCstore-shop.com, let me know and thanks for your help.
Forum: Plugins
In reply to: [WooCommerce] Shipping class to be able Overwrite free shipping?Just in case anybody comes across this issue i found my solution here:
https://speakinginbytes.com/2013/11/disable-free-shipping-woocommerce/
** */ Disable free shipping for select products * * @param bool $is_available */ function my_free_shipping( $is_available ) { global $woocommerce; // set the product ids that are ineligible $ineligible = array( '14009', '14031' ); // get cart contents $cart_items = $woocommerce->cart->get_cart(); // loop through the items looking for one in the ineligible array foreach ( $cart_items as $key => $item ) { if( in_array( $item['product_id'], $ineligible ) ) { return false; } } // nothing found return the default value return $is_available; } add_filter( 'woocommerce_shipping_free_shipping_is_available', 'my_free_shipping', 20 );
[Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]
Replacing the $ineligible array for your product number you will exempt those products from free shipping. Works like a charm.
Forum: Plugins
In reply to: [WooCommerce] Conditional Free Shipping?In case anyone comes across this same issue in the future, i found my solution her:
https://speakinginbytes.com/2013/11/disable-free-shipping-woocommerce//** * Disable free shipping for select products * * @param bool $is_available */ function my_free_shipping( $is_available ) { global $woocommerce; // set the product ids that are ineligible $ineligible = array( '14009', '14031' ); // get cart contents $cart_items = $woocommerce->cart->get_cart(); // loop through the items looking for one in the ineligible array foreach ( $cart_items as $key => $item ) { if( in_array( $item['product_id'], $ineligible ) ) { return false; } } // nothing found return the default value return $is_available; } add_filter( 'woocommerce_shipping_free_shipping_is_available', 'my_free_shipping', 20 );
[Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]
Replacing the $ineligible array for your product number you will exempt those products from free shipping. Works like a charm.
Forum: Plugins
In reply to: [WooCommerce] Conditional Free Shipping?I see what you mean…. Thanks, I will see where this takes me since im not too familiar but it might work. Thanks for your reply! ??
Thanks, I will try Jetpack now ??
Forum: Plugins
In reply to: [WooCommerce] Conditional Free Shipping?*Basically i need some shipping classes to be able Overwrite the free shipping
Forum: Plugins
In reply to: [WooCommerce] WooCommerce – Hiding free shipping from certain productsHi Yifa, im having this exact same problem…. have you found a way to make this work?
I coulnt find it at first either, but as deifos explained you have to go to SCREEN OPTIONS and enable product categories.
Forum: Plugins
In reply to: [WooCommerce] Woocommerce Product Categories WidgetSorry, never mind i found it
Forum: Plugins
In reply to: [WooCommerce] Woocommerce Product Categories Widget@davewill i read what you suggested and it seems to be what i am trying to achive. Could you explain further how to ad a custom menu (where do you do this?- i don’t seem to find the Menu Page – im using WP with Woocommerce) i have been trying to display only selected categories on my drop down menu but no luck i think your option might help.
Davewill or anyone else that might be able to help me with this?
Forum: Plugins
In reply to: [WooCommerce] Changing max number of products before paginationJust what I was looking for! A life saver! ??
Forum: Plugins
In reply to: [Contact Us Page - Contact People] Plugin affecting my search resultssorry, wrong forum.
Forum: Plugins
In reply to: [Contact Us Page - Contact People] Plugin affecting my search resultsAnother little issue I found is that when this plugin is activated the page numbers at the bottom will double up.
Hi esmi,
I will try switching to the default theme for a few minutes and going back see if that makes a difference (the reason why i would prefer not to mess with my theme is because we are an online store and would hate to have the website looking messy, but i hate this problem more so i ll give it a try.) Once i go back to the default theme, i will check if the problem persists, if it does not, what would that mean and what should i do then?
Hi WPyogi, thanks for your response.
One of my HTaccess files is empty (as shown). Is there a default or common HTaccess file that i can copy paste hoping this would normalize my website or i should just upload the same empty one?