silvanights
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Hide “Ship to a different address?” On CheckoutOkay I have managed to do it.
I had to copy form-billing.php and form-shipping.php from:
woocommerce\templates\checkout\
and paste them to:
yourthemename\woocommerce\checkout\Once here I edited form-billing.php and changed:
<h3><?php _e( 'Billing Details', 'woocommerce' ); ?></h3>
To:
<h3><?php _e( 'Shipping Details', 'woocommerce' ); ?></h3>And edited form-shipping.php and changed:
<h3 id="ship-to-different-address"> <label for="ship-to-different-address-checkbox" class="checkbox"><?php _e( 'Ship to a different address?', 'woocommerce' ); ?></label> <input id="ship-to-different-address-checkbox" class="input-checkbox" <?php checked( apply_filters( 'woocommerce_ship_to_different_address_checked', 'shipping' === get_option( 'woocommerce_ship_to_destination' ) ? 1 : 0 ), 1 ); ?> type="checkbox" name="ship_to_different_address" value="1" /> </h3>To:
<h3 id="ship-to-different-address"> <input id="ship-to-different-address-checkbox" class="input-checkbox" <?php checked( apply_filters( 'woocommerce_ship_to_different_address_checked', 'shipping' === get_option( 'woocommerce_ship_to_destination' ) ? 1 : 0 ), 1 ); ?> type="checkbox" style="display:none;" name="ship_to_different_address" value="1" /> </h3>This seems to work, the only downside I can see is that if WooCommerce update those 2 files in future updates, you will have to carry out the above again as you will still be using the old copy.
Forum: Plugins
In reply to: [WooCommerce] Hide “Ship to a different address?” On CheckoutHi All,
Thanks for your suggestions.
I think im going to have to go back to trying to work out my original plan of hiding the billing fields along with the ship to a different address fields.The problem is that I have customers who want to ship the item as a gift to someone else and pay via PayPal (which is why I only need shipping address not billing as PayPal provides this).
With the change suggested to force the shipping address and billing address as one it means in my records on WooCommerce it now says the billing details are the recipient of the gift, which is actually wrong.Thanks again,
Forum: Plugins
In reply to: [WooCommerce] Hide “Ship to a different address?” On CheckoutThat does make more sense, thanks.
One thing though is that it’s calling it “Billing & Shipping”, is there a way to rename this to just “Shipping Details”?
I have had a look and cant see a field name for that title to rename it in functions.phpthx
Forum: Plugins
In reply to: [WooCommerce] Guest EmailsNo order emails showing in Email Log plugin.
I can send a test email using Check Email plugin as well.Even I click on the order and click resend order emails nothing shows up in the log, so it’s not even trying, very strange.
Forum: Plugins
In reply to: [WooCommerce] Guest EmailsThanks guys for both your guidance, things are a bit quiet at the moment so I will wait to see if I get another order and post the outcome.
Thanks again,
tom,
Forum: Plugins
In reply to: [WooCommerce] Guest EmailsThanks for your reply. Postman SMTP has a log function too and cannot see anything going through it, nevertheless I have installed the plugin.
The log is showing as empty, do I assume correctly that it will only log things from when the plugin is active and not historical items?Many thanks,
tom,