[–] 1 point 1 month ago

Yes, WooCommerce can help with this. You can use WooCommerce Analytics → Revenue/Orders and filter or export your orders by billing/shipping country, then total the qualifying sales for EU countries. For a more convenient country-by-country report, there are also WooCommerce reporting extensions that provide sales by country.

One thing to double-check, though: the €10,000 EU threshold depends on the type and origin of your sales. It isn't simply a €10,000 limit for "imports into the EU." So I'd verify your specific situation before using that figure for VAT purposes.

  • source
  • [–] 1 point 1 month ago

    The two warnings are probably related rather than two separate issues. The importer appears to be receiving a null value from the parsed Blogger XML and then trying to access it as an array on line 159. The foreach() warning on line 238 suggests that another expected array is also missing or malformed.

    Since you're using a WordPress multisite/local environment, I'd first check:

    The PHP version you're running in Local. The exact version of the Blogger Importer plugin. Whether the XML file is valid and contains the expected Blogger export structure. Whether the error occurs with a very small Blogger export containing only a few posts. The actual code around lines 150–165 and 230–245 of blogger-importer.php.

    If a small XML export works but the full export doesn't, that would point more toward a particular XML entry/content structure causing the parser to return null.

    If you can post the PHP version, plugin version, and the code around those two lines, it should be possible to narrow this down further.

  • source
  • [–] 2 points 3 months ago

    Block Editor for sure!

    I like to keep things as native as possible, with as little external dependencies/plugins as possible for maximum compatibility, security and performance.

  • source
  • [–] [S] 2 points 4 months ago

    Oh wow, this works! Thank you so much!

    I'm not sure about columns stretching. I assume you mean within the Wordpress editor? In that case I don't think so, because it's a grid tool of sorts the user can't do much else with it.

    I well certainly add custom classes to contain the CSS you've given me. Thank you so, so much.

  • source
  • parent
  • context
  • [–] 2 points 4 months ago* (last edited 4 months ago) (1 child)

    Sweet, thanks!

    Using this markup I think I was able to achieve what you were asking for:

    .site-main .wp-block-group__inner-container {
        display: flex;
        flex-flow: column nowrap;
        height: 100%;
    }
    
    .site-main .wp-block-group__inner-container .wp-block-buttons {
        margin-top: auto;
    }
    

    But this is not ideal, it's merely a quick and dirty proof of concept. I have a couple of follow up question, since It's a been a while I worked with WordPress:

    1. Is there a way to make the columns "stretch" because they currently don't fill their container:

      If there is, please remove the height: 100% css markup.

    2. Could you add a custom class to the columns? Otherwise the markup will apply to all columns on your site.

    3. Could you add a custom class to the button? Otherwise the markup will apply to all buttons on your site.

  • source
  • parent
  • context
  • [–] [S] 1 point 4 months ago

    That looks exactly like my situation, thank you! This might actually let me use the default Wordpress blocks as I am currently and apply CSS in the side-bar custom CSS box for each element. I was hoping not to write custom HTML so that the "client" (my friend) can take it over when I'm done.

  • source
  • parent
  • context
  • [–] 2 points 4 months ago* (last edited 4 months ago) (3 children)

    Could we get a link to it so we can inspect the markup?

    I'm a web developer so I feel confident I can get it the way for requested.

  • source
  • view more: next ›