Robin
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] How can I update WooCommerceYou mentioned that you are on WooCommerce 3.1.2 so there is likely to be very different views to what you are seeing, as WooCommerce is currently at 9.6.1 now.
Do you know what PHP version is currently running on your store? I’m not sure if there was a status report built in yet for that version. It should be listed under WooCommerce > Status. If you are able to provide that here?Forum: Plugins
In reply to: [WooCommerce] WooCommerce Customer AccountsMaybe these docs will be able to assist you further?
https://woocommerce.com/document/configuring-woocommerce-settings/accounts-and-privacy/
https://woocommerce.com/document/the-my-account-page/Forum: Plugins
In reply to: [WooCommerce] Shop Page CustomisationIt’ll depend on your theme really, otherwise there are these docs that might give some insight – https://woocommerce.com/document/woocommerce-store-editing/
Forum: Plugins
In reply to: [WooCommerce] How can I update WooCommerceSounds like you are running a very old version on WooCommerce. There may be further updates more than WooCommerce that you need to look at updating too.
There is a document on WooCommerce that might be helpful – https://woocommerce.com/document/how-to-update-woocommerce/If you are running an old version of WooCommerce back to 3.1.2 then you may likely need to update more than just WooCommerce, as there is likely a PHP upgrade that needs to happen with your host too.
Forum: Plugins
In reply to: [WooCommerce] Select only one variationWhat about if you set the first variation of colours, you setup the attributes as normal. Then for the second variation, you would have a “none” attribute which is selected by default.
This gives the user the ability to give the option of ordering it or not. As well as allowing you to add pricing if needed.That code you supplied doesn’t appear to work for me.
You could try this snippet instead:add_filter( 'woocommerce_add_to_cart_validation', function ( $passed, $product_id, $quantity ) {
if ( isset( $_GET['add-to-cart'] ) ) {
wc_add_notice( __( 'Adding to cart via URL is not allowed.', 'your-text-domain' ), 'error' );
return false;
}
return $passed;
}, 10, 3 );It hooks onto the add to cart validation filter and decides if it should be added to the cart or now. If the “add-to-cart” parameter is set in the URL then it’s not going to add the product to the cart.
You can edit the error message, as it’s currently set to “Adding to cart via URL is not allowed.”.Forum: Plugins
In reply to: [WooCommerce] WooCommerce Analytics Product Reporting@anastas10s thank you for confirming
Thank you @gripgrip I managed to find the issue based on your steps.
I would recommend reaching out to the developers of your theme for best results.
Forum: Plugins
In reply to: [WooCommerce] Trying to resize my banner image, logo image, footer imageI would recommend reaching out to the developers of your theme for best results.
Forum: Plugins
In reply to: [WooCommerce] I want to edit the complete order email for woocommerce emailsThese docs should be able to assist you or your developer : https://woo.com/posts/properly-add-woocommerce-custom-code/
Forum: Plugins
In reply to: [WooCommerce] Order sequence is not properWooCommerce uses the ID number for the order when it’s created in the database, which is why they are not sequential.
A quick search for “WooCommerce sequential order numbers” should get you going.Forum: Plugins
In reply to: [WooCommerce] I want to edit the complete order email for woocommerce emailsYou can try this code below, it should do the trick, although I haven’t tested. Please try it out on a test environment first.
add_filter( 'woocommerce_email_recipient_customer_completed_order', 'disable_order_email_if_free', 9999, 2 ); add_filter( 'woocommerce_email_recipient_new_order', 'disable_order_email_if_free', 9999, 2 ); function disable_order_email_if_free( $recipient, $order ) { $page = $_GET['page'] = isset( $_GET['page'] ) ? $_GET['page'] : ''; if ( 'wc-settings' === $page ) { return $recipient; } if ( (float) $order->get_total() === '0.00' ) $recipient = ''; return $recipient; }
Forum: Plugins
In reply to: [Stock Manager for WooCommerce] Alhabetical sort orderThanks @storeapps, I’m unsure how this is relevant to the original issue?
I’ve identified that same issue too.