deagonbm
Forum Replies Created
-
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] add meta data to invoiceI have emailed, thanks
Forum: Plugins
In reply to: [WooCommerce] Free Shipping helpOk so I just found this code which works perfectly! HOWEVER it also overrides my pickup in store option. How do I make it exclude this option?
Thanks
<?php
/**
* Hide shipping rates when free shipping is available.
* Updated to support WooCommerce 2.6 Shipping Zones.
*
* @param array $rates Array of rates found for the package.
* @return array
*/
function my_hide_shipping_when_free_is_available( $rates ) {
$free = array();
foreach ( $rates as $rate_id => $rate ) {
if ( ‘free_shipping’ === $rate->method_id ) {
$free[ $rate_id ] = $rate;
break;
}
}
return ! empty( $free ) ? $free : $rates;
}
add_filter( ‘woocommerce_package_rates’, ‘my_hide_shipping_when_free_is_available’, 100 );Forum: Plugins
In reply to: [WooCommerce] Free Shipping helpI found this code in another forum but it doesn’t work. I added it to my functions.php and it placed the code in the header of my website publicly. Am I putting it in the wrong section?
// Hide ALL shipping options when free shipping is available
add_filter( ‘woocommerce_available_shipping_methods’, ‘hide_all_shipping_when_free_is_available’ , 10, 1 );/**
* Hide ALL Shipping option when free shipping is available
*
* @param array $available_methods
*/
function hide_all_shipping_when_free_is_available( $available_methods ) {if( isset( $available_methods[‘free_shipping’] ) ) :
// Get Free Shipping array into a new array
$freeshipping = array();
$freeshipping = $available_methods[‘free_shipping’];// Empty the $available_methods array
unset( $available_methods );// Add Free Shipping back into $avaialble_methods
$available_methods = array();
$available_methods[‘free_shipping’] = $freeshipping;
endif;return $available_methods;
Forum: Plugins
In reply to: [Plugin: WooCommerce] extended options on selection of shippingbump
Forum: Plugins
In reply to: [WooCommerce] WooCommerce update messing with shipping.Ohh you are a life saver! I’ve removed the asterisk and it’s working!
I never would have thought to do that considering I just changed it all to include them.
Thank you thank you thank you!I also have another question if possible!
I want to add an optional charge to my checkout page. Where the customer can opt to pay an extra $3 to have their order packed in a specific way. Is this possible without the $79 woocommerce fields plug in?
I’ve found an option that allows the check box but it doesnt allow a charge.Thanks again!
Forum: Plugins
In reply to: [WooCommerce] WooCommerce update messing with shipping.Forum: Plugins
In reply to: [WooCommerce] WooCommerce update messing with shipping.yes 4017 is a full postcode. Prior to the 2.6.1 update it required the * beside it for it to work.
I originally had just the postcode and no * and it wouldnt recognise them. So I fixed that and it worked no problems at all’. That was with 2.6. As soon as it became 2.6.1 it no longer works.Forum: Plugins
In reply to: [WooCommerce] WooCommerce update messing with shipping.This is what I see in the cart
Subtotal $100.00
Shipping
There are no shipping methods available. Please double check your address, or contact us if you need any help.Calculate Shipping
4017
Update TotalsTotal $100.00
This are my zones
Home Delivery Local
View | Edit | Remove
Queensland, 4017*, 4018*
Home Delivery LocalFree Home Delivery LocalPickup in Store
Add shipping methodHome Delivery Non Local
View | Edit | Remove
Queensland, 4159*, 4158*, 4157*, 4156*, 4155*, 4154*, 4153*, 4164*, 4163* and 65 other regions
Pickup In StoreFree Home Delivery Non LocalHome Delivery Non Local
Add shipping methodHome Delivery Extended Areas
View | Edit | Remove
Queensland, 4305*, 4304*, 4303*, 4301*, 4300*, 4209*, 4208*, 4207*, 4205* and 36 other regions
Pickup in StoreFree Home Delivery Extended AreasHome Delivery Extended Areas
Add shipping methodRest of the World
View
Shipping Methods added here will apply to shipping addresses that arenβt included in any other shipping zone.
βForum: Plugins
In reply to: [WooCommerce] WooCommerce update messing with shipping.Sorry should have realised that. I can’t work out for the life of me how to post a screen shot here though?
I’m usually pretty good with this computer stuff lolForum: Plugins
In reply to: [WooCommerce] WooCommerce update messing with shipping.Checkout
http://www.deagonmeats.com/checkout/
Shipping zones
http://www.deagonmeats.com/wp-admin/admin.php?page=wc-settings&tab=shipping
As i said they were working fine with woo 2.6. stopped working with woo 2.6.1
Forum: Plugins
In reply to: Plugin Woocommerce – Shipping not workinghttp://www.deagonmeats.com/wp-admin/admin.php?page=wc-settings&tab=shipping
this is what my settings look like
Forum: Plugins
In reply to: Plugin Woocommerce – Shipping not workingI have updated to 2.6 and still having the same problem. I have already read this article and my shipping options are set up correctly as far as I’m aware and it’s still not working π
Forum: Plugins
In reply to: [WooCommerce] My Account customisation helpHi Mike.
I’ve updated to 2.6 but can’t find the ‘navigation’you refer to.
Can you give further direction?
ThanksForum: Fixing WordPress
In reply to: My Account customisation helpThanks James, I have just posted there.