• Resolved atwsweb

    (@atwsweb)


    The system of record is WooCommerce. Sometimes the products in WooCommerce don’t sync with Square automatically. We have to click on “fetch stock” in the product edit screen and then WooCommerce pulls the correct inventory from Square. The sync should happen automatically every 5 minutes or every time a product is sold in Square. WooCommerce should sync automatically without us having to click on “fetch Stock”. How can we fix this? Seems to be an ongoing issue with Square synchs.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • 3 Sons Development

    (@3sonsdevelopment)

    Hi @atwsweb,

    Thanks for reaching out. Square does not have a way to send notifications to other systems (like WooCommerce) where there are changes to inventory. The way we get around that is to check Square for inventory changes on a regular basis.

    The default interval is one hour but you can change that to a different duration if it would work better for your business. There is a snippet in the documentation that you can use to change the default interval.

    
    // sync every 15 minutes instead of every hour
    add_filter( 'wc_square_sync_interval', function( $interval ) {
        return 15 * MINUTE_IN_SECONDS;
    } );
    

    https://woocommerce.com/document/woocommerce-square/#section-29

    You can add that to the theme’s functions.php file or use the Code Snippets plugin to add it to your site.

    If you have any questions, please let us know.

    Cheers

Viewing 1 replies (of 1 total)

The topic ‘WooCommerce not synching with Square’ is closed to new replies.