Visser Labs – WooCommerce Plugins

Premium

Popular articles

Share article

Comments

  1. Hello,
    Which settings “Export Method” do I need to set to export scheduled reports to my “default location for downlaod” defined on my PC?

    Thanks
    Isabella

    1. Hi Isabella, unfortunately it’s not possible for it set to a location on your computer using a scheduled export. As an alternative, you might be able to have it FTP the file to a location on a server or to a default location on the server itself which could then be read. Here’s the available options for saving on a scheduled export:
      Scheduled export location options

  2. Hello, I would like to schedule a report that is automatically saved on my C: drive in a specific folder. Where can I specify this?
    I also want it to have a specific file name and to overwrite the previously scheduled report saved in the same location.
    Where can I specify this? Thanks Isabella

    1. Hi Isabella,

      Unless you have an FTP server running locally or some other external access point it might not be possible to have it autosave to your computer. You can however schedule an export and have a download link within the plugin dashboard. You can then save this on your computer where you need it without having the wait for the export to finish as it can be done on a schedule.

  3. We are very thankful for an update; how can we communicate with premium support moving forward? We have struggled to be seen.

  4. Thanks from a long time supporter (going back to WPEC days). I’d patched Store Exporter to work on our PHP 8.1 networks as official support had gone quiet but am looking forward to the new ownership. Good luck!

    1. Cheers Anthony! Glad to hear you’re still using even a patched version! Would love to get you moved over to the official version now its right with 8.1

  5. Hello,
    I installed your plugin; everything works fine. However is it possible to configure the timepicker to prohibit a person from choosing a past time?
    For example, a customer orders 15 September 2018 at 3pm, it should be impossible for him to choose an hour before 13pm or better to set the timepicker H+2 so in our example, not before 5pm. In summary configure the timepicker as the datepicker.
    Thank you very much

    1. Hi there, thanks for asking, that’s definitely possible but I’d need to look up how the timepicker library support that. I’m under the hammer with Premium Support this week since coming back from my honeymoon but I’ve added this to my todo list for next week πŸ™‚

  6. Where in the functions.php can I add this? Just anywhere or do I need to place it somewhere specific?

    1. Hi cynthia, anywhere within your Theme’s functions.php file will work. If your functions.php already contains < ?php and ?> start and ending lines then don’t include them. I hope this helps πŸ™‚

  7. When I add this to the child theme function.php, the site breaks. I need to make the date-picker one day ahead. I already have a function in the file, so I stripped off the beginning . Is that wrong?

      1. Thx – I actually worked this out and submitted a request to limit timepicker to open hrs of the store – started another topic for that – hope you can help with that

        1. Nice! I’m up against the wall preparing for WooCommerce 3.0 (including a WCM Plugin update) but once that all settles down after April 4 I’ll be back on the w.org forums helping out πŸ™‚

              1. i realize that – the problem is I have bought lots of paid plugins that are a disappointment. i know you don’t have time – but hopefully your link will provide some insight. I don’t think my problem is particularly complicated – I just need how to exactly code the fix. too bad – I need to look for a plugin that can solve my problem before April 1. Maybe I won’t – and then I get a bad rep and so do you. Thanks anyway.

                1. Hi Mary, you may need to purchase a Plugin then that matches your requirements (and that is also actively supported and provides customisations if required), I wish you luck but do ping your topic as it’s pretty active during the week πŸ™‚

  8. Sorry for this, I thought my replies where blocked and posted again and again))
    Yep you definitely need some better comments system, with some bbcode or something.. In tickets too btw πŸ˜‰

    1. No worries, I’ll clean it up and yes on both accounts; better commenting, bbcode support, etc.

      The ZenDesk support system found on My Account > Support was hand-coded as there’s no existing ZenDesk integration for customers. I’ll roll it into a Plugin when I can and get it up on the w.org’s repository.

  9. This should work with ordinary WP custom fields. It does not however for ACF fields. Unless in the “function custom_woo_pd_create_product_addons” you use update_field() instead of update_post_meta().
    Strange though that if those fields are added to the “Product meta” manually, they do work. Maybe you should look into it.

    Also I find more efficient to make an array of my addon fields, and in each of those functions, except the first one, to run foreach on it. So that if you have many fields to add its easier. Here is my example:

    https://gist.github.com/SubCon/85d2a5799fa5ea019bef71c55a721a6a

    1. Only thing is to put my addon fields array somewhere so it can be accessed in each function. Setting it global did not work for me, I guess there is ajax or something and those are separate sessions?

      1. That’s right, our import engine (built upon WP-AJAX) is pretty strict on globals; $import and $product are available if you can extend those. I could add a WordPress Filter to the $import global right at the beginning so you could extend that and store your ACF field details within that array if needed.

        I’ll be adding native ACF import support soon, it’s high on my hit list but not as high as getting the new import Plugin out to market and in the hands of users πŸ™‚

    2. I came across this resource about update_post_meta() vs update_field(), if the value has already been set by ACF then it seems update_field() should be used whereas for new Posts update_post_meta() can be used; confusing…

      http://wordpress.stackexchange.com/questions/120895/update-post-meta-and-update-field-ony-working-when-saving-the-post

      I bet ACF hooks into wp_insert_post() and does some magic there which throws off update_post_meta() when used against a new Product, so update_field() has to be used.

      1. Yep, I saw the same about update_field() too. I just wandered how was it updating correctly when the fields are added to the β€œProduct meta” manually. Anyhow I made small changes to the code to take this into an account. You can see my gisp snippet. Also maybe remove my long code here and put the link to gisp instead?

          1. Just add this to your functions.php to alter the minutes interval and limit selectable hours in the day

            /* WC Checkout manager only allow certain times with 30 minute intervals*/
            add_filter( ‘wooccm_timepicker_jquery_args’, ‘custom_wooccm_js_timepicker_billing_args’,10,2 );
            function custom_wooccm_js_timepicker_billing_args( $args, $btn) {

            $args .= ‘
            ,
            minutes: {interval: 30, manual: [30] },
            showPeriod: true,
            hours: { starts: 08, ends: \’17\’ }
            ‘;

            return $args;

            }

  10. So happy I finally found this, that prompt drove me nuts! Guess I should spent more time in the snippet section here πŸ™‚

    1. Yeah this one’s a goodie, there’s currently no logic on the Edit Scheduled Export or Edit Export Template screen so it shows the prompt at all times. When possible I’ll integrate it with WordPress’s logic to only show it when changes have been made to fields and the Save button has not been pressed. πŸ™‚

  11. Hi,
    I tried this code but it didn’t work, I put it in functions.php of the theme and functions.php of woocommerce plugin but the date format doesn’t change
    Is there any other solution?

  12. thank you . works great!

    btw during checkout I’m getting blocked script due to http call to the datepicker script rather than https:

    curl “http://www.pink-perfect.com/wp-content/plugins/woocommerce-checkout-manager/includes/pickers/di18n/jquery.ui.datepicker-en.js?ver=4.6.1&nocache=1” –compressed

    where can I make the change to the URL to use https?

    thanks
    Simon

    1. Hi Francisco, thanks for the feedback. Presently we use different Filters and use different POST elements between the Quick Export and Edit Scheduled Export screens.

      I’ll spin up an updated snippet for adding custom Filters for the Edit Scheduled Export screen tomorrow if I have time; otherwise it will happen next week. πŸ™‚

  13. This works great for adding one static field! Do you have a sample snippet showing multiple static fields?

Visser Labs – WooCommerce Plugins
Resources