WooCommerce AMA with Rodolfo Melogli (Ask Me Anything Woo #1)

I am Rodolfo Melogli, founder of Business Bloomer, WooCommerce development expert, WordPress freelancer, WordCamp speaker, content marketing geek and (like you) small business owner.

This is the first ever WooCommerce AMA (Ask Me Anything) session on Business Bloomer. Rodolfo Melogli will be donating 72 hours of his time and will be available to answer your WooCommerce questions, live, from March 13th until March 15th 2018. Use the comment section below to post your WooCommerce questions.

So, which WooCommerce questions should you ask? Well, here are a few ideas: plugin suggestions, how-to, customization, ecommerce, content marketing, freelancing, speaking, SEO, CRO, business in general – as long as it’s WooCommerce-related!

You can ask your questions in the comment section below and have them answered during the live AMA.

View All WooCommerce Questions & Answers

Related content

  • CustomizeWoo: a WooCommerce Online Course for Aspiring Developers
    It’s live. And it’s alive and kicking. #CustomizeWoo, my flagship Advanced WooCommerce Online Course for designers and DIY store owners, is now live. In this post, I’m about to show you why I invested 151hrs 39mins 1secs of my time to build #CustomizeWoo and another 50+ hours to publish the updated version in June 2019, […]
  • WooCommerce: How to Calculate Product Prices with Custom Formulas
    WooCommerce is a powerful and feature-rich WordPress plugin. But despite the fact it’s got many features, there is always something missing for custom ecommerce businesses. The problem with “all-you-can-do plugins” is the same as “all-in-one WordPress themes“: the more custom functionalities a piece of software has, the worse its performance gets. Therefore, there is no […]
  • WooCommerce: How To Become an Advanced Developer?
    Well, get ready for a 2,700+ words article: becoming a WooCommerce expert won’t take you just a couple of days. A few months won’t be enough either. If you want to join that very small group of advanced freelancers and agencies that exclusively work with WooCommerce clients and charge top dollar, if you want to […]
  • WooCommerce: Should I Add Custom Code Via WP Editor, FTP or “Code Snippets”?
    There are many ways to customize the functionalities of your WooCommerce website, and Business Bloomer is the living proof, with hundreds of WooCommerce snippets! However, many developers totally underestimate the pros and cons of each different method for adding custom code to a WordPress website. Someone is familiar with the WordPress editor, others tend to […]
  • WooCommerce: How To Sell Restaurant Food Online
    The COVID-19 pandemic has made millions of restaurants around the globe shut their doors and adapt to a different and much more convenient way of doing business – accelerating the online restaurant ordering system.  Several third-party services like Uber Eats and Grubhub can help you get your restaurant menu online and take online food orders. […]

Rodolfo Melogli

Business Bloomer Founder

Author, WooCommerce expert and WordCamp speaker, Rodolfo has worked as an independent WooCommerce freelancer since 2011. His goal is to help entrepreneurs and developers overcome their WooCommerce nightmares. Rodolfo loves travelling, chasing tennis & soccer balls and, of course, wood fired oven pizza. Follow @rmelogli

218 thoughts on “WooCommerce AMA with Rodolfo Melogli (Ask Me Anything Woo #1)

  1. Hello Rodolfo,

    I would like to remove some items in the woocommerce drop down sort menu.

    Specifically, I would like to remove ‘Sort by Date’ and ‘Sort by Popularity’.

    I have tried placing the following code in the functions.php file, but it does not seem to work:

    
    // Options: menu_order, popularity, rating, date, price, price-desc
    
    my_woocommerce_catalog_orderby( $orderby ) {
    	unset($orderby["date"]);
    	unset($orderby["popularity"]);
    	return $orderby;
    }
    
    add_filter( "woocommerce_catalog_orderby", "my_woocommerce_catalog_orderby", 20 );
    
    

    Thank you.

    1. Hey Joe, thanks so much for your comment and for taking part in my first WooCommerce AMA!

      I think you’re missing “function” in front of “my_woocommerce…”.

      Hope this helps πŸ™‚

    2. Hello Rodolfo,

      My mistake. I am using β€œfunction” in front of β€œmy_woocommerce…”.

      The code I am using is still not working

      1. Hey Joe, thanks so much for your comment! Unfortunately this looks like custom troubleshooting work and I cannot help here via the blog comments. Thanks a lot for your understanding! ~R

  2. Just another question Rodolfo, I hope you will survive this experience ;)!

    I use this plugin to show variations in more attractive way: https://wordpress.org/plugins/woo-variation-swatches/

    Everything is fine but (In phone) variations appear below the text and I would like them to be just below the image as it changes with each color. How can I change the position of the variations in responsive?

    Thanks a lot!!

    1. Hola Santiago!

      I think you’d better asking the same question to the plugin developers, they should be able to help you πŸ™‚

  3. Hi Rodolfo,
    Firstly thanks for such a helpful resource!

    I’m finding geolocation and the ‘Geolocate with Page Caching Support’ option a little confusing.
    I have seen your useful post about testing Geolocation
    https://businessbloomer.com/test-woocommerce-geolocation/
    but can’t use that quite yet as my site is being built and is still private.

    Woocommerce doesn’t automatically show my prices in other currencies based on location does it – my default currency is GBP, and I thought that would be shown everywhere?
    I see though that geolocation automatically sets the customer’s country when you reach cart / checkout, which is really great for shipping costs.

    I have set up WP Super Cache and am wondering if this option is meaning separate page caching now occurs for each country that visits, i.e. there would be a version of the page cached for Australia and one cached for Germany etc. Is this correct? It doesn’t mean that caching is completely overridden does it?

    Thanks again!

    1. Hey Nige, thanks so much for your comment and for taking part in my first WooCommerce AMA!

      In regard to geolocation, there is no way to test this if your site is private – unless you have your own VPN and can “change” IP on your machine. You can make your site public for a few minutes and use those tools however?

      In relation to currency, you can only pick one currency in default WooCommerce. Products such as currency switchers (I use https://aelia.co/shop/currency-switcher-woocommerce/), can instead display automatically the currency you like based on location. This plugin uses geolocation too.

      Cache should not be a problem for “countries”. Usually cache is on the user’s browser – if they access your site for the second time, their experience will be faster. This should be independent from the IP address / country.

      Hope this helps πŸ™‚

  4. Is it possible to only show “on sale” product on a separate page whilst still showing filters in Woocommerce and removing them from the category listing page.
    If product is for sale, don’t show on product listing page
    => only show on “Specials” page/category, whilst still utilising facetWP

    I am using FacetWP for the filters and have a custom template in development?

    1. Hey Matt, thanks so much for your comment and for taking part in my first WooCommerce AMA!

      FacetWP is a great product and I guess you could try asking the same question to their support (unless you’ve done that already)? In regard to WooCommerce itself, you can display any group of products with a “Products” shortcode (https://docs.woocommerce.com/document/woocommerce-shortcodes/#section-6) so I’m pretty sure you can do so programmatically as well.

      Hope this helps a little πŸ™‚

  5. I want to do something that seems really simple. Here is the flow:
    1) Send my email list (on Mailchimp) an email with a link to
    2) a sales page (dedicated to a single product) on my WordPress site with a
    2) β€œBuy Now” button on the bottom of the sales page. That button would have a pop up that took payment details (Stripe or PayPal) and then took buyers to
    3) A custom thank you page that collects the purchaser’s email and subscribes them to another email list.

    I don’t want to send the customer to a shopping cart or a checkout page or out to PayPal. Just sell-collect money-get email address.

    I’ve been trying but I still have a somewhat clumsy process. Can you help me?

    1. Hello Leila, thanks so much for your comment and for taking part in my first WooCommerce AMA!

      This is a very interesting question. Your landing page software, if compatible with WordPress, should actually be compatible with PayPal/Stripe and provide you with its own checkout flow. Maybe WooCommerce in this case can be completely bypassed?

      If you didn’t want to do that, then you still have a few options. The first one that comes to my mind is this: https://woocommerce.com/products/woocommerce-one-page-checkout/ – you can build pre-assembled checkouts, custom landing pages and it’s all working within WooCommerce.

      Hope this helps πŸ™‚

  6. How to make the checkout of a Genesis theme similar to the Storefront theme, i. e. order data and payment methods are on the right side and not on the bottom?

    Greetings from MedellΓ­n, Colombia.
    Thank you for this opportunity. My God pay you

    1. Hola Eduardo, thanks so much for your comment and for taking part in my first WooCommerce AMA!

      I’m pretty confident you might be able to achieve this with just CSS. With CSS, you could float a column to the left and one to the right, as long as you have good HTML that allows you to do that πŸ™‚ Try double checking this with Genesis support!

      Hope this helps πŸ™‚

  7. Hey Rodolfo! I know you’re writing an article on this soon and you’ve directed a couple of people to Metorik for more advanced reporting. The project I’m working on doesn’t have the budget for something like Metorik, and I’m hoping I can achieve this with a snippet and that you may be able to share a small teaser for this particular issue here in the comments πŸ˜‰

    Is there a way to display data for ALL products in the reports tab? Right now it’s broken down into categories or top sellers etc.

    Thanks so much!

    Mike

    1. Hello Mike, thanks so much for your comment and for taking part in my first WooCommerce AMA!

      Uhm, of course this is possible, but it would take you some time and $20/mo might still be worth an investment. This is how I would proceed: I would look into the WooCommerce plugin PHP to see where the “Top Sellers” list gets generated. I would study the coding, and then see if there is a way to add another button to that report screen called “All Products”. I would copy the “Top Sellers” code, tweak it a bit, and you should be good to go!

      Hope this helps πŸ™‚

  8. Hello, I was wondering of there is a way to synchronize two woocommerce stores, so that if in one store a client orders something, the other store automatically gets the same order with all the specifics. And if the second store changes the order status the first store customer also gets the status update. If you have ideas how to do this, please let me know πŸ™‚

    1. Hello Kipras, thanks so much for your comment and for taking part in my first WooCommerce AMA!

      First question first: why do you have two identical stores?

  9. Hi Rodolfo,
    I’m wondering if what I’m wanting to do is actually the way I should do it, or if you might suggest something else. (And I’ll try to refrain from turning this into asking for custom code πŸ˜€ )

    Karen sells giclΓ©es from her website, karenpetty.com. Most of her buyers turn out to be young women who have visited her in person at the Sawdust Art Festival at some time, and then finally come around to getting the print they wanted when they saw it live.

    We have a ConstantContact popup on the site, and her CC list is about 3K. I want to strike while the iron is hottest for buyer intent, and I want to do a kind of bonding, where I thank them for either signing up, or buying, or maybe even just contacting. My first thought was to customize the “Completed Order” email, (or maybe the “Processing Order” email,) and to say something like: “Thank you for {whatever}, I want to tell you about me, and I want to know about you, and oh by the way, here’s a 10% off coupon for your next purchase, and oh by the way, can you go to every single one of my web presences and like and share and leave reviews, especially at my new Amazon store where I REALLY need reviews,…”

    Not like that, but you get the picture.

    So, would an inclusion like this be best on the Completed Order email, which they would presumably get about the same time their purchase arrives at their door? Or might it be better to include it while the order is still being processed, as in right after they made the purchase?

    And finally, what hook might I use to fit this blurb (I’m imagining a headshot floated to one side of a two-paragraph block, and a full-width coupon with a dashed border or some such) ? Is there already a snippet floating around for something like this?

    What do you suggest?

    BTW, I really do like your approach to WooCommerce customization. I’d been doing a lot of customizations that call for copying things over into my child theme folder, and now I am settling into your mindset, seeing that it’s the much cleaner and sensible approach.

    Thanks,
    Mitch

    1. Hey Mitch, thanks so much for your comment and for taking part in my first WooCommerce AMA!

      In my opinion (and that’s what I do on this website), you need to embrace and take advantage of an email marketing software. The Completed Order email is a purchase email – the “welcome” email is a welcome email: they’re very different and have distinct purposes.

      On this website after a purchase (and based on the product), each customer gets assigned to a “tag” within the email marketing software. Based on this tag, one or more email sequences (“autoresponders”) trigger. And one of the sequences is indeed the “welcome” email plus additional free bonuses, targeted at knowing each other, introducing what they will learn if they follow the email sequence and showing value before asking for money.

      In my opinion, you simply need to select a decent email marketing software. MailChimp and ConvertKit (the one I use) can both do this, as well as other software I haven’t tested.

      Hope this helps πŸ™‚

  10. Hi Rudolfo

    I have an ACF custom date field that stores an event date in the future, for all products. I am not sure if this field gets stored along with the other product info when an order is placed.

    My question is therefore three-fold:
    How can I check if this field is stored in each order as it is placed?
    If it isn’t in each order, how can I get this to be done
    Would it be possible for me to use this field to trigger an email to remind the client about the event on either the day of, or the day before the event?

    Many thanks

    1. Hey Garry, thanks for your questions!

      It seems the best thing to do would be to contact ACF, their support is awesome. In the meanwhile, I found a plugin (untested) that saves your custom data into the order: https://wordpress.org/plugins/acf-for-woocommerce/

      Hope this helps πŸ™‚

  11. I am using a plugin now – security deposits and want the user in my marketplace to add a security deposit to their listing.
    The plugin was originally designed to add this info from the back end. I am wondering if it can be modified easily maybe with ACF plugin as well. Any ideas would in this matter would be greatly appreciated.

    1. Hey William, thanks for your question! I’d suggest you ask the plugin developers in this case – anything is possible from a PHP point of view but maybe they have a quick answer for you πŸ™‚

  12. Hi Rudolfo

    Many thanks for all your efforts in showing us all some basic we tricks with php.

    I have enjoyed your video on hooks, and the single product page. One question if I may:

    You explain how to display static text on various places within the page, but how would one display the contents of a variable (perhaps a custom one) so that it correctly echos the correct field contents for the product?

    By the way – is this AMA like speaking to a genie? – ie do we get three wishes (questions) or is it limited to one? :o)

    Many thanks

    1. Hey Garry, thanks so much for your comment and for taking part in my first WooCommerce AMA! And yes, you can ask as many questions as you wish πŸ™‚

      In regard to displaying a custom field, here you go: https://businessbloomer.com/woocommerce-display-advanced-custom-fields-single-product/

      Hope this helps πŸ™‚

  13. Hi Rodolfo, Thanks for this opportunity to ask questions to you directly.
    Can you help me in placing iframe pixel on the thank you page?
    Here is the pixel

    1. Hello Asif, thanks so much for your comment and for taking part in my first WooCommerce AMA!

      In this article, I show how to add a script, but you can do the exact same with an iframe: https://businessbloomer.com/woocommerce-add-conversion-tracking-code-thank-page/

      Hope this helps πŸ™‚

  14. Hi Rodolfo,

    Thanks so much for doing this and all your videos. I’ve learned a lot from you.

    WooCommerce’s latest updates changed the way they handle images. This has caused problems with the display of our images on the Shop page. Most of our images are long because we sell aprons. But we also sell items who images are wide and short. We set a 3:7 ratio in the Customizer to resize the clothing images on the Shop page.

    The problem is this setting cuts off the sides of wide images to the point that visitors can’t tell what the product is. If I set the ratio to fit the widest images, the clothing images become huge and distorted.

    I’ve followed the discussion in the WordPress WooCommerce plugin forum because many site owners are voicing the same issue, but, so far, no solution.

    Our wide images are in a separate category. I’m trying to create an action that lets me set a separate width (75%) for that one wide category. I tried adapting your code from the conditional logic page [Do something on category pages only]:

    add_action( 'woocommerce_shop_loop', 'display_full_width_product' );
      
    function display_full_width_product( ) {
      
    if ( is_product_category( 'lap-quilt' ) ) {
    remove_image_size( 'archive-product' );
    add_image_size( 'archive-product', width: 75%, true );
    }
    }
    

    When I add it to functions.php, it stops the Shop page from loading. I know you’re not doing custom coding here, but I’m hoping you can point me in the right direction. Do I need to add a custom_image_size first? Any tip would help greatly.

    Thank you.

  15. Hi Rodolfo – my last question on my list πŸ™‚ How can I add an Amazon-like search bar, front-and-center in the header, that only search for products?

    Could I make it so that it searches for products only on some pages, and then on the blog it search for titles/content?

    Thank you so much for your help!!!

  16. Hi Rodolfo – How would you suggest to add social proof notifications like:

    “User X bought Item A x minutes ago” or “X persons have seen this product today”

    Should we consider a plugin for this? Any recommendation?

  17. Hi Rodolfo – Is it possible to setup Woo to do a multi-step checkout process via snippet?

    There are several plugins to do this – would you recommend one or rather code it?

    1. Hey Octavio πŸ™‚

      I believe it’s been proven that – on average and for many industries – the multi-step checkout lowers conversion rates. If you take a look at eBay, they only have one step (apart for login/guest). I would strongly suggest not to implement this.

      Either way, it’s quite difficult to achieve with a snippet, this plugin or its free version should be sufficient: https://yithemes.com/themes/plugins/yith-woocommerce-multi-step-checkout/

      Take care!

  18. So I am reworking a site for a client. They have 2 basic variable products. Hair color (choose color and amount) and Application type ( choose type, volume, container and grams). Each and every order includes 1 to 3 colors and 1 to 2 applications.

    So on the back end, I’m attempting to create an order but almost all my variable products use all variations. So when I add a color product, it just goes to the high level product with no variations selected.

    This is not a user interface it is for professional hair stylists. EVERY order will will have 3 colors and 2 applications so making them go to each product to pick what they will always pick is silly. You could think of it almost like I just want to create populated order carts with all products in them and you can do the variations there.

    I tried the woocommerce plugin composite products and it appeared to function as I needed but the GUI was crap for my needs and vendor never replied for requests for assistance.

    So how would you approach this? At this point I’m thinking just a simple Caldera form but then I’m doing a lot of wheel reinventing ;o)

    Welcome your thoughts / feedback / questions

    1. Hey Jeff, thanks so much for your comment and for taking part in my first WooCommerce AMA!

      Have you looked into “Product Add-Ons” from WooCommerce?

    2. Thanks for the suggestion about add ons. It has several advantages and addresses more than one of my needs.

      However the big one still remains open. Let me try to type a “model” screen (all selects drop downs) So basic screen mockup I want that has 5 products on it.

      COOL HEADER

      Color Choice 1:
      Color Choice 2:
      Color Choice 3:

      Application 1:
      Application 2:

      Add to cart button

      each line is an individual product but every order will have these five products so instead of “shopping” for each item and adding to cart (which the add ons does great). I’d like just this one screen

    3. though I typed it in the form the selects didn’t actually “post”

      For colors you choose color, amount
      For application you choose type, volume, container, grams

      I hope even the basic layout I showed you tells you what I was thinking though.

      1. Hey Jeff, ask the pre-sales team – I’m pretty sure that can be done πŸ™‚

  19. Hi Rodolfo – another question I have is with regards reporting. Is it possible to access the transactions database so to create customs reports – sales today, sales per product, best product, etc. – on the backend (or front-end with access control)?

    Do you know where can I get information on these?

    I would like to get direct access as stated above, but is there any plugin/service you may recommend for this?

    1. Octavio, I will soon publish an article on advanced reporting – but for sure I can recommend this product, developed by a former WooCommerce employee: https://businessbloomer.com/woocommerce-ama-with-rodolfo-melogli-ask-me-anything-woo-1/#comment-32780 πŸ™‚

  20. Hi Rodolfo – my second question is a follow up to the first one: Is it possible to time-limit the coupon/promotion programmatically? Say “This offer is valid for the next X minutes/hours/days”…and then have the system automatically disable such coupon/promo.

    1. Octavio, hello again πŸ™‚

      WooCommerce coupons come by default with a date limit, but you can’t specify the exact time (it defaults to 00:00 – https://docs.woocommerce.com/document/coupon-management/).

      This might do the trick but I have never used it: https://wordpress.org/plugins/woocommerce-coupon-schedule/

      Hope this helps πŸ™‚

  21. Hi Rodolfo – first congrats on your first AMA…and thank you for your contribution! I’ve learned a lot from your blog, and will definitely bookmark this AMA page as a favorite πŸ™‚

    I have several questions, thus, following your advice, I will ask over different posts…

    Based on several of your blog posts, I gather it is possible to send a personalized email with an offer like:

    “Hey Rodolfo, thanks for your business…click here to take our Promo Item with 50% discount.”

    and that when the user clicks the link it may land directly on the checkout page and product and coupon may be added programmatically. As I read, I may even hide the coupon so the user may not share the coupon…nice!

    My question: It is possible to take it a step further, and validate that the coupon is only applied to the specific customer? Say Rodolfo forwards the message to his followers, anyone else clicking the link won’t get the discount applied.

    1. Hello Octavio, thanks so much for your comment and for taking part in my first WooCommerce AMA!

      You can limit each coupon code to a specific range of email addresses when you create them (it’s in the settings). This should help πŸ™‚

  22. Hi Rodolfo

    The product pages seem to move around on IPhone applications. Do you have any idea what is causing this?
    When you are on the page, the page isn’t stable. weird huh?

    Thanks for doing this blog! At least it gives us a place to see if there is an easy fix for some frustrating WooCommerce issues!

    1. Hey Robin πŸ™‚

      Weird, it could be either a theme problem (try with another theme temporarily) or something wrong in your CSS – not 100% sure here, it could be anything!

  23. On my site I would like for the words, your item can ship free to be in red. This shows up when someone reaches $100.00 in product on the cart page. It is a box they have to check. I am finding most people don’t see the option.
    If this is too custom of a question I apologize and understand if you don’t offer help.

    1. Hello Robin, thanks so much for your comment and for taking part in my first WooCommerce AMA!

      I’m afraid this would be custom CSS coding and would be 100% specific to your theme. As I can’t provide custom coding here via the blog comments, I suggest you take a look at this video tutorial to see if you can find a quick solution: https://businessbloomer.com/customize-woocommerce-css-tutorial/

      Hope this helps!

    2. Found the PHP code! Just in case anyone else wants to use this option

      /**
       * 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 );
      
  24. Hi Rodolfo
    Thanks for your info yesterday on personalising the thankyou.php page, most useful. I have another question regarding the checkout.

    Can can I make it so that only some of my products require the user to create an account and the other do not? A client sells online courses that require accounts and they also sell other products that do not. They would like it so that only the online courses (product type) require the user to create an account. Is this easy to do?

    Thanks Rodolfo
    Kind regards
    Colin

    1. Hey Colin, welcome back then πŸ™‚

      If you use Sensei LMS, developed by WooCommerce, it should already do that (force account creation even if you have “guest checkout” enabled) as long as I know. What LMS are you on?

    2. Thanks Rondolfo
      I am using Learndash. Not Sensei. Any thoughts?
      Kind regards
      Colin

      1. I see!

        So I guess you will need custom coding for that as Learndash wouldn’t be fully integrated with WooCommerce. Sorry but I can’t provide it here via the comments, thanks for your understanding πŸ™‚

  25. Hi, Is there better way to add this calculated reference code than order note because it sends another notification to client?

     add_filter( 'script_loader_src', '_remove_script_version', 15, 1 );
    add_filter( 'style_loader_src', '_remove_script_version', 15, 1 );
    add_action( 'woocommerce_new_order', 'wpkurssi_create_reference_number',  1, 1  );
    // Funktio viitenumeron luomiseksi, argumenttina tilauksen ID $order_id
    function wpkurssi_create_reference_number($order_id) {
        // Haetaan funktiolla wc_get_order() tilauksen tiedot muuttujaan $order tilauksen ID:n $order_id perusteella
        $order = wc_get_order( $order_id );
        // Haetaan functiolla $order->get_data tilauksen tiedot muuttujaan $order_data
        $order_data = $order->get_data();
        // Suoritetaan seuraava koodi jos maksutavaksi tulee "bacs" eli pankkisiirto funktiolla $order->get_payment_method()
        if ($order->get_payment_method() == "bacs") {
            // Luodaan muuttujaan $reference_number viitenumero funktiolla wpkurssi_calculate_reference_number() 
            $reference_number = wpkurssi_calculate_reference_number($order_id);
            // Tallennetaan muuttujaan $reference_number_note muistiinpano viitenumerosta. Muistiinpano koostuu merkkijonosta "Maksa lasku viitenumerolla " ja muuttujasta $reference_number.
            $reference_number_note = "" . $reference_number;
            // LisÀtÀÀn tilaukseen muistiinpano funktiolla $order->add_order_note(). Muistiinpanon sisÀltâ on muuttuja $reference_number_note.
            $order->add_order_note($reference_number_note,1);
        }
    }
    /* Perustuu https://github.com/ninjami/viitenumerolaskuri lΓ€hdekoodiin */
    function wpkurssi_calculate_reference_number($order_id) {
        $ref = str_pad($order_id, 19, '0', STR_PAD_LEFT);
        $parts = [7,3,1,7,3,1,7,3,1,7,3,1,7,3,1,7,3,1,7];
        $total = 0;
        foreach($parts as $index => $part) {
            $calc = substr($ref, strlen($ref)-$index-1, 1) * $part;
            $total += $calc;
        }
        $check = 10 - substr($total, -1);
        if($check == 10) { 
            $check = 0; 
        }
        $reference_number = $ref . $check;
        return (int)$reference_number;
    }
    1. Joho, thanks so much for your comment and for taking part in my first WooCommerce AMA!

      Yes, this is possible – but unfortunately this is custom work and I cannot provide a complementary solution here via the blog comments. Thanks a lot for your understanding! ~R

  26. Hi, I have been following your tutorials @businessbloomer, and they’ve been really helpful. However, I need help on this issue. I have a woocommerce powered ebook store. But I’d like to have a “Look Inside or download sample” feature as a button horizontally aligned with the add-to-cart button on single product page. I really dont know if this can be done. One way im currently doing this is to insert the link as a button within the excepts(short-description). But Im not quite happy with the result. Please help.

    1. Hello Esther, thanks so much for your comment and for taking part in my first WooCommerce AMA!

      So you can totally add custom HTML to the single product page, and this includes a button πŸ™‚ Example: https://businessbloomer.com/woocommerce-add-text-add-cart-single-product-page/

      Besides, you can add a “custom field” to each product with the link to the Free Sample, and use this instead: https://businessbloomer.com/woocommerce-display-advanced-custom-fields-single-product/

      Hope this helps πŸ™‚

  27. How can i add custom fields to a registration form for users and have that meta data saved to the database and visible under a users profile? Like drop downs or radio buttons etc. This data must also show up on their profile.

    1. Hey Wesley, thanks so much for your comment and for taking part in my first WooCommerce AMA!

      I guess you’re talking about WooCommerce customers, and that the registration form is the frontend WooCommerce “My Account” one. In this case, you can add custom fields to it, such as first name and last name (https://businessbloomer.com/woocommerce-add-first-last-name-account-register-form/), but also radios, checkboxes, dropdowns, etc! The woocommerce_form_fields() function should help you generate the fields you like.

      Hope this helps πŸ™‚

  28. Hello, I would like to build a woocommerce shop where half of the products are furniture that will need to be delivered and put together (for free), and the other half are standard products that have two options – pickup and flat rate shipping cost.
    How can I set these two different methods in a way that the client could choose which one he wants for each product in his store (then of course in the cart it will show the method accordingly)?
    I understand that this has something to do with shipping classes? If so, could you explain how it goes? I read the shipping classes / methods docs and they didn’t quite explain this kind of solution.
    If not, what is the most efficient way to do this?
    Thank you!

    1. Hey there, thanks so much for your comment and for taking part in my first WooCommerce AMA!

      I believe the “secret” is to create the correct shipping methods. Yes, shipping classes is the first step, but you also need to do some PHP work to disable shipping rates conditionally – this should help: https://businessbloomer.com/woocommerce-disable-free-shipping-if-cart-has-shipping-class/

      Let me know πŸ™‚

  29. Hi Rodolfo and thanks for the AMA.

    My question is, how can I add a geo-location to my WooCommerce products.
    I would like to add products from either a single or multiple vendors and have them display on a map on the home page of my site. Any advice is welcome.
    Thanks you

    1. Hey Vassili, thanks so much for your comment and for taking part in my first WooCommerce AMA!

      In this case, I don’t think any plugin exists – you will need to custom code this I’m afraid. There are many “Store Locator” plugins for WooCommerce, but they work at store level and not product level – maybe take a look at them, you might find something relevant πŸ™‚

      Hope this helps πŸ™‚

  30. Hello Rodolfo, Hope you’re doing great, I have a website which I sell 10 digital currencies for example BTC(Bitcoin), but as the price of BTC always change even every seconds I need it’s final price always changes live to the USD amount as many websites have it (BTC/USD live price) and multiply it to*1.5 (I mean final price of every product=Product live value in USD*1.5) , so How Can I do this for all my cryptocurrencies, my theme is Storefront and I use Woocommerce. Thank you

    1. Hello Mostafa, thanks so much for your comment and for taking part in my first WooCommerce AMA!

      I can’t help on the specific issue, however I know the currency switcher by Aelia https://aelia.co/shop/currency-switcher-woocommerce can automatically sync conversion rates from public online databases such as Open Exchange Rates, WebServiceX and Yahoo! Finance.

      I would recommend you ask the same question to the plugin developer, Diego, and see if he has a fix for you πŸ™‚

      Hope this helps πŸ™‚

  31. Dear Rodolfo,
    At first thank you for opportunity to ask you questions for free.
    Let me introduce myself. I have small web development business. We mostly develop simple static HTML/CSS/Javascript websites using Bootstrap framework. Now we are starting to offer websites on WordPress and due to WordPress quite new instrument for us may my questions look a little bit stupid.

    Our first client wants to have small internet shop-catalogue for products (for not more than 200 items). We have to create catalogue and single pages for each product where shop clients can fill and send to the seller questions about product and this form shall automatically generate or display item ID or name.

    We are planning to create website theme using Bootstrap and transform it to WordPress theme. Theme will contain Main/ Quality/ Delivery pages etc.

    My question are:

    – Can we integrate Woocommerce plugin in any WordPress theme or we shall download and use special WordPress internet – shop theme for Woocommerce?

    – Which is the best way to use Woocommerce plugin if we want to create internet shop using our theme?

    – Can we develop question form for single product with automatically generated product name into it using Woocommerce?

    Thank you in advance for answers!

    best regards,

    Sergejs

    1. Hello Sergejs, thanks so much for your comment and for taking part in my first WooCommerce AMA!

      In regard to your questions:

      #1 – WooCommerce should work with any WordPress theme. You just might need some CSS adjustments. However, I’d recommend using Storefront, which is a free theme developed by WooCommerce itself and is faster / optimized for WooCommerce

      #2 I believe that’s the same as question #1 πŸ™‚

      #3 Of course. I have a snippet for that! https://businessbloomer.com/woocommerce-show-inquiry-form-single-product-page-cf7/

      Hope this helps πŸ™‚

  32. Hi, I would like to create a (woocommerce) shop where customers can choose between buying or renting a product. An example: My shop sells t-shirts, but as a customer you have the option to either buy it or rent it for a certain amount of time. So I would need two add to cart buttons on the product page. Is this possible realize with woocommerce?

    1. Hello Emmy, thanks so much for your comment and for taking part in my first WooCommerce AMA!

      There was a similar question, take a look at https://businessbloomer.com/woocommerce-ama-with-rodolfo-melogli-ask-me-anything-woo-1/#comment-32679 πŸ™‚

      Hope this helps πŸ™‚

    2. Hi Rodolfo and thanks for your quick reply. No unfortunately the plugin that you suggest in the other question does not work for me. On my website, I would like to have physical produts, that customers can either rent or buy (the same product). So on the single product page I would like to have the option to click either “buy” for x $ or
      “rent” for x $ /time. I quess I’ll have to keep looking. But thanks anyway!

      1. No problem, let me know how it goes! I did my best πŸ™‚

  33. Hi Rodolfo
    How can I add a trust badge or security seal to checkout area to reassure shoppers?
    Thanks

    1. Hello Paul, thanks so much for your comment and for taking part in my first WooCommerce AMA!

      Where exactly do you want to add that? If above or below the checkout form, you can simply add an image to the WordPress page itself, above or below the WooCommerce shortcode πŸ™‚

  34. Hi, is it possible to create whole new fields with extra information, to add when the product is being created?

    1. Hello Stephanie, thanks for your question!

      Could you give me an example please?

  35. Hello Rodolfo,
    I have a lot of questions, but I will ask this one since I couldn’t find anything on it. After a customer clicks the Order button on the checkout page (because of the way my theme [panoramic] lays out the page), the swirly [hourglass like] icon is at the very top of the page, however, the Order button is below the fold, so the user will never know Woocommece is thinking and processing their request until the thank you page loads. Is there a quick and light javascript or function that I can add to my site that would jump to the [hourglass] at the top of the page after the user clicks the Order button?

    I could write something that would work, but I was wondering if you know a good method of handling this?

    1. Hey Michael, thanks so much for your comment and for taking part in my first WooCommerce AMA!

      That’s weird, as the “loading” icon is usually center aligned horizontally and vertically on the screen (absolute position). It might really just be a CSS problem maybe?

  36. Hello Rodolfo,
    A couple of my web clients are artist-designers who make very limited or one-of-a-kind items. It’s important for them to have a historical record of orders as well as a product description of sold items (along with images for cross-reference.) However, since these are not re-used, it results in a large number of images and products that are no longer available, making it hard to filter or search. Do you know of a way to archive these items within WooCommerce along with their images? Thank you.

    1. Hey Jean, thanks so much for your comment and for taking part in my first WooCommerce AMA!

      This is an interesting question. A while ago I published an article to show all sold products (https://businessbloomer.com/woocommerce-display-stock-products-shortcode/) but this is on the frontend. I guess you’re talking about the admin side of this?

      In regard to media, there is no way to do this. They are already archived in folders and sorted by date. Hopefully the sold items are also (on average) the oldest images and therefore you see the newest images first in the “Media” section.

      In regard to products, I guess you could use the filter already provided by WooCommerce in the dashboard: “Filter by Stock Status”. Via PHP, you could have that filter defaulting to “In Stock” maybe?

      Hope this helps πŸ™‚

  37. Hi Rodolfo,

    I have a Woocommerce of jewels. Many variable products with many combinations create problems on the server: very expensive php requests.
    Often WordPress becomes slow and heavy, and requires a lot of maintenance. Do you think it’s still the best solution to choose in the market?

    Thanks
    Gianmarco

    1. Ciao Gianmarco, thanks so much for your comment and for taking part in my first WooCommerce AMA!

      This is a tough question, but the possible answers are many:

      #1 Is your hosting good enough? (hopefully yes)

      #2 Would you be better at using Product Add-Ons instead of product attributes (you should consider that)

      #3 WordPress and WooCommerce are not the best, and never will be. The problem is that no other platform is best either. There is an “optimal” solution for your unique business model. I’ve never seen problems with Woo – often it was the hosting or the plugin choice (but that’s me)

      Hope this helps πŸ™‚

  38. Hello,
    please Rodolfo how can I have a notification when somebody makes an order on my site, I want instant notification with the command in a third app it can be, or in another way.

    Sometimes an email notification is coming late and I want to have another great tool or software to help me, what You can recommend?

    Thank you!

    1. Hey Ion, thanks so much for your comment and for taking part in my first WooCommerce AMA!

      I will write an article on this pretty soon, but the great product from a former WooCommerce employee, called Metorik, should provide you with this. Contact Bryce and ask him, he’s super responsive.

      Hope this helps πŸ™‚

  39. Hi again! What you are doing is amazing! And thank you so much for your help!
    One more question..
    We do not accept payment at check-out. So the clients submit order and after we check the order we issue an invoice in separate program. Is there any way to issue invoice with a Pay Now button through WP?
    Thanks

    1. Hey Tatiana, thanks for your second question!

      You can totally invoice people from within the WooCommerce Admin Order Page. You can change the status to “Pending Payment” and then click on “Send Customer Invoice Email”. Client will be presented with a custom checkout page with a “Pay Now” button.

      This is how I invoice my freelance clients here on Business Bloomer!

      Hope this helps πŸ™‚

    2. Rodolfo,
      are you saying that one of the default choices is to Send an invoice email? Is this set up somewhere on the product that allows a checkout of sorts first? I don’t see how someone can place an order if there is no payment option.

      1. Good point. Yes, you need to have at least one payment option (even bank transfer, not necessarily an online payment). Then, you can disable the payment gateway for the default checkout and leave it on the “Customer Invoice” special checkout instead (this can be done quickly via PHP: https://businessbloomer.com/woocommerce-enable-payment-gateway-only-for-order-pay-checkout/). Hope this helps!

  40. Hi there,

    What would be a great plugin to import multiple products into Woocommerce, with images, etc. They could be simple / variable or external affiliate products. I have tried various random import export plugins using csv files.. but I never seem to succeed. I tried Product CSV Import Export (BASIC) to check it out before spending money on the licensed version but even though I created a csv file based on exporting my current product, it does not seem to work right.

    Any foolproof plugins out there? Thank you so much!!

    1. Hey Sereia, thanks so much for your comment and for taking part in my first WooCommerce AMA!

      WooCommerce has its own import/export functionality now! Go to Dashboard > Products > Import/Export and follow the instructions.

      Another reliable product is https://www.wpallimport.com/woocommerce-product-import/

      Hope this helps πŸ™‚

  41. What are the best plugin combination for product Add-on and Currency converter. Add-on by Nmedia is not working with any of the currency plugins. Thanks

    1. Tatiana, thanks so much for your comment and for taking part in my first WooCommerce AMA!

      This strictly depend on what currency plugin you use. I use https://aelia.co/shop/currency-switcher-woocommerce/, one of the most powerful ones, and I’m pretty sure it’s compatible with the official WooCommerce Product Add-Ons (https://woocommerce.com/products/product-add-ons/).

      To be sure ask both parties, they will tell you for sure!

      Hope this helps πŸ™‚

  42. Hi Rodolfo, and thank you for this great live!

    I have a question regarding carriers and shipping methods.

    My customer sells food (fresh products, bottles of wine, cookies, …)
    I need to associate a category of product to a specific carrier:
    – heavy category to carrier 1
    – fragile category to carrier 1 & carrier 2
    – fresh food category to carrier 3
    – other category to carrier 1 & carrier 2

    Do you know a plugin that would force the carrier per product?

    1. Hello Clotilde, thanks so much for your comment and for taking part in my first WooCommerce AMA!

      It really depends on what “carrier” plugin you’re using, it’s not clear from your question. if you’re using no plugin – which is what I’d do myself – I would bulk assign products to specific Shipping Classes. After that, I would pick one shipping method per class: https://docs.woocommerce.com/document/flat-rate-shipping/#section-3

      Hope this helps πŸ™‚

  43. Hello, My product pages contain only one attribute; the visitor can choose among several colors. Since it is obvious that they are colors, I think it is useless to write “colors” before the options. Is it possible not to write this attribute and in this case, how?
    ( I tried to mask it with css code : .label {display: none;
    }; positive result in firefox but no result in Chrome.
    (Thanks to you, I began to use add, remove but I don’t know php language.)
    In variable.php I saw:

     Td class = "label" > label for = "? Php echo sanitize_title (attribute_name);? > " >? Php echo wc_attribute_label (attribute_name);? ></label></td>

    In fact, may I and how can I prevent php from writing the name of the attribute? I suppose the name of the attribute is the variable ($attribute_name) even if I do not know what is “sanitize_title”, “wc_attribute_label”. Thank you in advance if you agree to answer this question.

    1. Hey Jo, thanks so much for your comment and for taking part in my first WooCommerce AMA!

      I can’t post code in the blog comments – hope that’s understandable. However, that CSS you’re using should be cross-browser – simply clear your browser cache and it should behave the same on any browser!

      Hope this helps πŸ™‚

    2. Thanks a lot, Rodolfo !!! Since you tell “clear your browser cache”, I did it several times and once again but after searching on the web how I can clear browser Hrome cache, and I found the tools of development and make a forced updating. So, now, thanks to you, I see, as you said, my css code behaves the same !

  44. Although orders have been filled but these orders are not still in the onhold status in woocommerce.

    How can they be manually and silently mark complete without sending out email notifications to the customers.

    Thanks

    1. Hey there, thanks so much for your comment and for taking part in my first WooCommerce AMA!

      You can disable the order notifications for “completed” orders here: WooCommerce > Settings > Emails > Completed Order > Disable

      Hope this helps πŸ™‚

  45. Is there any way to clone a page without adding another plugin?

    1. Hello Ted, thanks for your question!

      I guess this is not really WooCommerce related… but the answer is “yes, of course”. If you don’t want to use a plugin, you can simply copy/paste the content manually (the one you would take from the page “text” tab).

      Hope this helps πŸ™‚

  46. I use woocommerce products (csv) built in tool to import products to my ecommerce websites . It has 3000 records with 10 columns. It takes 100 minutes to upload it. I am using Azure with 2 virtual cpu and 7G ram and 50G SSD. is it normal? How can I increase upload speed to finish 3000 product in 15 mins, please?

    1. Kelvin, thanks so much for your comment and for taking part in my first WooCommerce AMA!

      Good question, it’s possible that the import/export in not yet optimized for speed (it’s a new functionality since WooCommerce 3.0). If you have speed needs, then I would seriously suggest to invest in https://www.wpallimport.com/woocommerce-product-import/

      Hope this helps!

  47. Hi Rodolfo,

    My question is regarding WooCommerce shipping:
    Let say if one product is for free shipment and for other product buyer has to pay shipping cost.

    How to deal free shipment and shipping cost simultaneously?

    1. Hello Yasir, thanks so much for your comment and for taking part in my first WooCommerce AMA!

      You would simply assign the products to a specific shipping class e.g. “free”. After that, you create a shipping zone with a shipping method e.g. “flat rate”, where this method is charged “per shipping class”. When you do that, you can define the price for each shipping class πŸ™‚

      Hope this helps!

  48. What is a good plugin/solution for notifying customers when a digital product (digital/virtual download) is updated?

    1. Hey Shelley, thanks so much for your comment and for taking part in my first WooCommerce AMA!

      I have no experience on this – so I did a quick Google search and found https://codecanyon.net/item/woocommerce-downloadable-product-update-emails/18908283 and https://wordpress.org/plugins/tld-woocommerce-downloadable-product-update-emails/

      I haven’t tested them and can’t recommend them. I would suggest to contact the plugin developers and ask them pre-sales questions.

      Hope this helps!

  49. Ecommerce taxonomies: Which is the best strategy?
    Categories: A product, a category, do you agree? But what happens when a product can be in more than one category? Do you recommend using subcategories?
    Tags: Is it worth using them? They are anarchic and I’m not sure if they help the user or SEO.
    Attributes: Can be used like the rest of taxonomies and not only to create variations. Do not you think they are underutilized?
    And the big question: If a product is in different taxonomies, can generate duplicate content?
    Thank you very much for your help!

    1. Santiago, thanks so much for your comment and for taking part in my first WooCommerce AMA!

      Great question. And it all depends by the number of products and your SEO skills.

      As a matter of fact, I believe product tags should be unindexed: https://businessbloomer.com/noindex-woocommerce-product-tag-pages/ (just my opinion)

      Product subcategories are helpful to the user when you have many products (see Amazon/eBay)… otherwise there is no need indeed.

      Finally, attributes might in fact be helpful, mostly if users search for “RED T-shirt” or “MEDIUM Skirt” on the search engines. As you can see, if you stick to the “Is this helpful to my users?” question, you will also find the answer in terms of SEO.

      Duplicate content, that’s tough, and only an SEO expert can give you an exact answer. If a category page called “Shirts” contains the same products as a product tag page called “Mens”, than yes, that might be considered as duplicate content. I wouldn’t stress too much however – once again, it it makes sense to your user, it makes sense to Google & co.

      Hope this helps!

  50. Normally when GTmetrix tells me that a certain image “is resized in HTML or CSS from 1024×1024 to 300×300. Serving a scaled image could save 233.9KiB (91% reduction)” I resize the image in Photoshop, I upload it with another name to my Media Library and then I use the new scaled version in my site.
    Now (because I have many images that must be scaled down) I decided to use the “Edit Media” feature of WP. I scale my image to 300×300. The image is automatically saved.
    After refreshing the page the image is still the big one (1024×1024) and of course GTmetrix tells me again to scale that image to 300X300.
    I’m using the UX Flatsome theme from UX-themes. Looking at the page code I see in the corresponding short-code the correct image id: [ux_image id=”9471″ …]
    What should I do now to force the site to use my new scaled image?

    Thank you
    Valdinia

    1. Hey Valdinia, thanks so much for your comment and for taking part in my first WooCommerce AMA!

      If you “Edit Media”, it could be the Image ID is going to change. If not, maybe you have a cache problem or the Flatsome shortcode is not the best way to display the image.

      Do you have a need to use images bigger than 300px? If not, you can use a bulk image scaling service such as https://bulkresizephotos.com/ or https://birme.net/ (never tested before, so please first check their safe / genuine)

      Hope this helps!

  51. Hi Rodolfo,

    I sent this message to you privately because it had to do with coding (which I didn’t think you wanted here), but your wrote back asking me to post it here, so here I go!

    This email came to me at a perfect time. πŸ™‚

    I do have a question about custom coding.

    I’ve installed a WC plugin, WooCommerce Email Verification, and there’s no way to automatically remove unverified users. I reached out the developers and they said I would need custom code to have that functionality.

    So, my question to you is if you do this kind of work and if you could give me an idea on what it would cost.

    I’d like for unverified users to be removed after X number of days.

    Thanks for much for your time and consideration.

    Cheers!

    1. Stuart, thanks so much for your comment and for taking part in my first WooCommerce AMA!

      This is a good – yet difficult – question. If it were me, I’d probably look into the https://developer.wordpress.org/reference/functions/wp_delete_user/ function, and run that programmatically after X days they were marked as “unverified”.

      I hope that plugin gives you a “hook” you can trigger your function with, so probably the best would be to study the plugin coding and see what it offers.

      I could do the job of course, it would probably take me about 1 hour. I will follow up via email with a quick estimate.

      Thank you so much!

  52. In our WooCommerce store, we sell only to the US, Canada, and Mexico. We wish to offer Free Shipping to US customers. But we wish to charge for shipments to Canada and Mexico. How do we create that function on the checkout page and give the Canda and Mexico purchasers a quote on the shipping before final purchase?

    1. Hey Ted, thanks so much for your comment and for taking part in my first WooCommerce AMA!

      You can do that with default WooCommerce “Shipping Zones”: https://docs.woocommerce.com/document/setting-up-shipping-zones/

      In regard to the “shipping quote”, that’s a little more complex and probably would require custom coding – unless WooCommerce.com, YITH or other plugin providers out here can provide you with a fix (I’ll ask them).

      Hope this helps!

  53. Hi Rodolfo

    I have edited the ‘thank you.php’ template to make my checkout confirmation page more personal, but it would be great if I could personalise it based on product purchased.

    Is there a simple way I can make say three different thankyou.php templates (one for each product) so that the message, and links provided, are more personal and more specific to the customer?

    Thanks
    Colin

    1. Hey Colin, thanks so much for your comment and for taking part in my first WooCommerce AMA!

      The default thankyou.php template gives you access to the $order variable, and from that you can find out what product was ordered (see https://businessbloomer.com/woocommerce-check-product-id-order/)

      At that stage, you can make the most of “conditional logic”. I suggest you take a look at https://businessbloomer.com/conditional-logic-woocommerce-tutorial/ and https://businessbloomer.com/woocommerce-conditional-logic-ultimate-php-guide/.

      Let me know πŸ™‚

  54. Hi Rudolfo,
    I need to add box sizes to ‘Free shipping’ class and also to display this on the orders. I could see ‘Box Sizes’ options for FEDEX and USPS Shipping methods. But no such option for ‘Free shipping’. Could you please give some guidelines to add custom box sizes for ‘Free shipping’?

    1. Hey Anjaly, thanks so much for your comment and for taking part in my first WooCommerce AMA!

      I see what your problem is – FEDEX and USPS APIs give you box size options, while WooCommerce default shipping methods don’t. This is tough. Have you tried asking FEDEX/USPS if they provide a free shipping method, so that you can use the same system?

      Hope this helps πŸ™‚

  55. What do you recommend as the best approach for creating a base product, then having optional add-ons all on the one page and price update accordingly. I want to create a more customised approach for products.
    Thanks ❀

    1. Forgot to say hi Rodolfo…. I’m going to blame the flu for it. Sorry ❀️

      1. Ahah Emer, thanks so much for your comment and for taking part in my first WooCommerce AMA (and get well soon)!

        If I understood well, you’re talking about the frontend, and giving the user a series of options and dropdowns / add-ons to “complete the product” and change the price accordingly?

        If that’s what you meant, then look no further than the official Product Add-Ons plugin from WooCommerce: https://woocommerce.com/products/product-add-ons/

        Hope this helps!

  56. Thank you for your WooCommerce AMA! I want to start using Unbounce for landing pages. Is there a way to have a product linked back to my WooCommerce on my main site so they can click to add to cart and then be taken to the cart to checkout? I only sell one product that has different sizes. It would be awesome if I could have the variables like on my product page display as well so when they click the button the variable is passed as well.

    Thank you so much

    1. Hiya Stephen, thanks so much for your comment and for taking part in my first WooCommerce AMA!

      Of course, you can link to a product but you can also use a direct link to “add to cart” directly from your landing page! Here’s a tut for you: https://businessbloomer.com/woocommerce-custom-add-cart-urls-ultimate-guide/

      Hope this helps!

  57. Hello,

    I’d like to know how to add a “current-cat” class to my custom li (category menu in the sidebar).

    Thank you very much

    1. Hello Feyte, thanks so much for your comment and for taking part in my first WooCommerce AMA!

      If you use the default “Product Categories” widget, the “current-cat” CSS class is already there πŸ™‚

      Hope this helps!

  58. Hello i have woocommerce based website i want to use currency switchers but currency switcher doesn’t work for Pakistani currency,can you please suggest best plugin for currency switcher that can resolve my problem secondly suggest best plugin for woocomerece based site opening speed.
    Thank you

    1. Raza, thanks so much for your comment and for taking part in my first WooCommerce AMA!

      I’m 100% sure the best WooCommerce Currency Switcher plugin, which can be found at https://aelia.co/shop/currency-switcher-woocommerce/, supports Pakistani rupee.

      I use this plugin on this website and you can find a nice tutorial here: https://businessbloomer.com/charge-customers-currency/

      Hope this helps!

  59. Hi Rodolfo,

    What are the best themes storefront alternatives ? Could you write a post on this subject ?

    Congrats for your first AKA.
    Cheers,
    Marc

    1. Hi Marc thanks for your question!

      There is no “best” theme alternative to Storefront, it all depends on your project specifications, speed needs, business model and more.

      This exact website runs on Storefront, so as you can see it is highly customizable without using a single plugin. Have you tried any alternative yet?

  60. Hello,

    I have a problem with my website.

    Few days ago when i was selecting a color the product image would change to the variation color i had selected.
    Now its not changing anymore and i haven’t update anythink and i can’t figure out why its not chaning anymore.

    Any typs on how to fix this or how to find the problem?I’m kinda newbie with woocommerce but i’m learning:D.

    I hope you can help me.

    Thank you.

    1. I have a secondary site we plan to lauch in future, here is more wierd on some products work and on some don’t.

      I tryed to copy the product on which is working to change image and deleted some color variation and it still working.I tryed to make a new product with same settings and its not working….

      Somethink wrong with the variations but can’t figure out what.

      This is very wierd for me, any toughts?

      1. Hello Mihai, thanks so much for your comment and for taking part in my first WooCommerce AMA!

        You probably did something wrong in the product settings, I recommend you go through the variable product set up here: https://docs.woocommerce.com/document/variable-product/

        If this doesn’t help, maybe you have a theme/plugin conflict. Go to WP Dashboard > WooCommerce > System Status: what errors do you see in red font?

        Also, take a look at this tutorial to see how to troubleshoot: https://businessbloomer.com/woocommerce-troubleshooting-mistakes-to-avoid/

        Finally, can you try switching temporarily to “Twentyseventeen” or “Storefront” theme and let me know if it works?

        Hope this helps!

  61. Hi Roldolfo,

    Thanks for your “Ask Me Anything (LIVE)!”
    My question is: I’d like to have a daily orderlist send by e-mail.

    Extra options:
    – grouped en sorted by delivery method (3 pickup locations an 2 flat-rates)
    – daily sent to a given e-mail address, for example orders@webshop.com
    – daily at a certain time, for example 6 am

    I searched a lot, but I couldn’t find a plugin or code.
    Hope you can help me with this.

    Kind regards,
    Mieke

    PS: Thanks for your site with all those tips and tricks. It helped me a lot!

    1. Mieke, thanks so much for your comment and for taking part in my first WooCommerce AMA!

      That’s a very good question! If you use Slack, I found this tutorial for you https://docs.woocommerce.com/document/summary-new-woocommerce-orders-slack/

      Otherwise, I’m pretty sure that this product, developed by a former WooCommerce employee, does the trick: https://businessbloomer.com/woocommerce-ama-with-rodolfo-melogli-ask-me-anything-woo-1/#comment-32780 (already mentioned in another article)

      Hope this helps πŸ™‚

  62. Hi Rodolfo
    My website is under constant attack with spam email sign-ups, admin hackers, spiders, DOS and various other types of attack which regularily use up 100% of resources.
    My email sign up is contained within the web site (ListMailPro)
    I have “All in One WP Security” installed which stops admin hackers (but not the attempts)
    I use htaccess to try to combat spiders and bots but every time I block a few new ones pop up.

    So I am hoping that you can give advice on what to do to either prevent or manage these attacks

    Warm Regards … Dennis

    1. Hello Dennis, thanks so much for your comment and for taking part in my first WooCommerce AMA!

      I would suggest to investigate this with your hosting – I never had problems with my current provider (fingers crossed).

      Also, there might be something within your WordPress that is leaving an “open door” to hackers, possibly an outdated plugin. Try talking to the https://sucuri.net/ folks, they should be able to help

      Good luck πŸ™‚

  63. Thank you for this opportunity.
    My question is how do I create a child theme for woocommerce, also where are the following functions implementations located and how do I edit them in woocommerce:

    do_action( ‘woocommerce_pay_order_before_submit’ );
    do_action( ‘woocommerce_pay_order_after_submit’ );
    do_action( ‘woocommerce_review_order_before_order_total’ );
    do_action( ‘woocommerce_review_order_after_order_total’ );
    do_action( ‘woocommerce_checkout_before_order_review’ );
    do_action( ‘woocommerce_checkout_after_order_review’ );
    do_action( ‘woocommerce_after_checkout_form’, $checkout );

    I am working on a project which requires some customization to all of these.
    Thank you in advance for your help.

    1. Hi there, thanks for your comment!

      To create a child theme for “your theme” (not WooCommerce), please follow this: https://codex.wordpress.org/Child_Themes

      Finally, those hooks are on the default Checkout page and the “Order Pay” checkout page, the one users see when you invoice them manually from the admin. Checkout hooks are visually explained here: https://businessbloomer.com/woocommerce-visual-hook-guide-checkout-page/

      Hope this helps πŸ™‚

  64. Hi Rodolfo,

    Another issue I’m currently facing is how to display the flat rate shipping cost on the single product page. By following one of your tutorials I’ve managed to add the Shipping Class description to the single product page summary, but my client also wants the price printing in the summary as well.

    Here’s what I’ve added for the Shipping Class:

    add_action( 'woocommerce_after_add_to_cart_form', 'my_woo_show_shipping_class_desc', 2 );
    function my_woo_show_shipping_class_desc() {
        $product_classes = wp_get_post_terms( get_the_ID(), 'product_shipping_class' );
        if ( $product_classes && ! is_wp_error ( $product_classes ) ){
            $single_class = array_shift( $product_classes ); ?>
    	
    		<div class="product-delivery">
    		<h2><i class="fa fa-truck fa-lg" style="margin-right: 12px;" aria-hidden="true"></i>UK delivery charges</h2>
            <p class="shipping_class_desc"><?php echo $single_class->description; ?></p>  
            <h2><i class="fa fa-globe fa-lg" style="margin-right: 12px;" aria-hidden="true"></i>International delivery charges</h2>  
    		<p class="international-shipping-desc">For delivery charges to countries outside the UK, please click the button below to make an enquiry.</p>
    		</div>	
    		
        <?php }
    }
    

    Any help with this would be very gratefully received!

    Thanks,

    Andy

    1. Thanks for your second comment Andy!

      I’m afraid I can’t give custom coding via the blog comments, hope this is understandable. I suggest you check in the WooCommerce PHP files if this $single_class has also a public function that gives you access to its price πŸ™‚

      Thank you!

    2. No problem! I’ll look into that now. Thank you.

  65. Hi Rodolfo,
    love your work..
    I have a question about WooCommerce setup.
    I can set a group number of say t-shirts that must be purchased at product level.
    Can this be set at category level so if I have 20 of one t-shirt and 5 of another t-shirt (same category) in the shopping cart it satisfies the group setting of 25?

    Hope you understand my question.
    Have a great day
    David

    1. Hey David, thanks so much for your comment and for taking part in my first WooCommerce AMA!

      Are you asking if it is possible to control stock/inventory at category level instead of product level? I’m not aware of existing plugins that would do that I’m afraid, try asking WooCommerce pre-sales team at https://woocommerce.com/contact-us

      Otherwise, if you just wanted to “deny” checkout based on a specific condition, this snippet would be a good start: https://businessbloomer.com/woocommerce-deny-checkout-based-cart-weight/

      Hope this helps πŸ™‚

    2. Hi Rodolfo,
      Found it, I was being confused by incorrect set up the product in the wrong category.
      Thanks
      David

  66. Hello Rodolfo,

    Thank you for your great videos, they have been very helpfull.

    I want to ask you about a specific solution for a client, and I don’t know if WooCommerce meets all the requirements.

    Here’s the thing:

    My client owns two ferries for transportation. The first one has capacity for 500 people and 100 cars. The second one 350 people and 25 cars. There are different prices for people (adult/childrend/elderly). Also, there more variations with the price of the cars: regular, bus, 8 wheel, motorcycle.

    The client needs a ticket system, where he can automatically schedule the trips with the ferry associated (mainly because there are around 25 trips per day, so it would be unefficient to do this manually).

    So far I’ve found some plugins to do this, but here is where it gets complicated: The car capacity represents a space inside the ferry, so for example, if someone with a bus buys a ticket, the system would have to reduce the people capacity by one, but the cars capacity by 3.

    To sum up, if someone needs to buy a ticket, the trip availability depends on the date, the ferry and whether is space for the car and the persons.

    Hope this is clear enough for you to understand the problem. Any advice?

    Thank you very much!

    1. Hello Victor, thanks so much for your comment and for taking part in my first WooCommerce AMA!

      Uhm, this is a tough one indeed. I think the default ticket selling plugins, such as https://yithemes.com/themes/plugins/yith-woocommerce-event-tickets/, https://woocommerce.com/products/woocommerce-box-office/ and https://tickera.com/ only allows you to “reduce stock” for either people or cars, not both and not separately.

      Have you tried asking the same question to their pre-sales team?

  67. Hi Rodolfo, and thaks for doing this AMA! Quick question…how can I link back from a single product page to a landing page other than the woo storefront? Say I want to do an interactive newsletter via my Mailchimplist with an Indesign document dispalying products (with links to woo single product sites or catrgory) and festures…

    1. Hey Tore, thanks so much for your comment and for taking part in my first WooCommerce AMA!

      Could you try to rephrase your question – I’m not 100% sure I get what you are asking πŸ™‚

      Cheers!

    2. Hello again Rodolfo,
      I’ll try to explain better…If I’m creating an interactive document that I mail out to my mail subscribers that contains links that takes them directly to a product in my webshop in WooCommerse. Then they have the click option to return to the product category. But I would like to ad a link (where I can set the url) under the product that takes them back to the mailed document. Where and how do I make that link. Thanks in advance!/Tore

      1. Oh, I get it now! Uhm, first of all – do you have a specific link to the interactive document?

        If yes, you can add buttons and HTML to any product page, for example look at this: https://businessbloomer.com/woocommerce-add-text-add-cart-single-product-page/

        Hope this helps πŸ™‚

  68. Hi Rudolfo,
    Thanks for your AMA idea, I have shared it on facebook as requested.
    We hear a lot of opinions about whether having a woo-shop as a subdomain is a good idea or not – what is your advice?
    You asked for one question at a time – are you happy for others sent separately?
    Best
    Andrew

    1. Hey Andrew, thanks so much for your comment and for taking part in my first WooCommerce AMA! Yes, feel free to send other questions separately!

      In regard to the subdomain question, I strongly suggest not to do this, unless you’re a multi-million dollar company who has enough budget and million of hits per day.

      Having a separate website would mean having to do SEO, management, troubleshooting, staging, updating, and so on multiplied by 2. Unless this is strictly necessary, I won’t do that honestly πŸ™‚

      Hope this helps!

  69. Hello,
    Thanks for this opportunity.

    Here in France, donations to agreed associations are tax deductible.
    I’ve made some WooCommerce sites with “products” as donation,
    some are with a fixed amount, some with a free amount.
    Is there a plugin or a solution to make a tax receipt template (with proper official logo and mentions)
    filled with name, address, amount that could be downloadable or emailed,
    a PDF should be the best format, I think.

    Cheers.

    Marc

    1. Hello Mark, thanks so much for your comment and for taking part in my first WooCommerce AMA!

      I use https://wordpress.org/plugins/woocommerce-pdf-invoices-packing-slips/ on this website and it works like a charm πŸ™‚

    2. Hello Rodolfo,

      Thanks for the answer.
      I will study that plugin πŸ™‚

      Have a nice day.

      Marc

  70. Hi Rodolfo Melogli,

    I am stuck in my project can you please help

    1. My products are listed on a page with shortcode [product_page id="99"] and more.
    2. What I want is to show is the product name, Description, Quantity, Addtocart and all things are in place.
    3. What I want is when a user clicks on add to cart the user should not redirect to a product page. But automatically product should be added to cart.

    Thank you

    1. Hey Salik, thanks so much for your comment and for taking part in my first WooCommerce AMA!

      You should use a correct shortcode – more info here: https://docs.woocommerce.com/document/woocommerce-shortcodes/#section-10

      Also, if you wish to redirect to Cart after add to cart, this is in the WooCommerce settings: “Redirect to the cart page after successful addition”

      Hope this helps πŸ™‚

    2. Hi,

      Thank you for your reply
      1. I cross checked my shortcode is correct

      2. I don’t want to redirect to cart, I want it to work like ajax cart, Ajax cart is alredy enable from Woocommerce setting

      1. Ok Salik, I suggest you contact WooCommerce support – they should be able to help πŸ™‚

  71. Chao Rodolfo!

    One question is how to add a label on the top of selected product images. To add some special information like for example. “Premium Line of product”. Similar like the label “on sale” but customizing message.

    Thanks!

    1. Hey Jesse, thanks for your question!

      I just published an article last week about this: https://businessbloomer.com/woocommerce-display-custom-product-badge/ – enjoy πŸ™‚

    2. Hi!
      I remember this snippet. But it shows a label under the product name.
      I was looking to show it on the top of the image. Like “On sale” label.

      Thanks

      1. Hey Jesse!

        You simply need to change the position (or “hook” as we say) by selecting one from this page > https://businessbloomer.com/woocommerce-visual-hook-guide-single-product-page/

        After that, you will also need some CSS (and specifically position: absolute), to make it show over the image and not below/above.

        Let me know πŸ™‚

    3. Oh I got you. Thanks so much I will try and let you know!

  72. Hi Rodolfo!

    Thanks so much for your fantastic tutorials and resources – you’ve save me a lot of time and extended what I can offer to my clients.

    One thing which gets me each time I do a WooCommerce site is product filtering with Ajax. I think I’ve tried every free & paid-for plugin available, but I still don’t know which is the best to use! I really need to choose one and stick with it, so I’m interested to know what your recommendation is.

    Cheers!

    1. Hey Andy, thanks so much for your comment and for taking part in my first WooCommerce AMA!

      I’m pretty sure if you ask the same question to 100 other WooCommerce experts, about 95 will recommend this: https://facetwp.com/

      Let me know how it goes πŸ™‚

    2. Great! That’s one I’ve never come across, but it looks superb and very good value. Many thanks for the recommendation.

  73. Hi Rodolfo!

    My question is about how to export/import all the woocommerce data (including customers) and import it in a fresh new installation.

    Thanks!

    1. Hey Jesse, thanks so much for your comment and for taking part in my first WooCommerce AMA!

      There are many plugins that can achieve that, however if you just need to export/import products now this comes for free, as default, inside WooCommerce itself (WP dashboard > Products > Import/Export).

      To import/export customers and orders, I would recommend the official WooCommerce plugin: https://woocommerce.com/products/customerorder-csv-import-suite/

      Hope this helps!

  74. Hello

    i use follow-up emails Extension

    all Emails missing the product images

    image to illustrate the problem

    https://image.prntscr.com/image/FE8SVP1bQ5abpR3N-HwRoQ.jpg

    how can i solve this problem ??

    1. Hello Attiah, thanks so much for your comment and for taking part in my first WooCommerce AMA!

      I suggest you forward this question to the plugin support team πŸ™‚

  75. Hi,
    Can I made the woocommerce product gallery to autoplay (automatic sliding)? There is no option to make the gallery slider autoplay. Is there any solution for that?
    Thankyou.

    1. Hey there, thanks so much for your comment and for taking part in my first WooCommerce AMA!

      I guess you’re using a plugin to generate the product slider as this doesn’t come by default. Therefore, I suggest you forward this question to the plugin developers πŸ™‚

      Hope this helps!

    2. Hey,

      If you mean the product *image* gallery, then my WooThumbs plugin has an autoplay setting: https://iconicwp.com/products/woothumbs/

      (Hope it’s OK to share, Rodolfo)

      1. Of course it is James!

  76. Hi Rodolfo!

    Thanks for great videos – already learned a lot. I’m trying to meet design wishes from a client so I really hope you can help me some more:

    Is it possible to add a filter to the short description on single product pages that will return both a custom heading and the content of the single_excerpt (like ‘woocommerce_single_product_summary’ has ‘woocommerce_template_product_description’)? For now I solved the problem by adding a heading with html above my content in the short description field. However, I would prefer to do it with a filter as I want to apply the heading on all my products. Already tried to add a html heading as a function but I need the heading to be hooked to the short description.

    Also, can I apply a filter defining the height for both the short description and the product description fields?

    Best regards.

    1. Hello Carina, thanks so much for your comment and for taking part in my first WooCommerce AMA!

      Uhm, why not adding content “above” the short description e.g. https://businessbloomer.com/woocommerce-add-text-add-cart-single-product-page/?

      Not sure why you’d want to filter the description itself – maybe I need more details.

      Let me know! I’m here until Thursday πŸ™‚

    2. Hi Rodolfo,

      Thought I signed up for follow up comments on email, guess I forgot to confirm :/ Don’t know if you still answer questions from this AMA, but I need the short description and the description “sections” to be similar to meet a design purpose. As you can see on the product page I’ve linked to, I fixed it for now as described. Also, I already tried adding a heading above the short description, however, I had some problems styling it with CSS so the two sections wouldn’t align – as they do now. Just thought if I could add the heading with a filter it would be cool and maybe come in handy in the future πŸ™‚

  77. Hello,
    Since the update of woocommerce (version 3.3.3), on my variable product pages, the selector of variations disappeared and a message (I do not want this message!) “this product is currently out of stock and unavailable ” is on the page.
    I use woocommerce in mode catalog and with “no management of stocks”.
    I reactivated the version 3.3.0 and everything is OK.
    I would however want update woocommerce but without my current problems ; I want selector of variations, I don’t want message ” this product is currently out of stock and unavailable”
    Thank you for giving me a precise answer, if possible.
    Best regards

    1. Hello Jo, thanks so much for your comment and for taking part in my first WooCommerce AMA!

      This is probably a theme or plugin conflict. To troubleshoot, go to WP Dashboard > WooCommerce > System Status: what errors do you see in red font?

      Also, take a look at this tutorial to see how to troubleshoot: https://businessbloomer.com/woocommerce-troubleshooting-mistakes-to-avoid/

      Finally, can you try switching temporarily to “Twentyseventeen” or “Storefront” theme and let me know if all works?

      Hope this helps!

    2. Hey,
      Apparently several people have the same problem after the update: the selector of options disappeared and the message appeared because the product is considered as out of stock (the site is in catalog mode )
      I did what you said, switched temporarily to twentyfifteen, saw your video (in red, only not HTTPS, and 2 plugins not tested with the active version of WooCommerce, the newest one : Catalog Enquiry – 3.1.5 – and WooCommerce Customizer – 2.5.0. I desactivated them but no change, always the same problem : the selector of variations disappeared and this message β€œthis product is currently out of stock and unavailable.
      Someone found a way : write a price. That way gives the expected result ! But it seems to me au guile.
      Maybe, in php language, there is the way to get the same result ? It would be faster (than write a price for each variation of each product) and more appropriate.
      Thanks in adavance for your answer.

  78. Would like to know if it is possible to have a ex. a bookable item listed in woo commerce and allow it to be sellable as well.
    Therefore a one could show a page to book it or buy it – not a service but a product.
    Working on site that needs to allow that to happen is it possible? How difficult is it to code?
    Any help or suggestions would be appreciated.

    1. William, thanks so much for your comment and for taking part in my first WooCommerce AMA!

      I believe you mean to enable a product to be “rented” / “hired” as well as “sold”, is that right? If I understood properly, this should help > https://docs.woocommerce.com/document/bookings-use-case-party-equipment-rental/

      Let me know πŸ™‚

    2. Thanks for your feedback and response, Rodolfo. However, it is not exactly what I am looking for. The example in the link you gave me from your response referenced booking chairs for a rental event. So, you can rent them for 1.25 per day / per chair. I want that possibility to exist with an option to buy the chairs instead of from the same listing.
      Maybe 2 buttons – Book now to rent them or I decided to sell the chairs as well and maybe someone wants to buy them for the same price 1.25 ea. or a different price. So, as a client – I would have 2 options in the same listing. Is something like that possible?

      1. Hey Will! Wouldn’t a variable product setup suit? One variation is for sale and the other for hire?

    3. I am not completely following…would I need to make 2 of the same products and make one variable and the other bookable? Or do I make one item that is variable and make the options change with a price for sale of one but I am not sure how to make the 2nd bookable in the variation? Any further explanations would be greatly appreciated.
      Thanks.

      1. William, I meant 1 product (variable) with 2 variations (full price & bookable) – as long as the plugin allows you to create bookable products as variations (it should do that, ask the pre-sales team in case).

        Hope this helps πŸ™‚

    4. Rodolfo,

      Thanks for the response. I did not think or know that was possible to do what you mentioned before. I had woocommerce booking and I could not figure it out with that plugin. However, after your comments – I further investigated and found Woocommerce Easy Booking which allows you to do that. So, I was wondering if there are any other booking plugins like that which I could check out and investigate if they will work for my purposes.
      Thanks.

  79. Hi Rodolfo,

    I have a client who is starting to sell online courses – they want customers to be able to select the course (product), choose from available dates (usually 3-9 options) and then select a payment plan (full, deposit+balance, multi-payment/subscription). And then obviously process the payments.
    If the customer selects options B or C, the first payment must be processed immediately, and the remaining payments automatically processed at suggested dates (eg each 2 weeks). Full payment will need to be made before the course date – so is there a way to check this from their selection and alter the payment dates accordingly ??

    I’m confused as to how to achieve this with a product in WC, as there are only simple price options etc. available.

    thanks

    1. Hey Jayson, thanks so much for your comment and for taking part in my first WooCommerce AMA!

      Uhm, tricky questions – let’s see if I can help!

      #1 There is an official deposit plugin that should do the trick for your requirements: https://woocommerce.com/products/woocommerce-deposits/

      #2 You can define product availability and a datepicker with this official plugin: https://docs.woocommerce.com/document/bookings-create-custom-availability-date-hours-range/#section-2

      #3 In regard to “disabling” a payment gateway based on the date chosen, this will strictly depend on the plugin you select at #2 – support should be able to help you once you decide the product πŸ™‚

      Hope this helps!

  80. Can you show some way to change the formatting of the tab labels (headings) on the product pages? I would like the tab to be larger, with more padding, and a larger fonts.

    1. Paul, thanks so much for your comment and for taking part in my first WooCommerce AMA!

      I’m afraid this would be custom CSS coding and would be 100% specific to your theme. As I can’t provide custom coding here via the blog comments, I suggest you take a look at this video tutorial to see if you can find a quick solution: https://businessbloomer.com/customize-woocommerce-css-tutorial/

      Hope this helps!

  81. How can I make it possible to order for a registered user (usergroup: Distributor) from a land even the land is generally not free in woocommerce delivery?

    1. Hello Uschi, thanks so much for your comment and for taking part in my first WooCommerce AMA!

      I’m not sure I fully understand your question. Could you please rephrase? Thank you!

  82. – how many hours of maintenance does it take annually to keep WC updated? I’m taking about potential plugin/theme conflicts.
    – what advantages does Woo have have over Shopify?
    – what/who are the most recommended managed WC webhosts?
    – WC extensions can get very costly quickly. What are some good ways to mitigate that?
    – what’s the best alternative to WC?

    1. Johnny, thanks so much for your comment and for taking part in my first WooCommerce AMA!

      (I will reply with one comment per question to avoid confusion – if possible next time please ask one question per comment)

      #1 – Hours of maintenance

      This is so difficult to estimate. Each website, business, manager, server, plugin combination, project specifications is completely different. I usually agree a “minimum” amount of maintenance hours and if I use more I have another agreement with the client so they can pay the difference.

      For very small websites, 5-10 plugins, few orders/month – and giving for granted you have a hosting platform that gives you access to “staging” – I would say 1hr/month.

    2. #2 – WooCommerce vs Shopify

      I can’t find the exact Facebook discussion we had a few months ago. I recommend you join these two WooCommerce groups and search for “shopify” – you should find most answers:

      https://www.facebook.com/groups/woohelp/search/?query=shopify

      https://www.facebook.com/groups/advanced.woocommerce/search/?query=shopify

    3. #3 Managed WC Webhosts

      This WooCommerce website runs on SiteGround shared hosting (https://businessbloomer.com/whats-best-hosting-woocommerce-website/) – so far so good.

      In regard to managed hosting, check WPEngine and LiquidWeb πŸ™‚

    4. #4 – Cost of WC extensions

      Yes, you’re right, but remember that one thing is the coding (if you’re a developer you can build your own functionalities), and another is support. If you run a business, you want to make sure all your software is “protected” by excellent support – and that’s the price you pay for a good plugin.

      Alternatively, this website you’re on (Business Bloomer!), is full of PHP snippets for a multitude of simple functionalities. For most things in WooCommerce you don’t require plugins: https://businessbloomer.com/blog/

      Finally, WooCommerce.com are recently coming up with special “bundles” at reduced price: https://woocommerce.com/product-category/woocommerce-extensions/bundles/, or otherwise consider YITH, a very reputable WooCommerce plugin company, with their “annual unlimited subscription”: https://yithemes.com/themes/membership/annual-yithemes-club-subscription/

    5. #5 – What’s the best alternative to WC?

      I have no idea πŸ™‚ I only use WooCommerce and work with WooCommerce clients!

  83. I wanto to know if there is a snipet or something similar to make an slide in the “Up-sells” section

    1. Hello Cecilia, thanks so much for your comment and for taking part in my first WooCommerce AMA!

      I guess you’re talking about the “Up-Sells” in the WooCommerce single product page, and how to turn those into a carousel? If I understood properly, you have a couple of choices:

      1) you use a standard product slider plugin and place a manual shortcode on each product page (e.g. https://yithemes.com/themes/plugins/yith-woocommerce-product-slider-carousel/, which also comes with a free version for testing at https://wordpress.org/plugins/yith-woocommerce-product-slider-carousel/)

      2) you use a specific plugin which – I’m afraid – hasn’t been updated since April 2017. But if it still works, that’s exactly what you’re looking for: https://codecanyon.net/item/woocommerce-product-slidercarouselgrid/7928428

      Hope this helps!

  84. I would love a work around for why my Images are Huge on the single product pages.

    Here is what I do just to make it work a little better:

    .wooco30mmerce #content div.product div.images, .woocommerce div.product div.images, .woocommerce-page #content div.product div.images, .woocommerce-page div.product div.images {width: 45%; /*make the left hand column narrower */
    clear: none;}
    
    .woocommerce #content div.product div.summary, .woocommerce div.product div.summary, .woocommerce-page #content div.product div.summary, .woocommerce-page div.product div.summary {width: 55%; /*make the right hand column wider/*

    I use other ecommerce plugins and I don’t have this issue, but Woocommerce is better in everyway so I would rather figure this out. I have set my Theme picture sizes to smaller than the Woo product image sized and I still have this issue.

    Suggestions?

    1. Hey Robin, thanks so much for your comment and for taking part in my first WooCommerce AMA!

      Despite I can’t give code solutions here via the blog comments, you possibly have a couple of places you need to look at. WooCommerce changed the image size management recently and placed in the WordPress Customizer – from there you can change sizes and auto-regenerate them live without using a regen plugin.

      Also, it is very possible your theme CSS is giving width: 100% to your images, so no matter how wide the container div is, the CSS keeps stretching them.

      Let me know how this goes!

    2. Thanks, It must be my theme.

  85. How to customize the woocommerce to be more B2B friendly? Let the company be the customer and the user, the user. A way to add more than one user to the same company. A way to add a customer id, that makes the order list sortable for company and customer id etc. Now you can only sort order by the username. Add more custom fields to my account area. ( customer id etc )

    regards
    Johannes

    1. Johannes, thanks so much for your comment and for taking part in my first WooCommerce AMA!

      Each order comes already with a “customer id” and “company” by default. I take you’re working on a B2B platform, so in the first place you could deny guest checkout (from the settings) and force “billing company” field to be filled out by changing its “required” attribute (https://docs.woocommerce.com/document/tutorial-customising-checkout-fields-using-actions-and-filters/#section-2)

      Once you’re guaranteed to have a customer ID and company for each order, you can simply use the order admin search and look for a specific company. If that’s not sufficient, you can possibly generate a “dropdown” of companies that automatically filters orders on that same page.

      What do you think?

    2. Hi Rodolfo, thanks so much!

      The customer id you mentioned is the namefield?
      I want to manually aprove each customer and add customer id s ( something like 1001, 1002 etc ) to each customer. When I say customer I mean the company – not the person who sends the order.

      In current version of woocommerce I can sort order by customer name, not by any customer id or company name.

      – Johannes

      1. Hey Johannes πŸ™‚

        No, the customer ID is the ID you’d find under /wp-admin/users.php (each newly created customer is added as a WordPress user when a WooCommerce order is placed) so you have no control of the ID, it’s WordPress that generates that.

        If you want to pre-approve customers (so, not on the checkout, but via a registration form), check https://wordpress.org/plugins/new-user-approve/ – that could do the job!

        Also, it seems you really mean “Company ID” and not “customer ID” from your comments. Maybe you could have a database of companies and give them a specific ID as opposed to text-only as it is now. It’s a little complex but I’m sure you can find a workaround πŸ™‚

        Hope this helps πŸ™‚

  86. I would love to hear your thoughts on the best approach or best plugin for BOGOS. There are a lot of plugins on the market but I’ve never been happy with them.

    1. Jonathan, thanks so much for your comment and for taking part in my first WooCommerce AMA!

      BOGO (Buy One Get One free) is a great strategy indeed. I have a PHP tutorial here that explains how to enable this with some simple coding and a little workaround: https://businessbloomer.com/woocommerce-buy-1-product-add-free-product-cart-programmatically/

      Let me know if that suits, otherwise let me know your project specifications and I’ll recommend a plugin πŸ™‚

Leave a Reply

Your email address will not be published. Required fields are marked *