• Resolved Gardner25

    (@kardner)


    I have the SOR as Square, and operate a store and sell products online. If I go in and edit ANYTHING, (SEO, change the image) then update, the Inventory. then changes to Out of stock.

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • madeincosmos

    (@madeincosmos)

    Automattic Happiness Engineer

    Hi @kardner,

    I understand you just tried to edit product images in WooCommerce, saved the product page, and the next time you checked the product details in Square, stock levels of this product got reset to zero, is that correct?

    There was indeed a bug in previous plugin versions that could cause product stock getting reset under some circumstances, but this should be fixed now in version 2.0.4. I just tested this on my site, and when my System of Record is Square, changing a product in Woo doesn’t even send any update to Square. This is expected behavior, as we only recommend updating products in Woo when SOR is WooCommerce:

    https://docs.woocommerce.com/document/woocommerce-square/#section-8

    This also means that product images you set in Woo might get reset on the next scheduled update from Square–however other information such as SEO should be working fine.

    Anyway, we’re unable to reproduce the same scenario on a test site, so can you please send us the System Status Report? You can find it under WooCommerce > Status in WP Admin.

    Thanks!

    Thread Starter Gardner25

    (@kardner)

    Everything is up-to-date. Still having the issue. I can’t even open it and reserve, changing nothing, without the inventory going to zero. Is there another setting I’m missing? Should the manage inventory be selected in Woo Commerce. I am only looking to add the set on the Yoast plugin, but can’t do that with the inventory being zeroed out.

    thanks

    Here is the system status.

    ### WordPress Environment ###

    WordPress address (URL): https://www.ree-leaf.com
    Site address (URL): https://www.ree-leaf.com
    WC Version: 3.7.1
    REST API Version: ✔ 1.0.2
    Log Directory Writable: ✔
    WP Version: 5.2.3
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: ✔
    Language: en_US
    External object cache: –

    ### Server Environment ###

    Server Info: Apache
    PHP Version: 7.3.10
    PHP Post Max Size: 8 MB
    PHP Time Limit: 300
    PHP Max Input Vars: 5000
    cURL Version: 7.66.0
    OpenSSL/1.0.2t

    SUHOSIN Installed: –
    MySQL Version: 5.6.45
    Max Upload Size: 2 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔

    ### Database ###

    WC Database Version: 3.7.1
    WC Database Prefix: ree_
    MaxMind GeoIP Database: ✔
    Total Database Size: 8.60MB
    Database Data Size: 6.78MB
    Database Index Size: 1.82MB
    ree_woocommerce_sessions: Data: 0.23MB + Index: 0.01MB + Engine MyISAM
    ree_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ree_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ree_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ree_woocommerce_order_items: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ree_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.02MB + Engine MyISAM
    ree_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ree_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ree_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ree_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ree_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ree_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ree_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ree_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ree_akeeba_common: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    ree_ak_params: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    ree_ak_profiles: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
    ree_ak_stats: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ree_ak_storage: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
    ree_ak_users: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ree_commentmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ree_comments: Data: 0.50MB + Index: 0.39MB + Engine MyISAM
    ree_layerslider: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ree_layerslider_revisions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ree_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ree_options: Data: 2.38MB + Index: 0.17MB + Engine MyISAM
    ree_postmeta: Data: 1.95MB + Index: 0.39MB + Engine MyISAM
    ree_posts: Data: 0.99MB + Index: 0.39MB + Engine MyISAM
    ree_redirection_404: Data: 0.17MB + Index: 0.09MB + Engine MyISAM
    ree_redirection_groups: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ree_redirection_items: Data: 0.00MB + Index: 0.02MB + Engine MyISAM
    ree_redirection_logs: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    ree_revslider_css: Data: 0.09MB + Index: 0.00MB + Engine MyISAM
    ree_revslider_css_bkp: Data: 0.09MB + Index: 0.00MB + Engine MyISAM
    ree_revslider_layer_animations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ree_revslider_layer_animations_bkp: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ree_revslider_navigations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ree_revslider_navigations_bkp: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ree_revslider_sliders: Data: 0.02MB + Index: 0.00MB + Engine MyISAM
    ree_revslider_sliders_bkp: Data: 0.02MB + Index: 0.00MB + Engine MyISAM
    ree_revslider_slides: Data: 0.06MB + Index: 0.00MB + Engine MyISAM
    ree_revslider_slides_bkp: Data: 0.06MB + Index: 0.00MB + Engine MyISAM
    ree_revslider_static_slides: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ree_revslider_static_slides_bkp: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ree_termmeta: Data: 0.01MB + Index: 0.02MB + Engine MyISAM
    ree_terms: Data: 0.01MB + Index: 0.02MB + Engine MyISAM
    ree_term_relationships: Data: 0.05MB + Index: 0.11MB + Engine MyISAM
    ree_term_taxonomy: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
    ree_usermeta: Data: 0.07MB + Index: 0.03MB + Engine MyISAM
    ree_users: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    ree_wcpdf_invoice_number: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ree_wc_admin_notes: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ree_wc_admin_note_actions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ree_wc_category_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ree_wc_customer_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    ree_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ree_wc_order_coupon_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ree_wc_order_product_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    ree_wc_order_stats: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    ree_wc_order_tax_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ree_wc_product_meta_lookup: Data: 0.01MB + Index: 0.03MB + Engine MyISAM
    ree_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    ree_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ree_woocommerce_square_customers: Data: 0.01MB + Index: 0.02MB + Engine MyISAM
    ree_yoast_seo_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    ree_yoast_seo_meta: Data: 0.01MB + Index: 0.01MB + Engine MyISAM

    ### Security ###

    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔

    ### Active Plugins (22) ###

    VaultPress: by Automattic – 2.0.1
    LayerSlider WP: by Kreatura Media – 6.7.6
    Akismet Anti-Spam: by Automattic – 4.1.2
    Contact Form 7: by Takayuki Miyoshi – 5.1.4
    Duplicate Post: by Enrico Battocchi – 3.2.3
    EventON: by AshanJay – 2.7.3
    Force Regenerate Thumbnails: by Pedro Elsner – 2.0.6
    Jetpack by WordPress.com: by Automattic – 7.8
    WPBakery Page Builder: by Michael M – WPBakery.com – 6.0.2
    BeTheme Header Builder: by Muffin group – 1.0.5
    Redirection: by John Godley – 4.4.2
    Slider Revolution: by ThemePunch – 6.1.3
    Schema & Structured Data for WP: by Magazine3 – 1.9.12
    Widget Options: by Phpbits Creative Studio – 3.7.3
    WooCommerce Blocks: by Automattic – 2.4.2
    WooCommerce Admin: by WooCommerce – 0.20.0
    WooCommerce PDF Invoices & Packing Slips: by Ewout Fernhout – 2.3.4
    WooCommerce Services: by Automattic – 1.21.1
    WooCommerce Square: by WooCommerce – 2.0.4
    WooCommerce: by Automattic – 3.7.1
    WP Database Reset: by WebFactory Ltd – 3.1
    Yoast SEO: by Team Yoast – 12.2

    ### Inactive Plugins (0) ###

    ### Settings ###

    API Enabled: –
    Force SSL: –
    Currency: USD ($)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)

    Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
    exclude-from-search (exclude-from-search)
    featured (featured)
    outofstock (outofstock)
    rated-1 (rated-1)
    rated-2 (rated-2)
    rated-3 (rated-3)
    rated-4 (rated-4)
    rated-5 (rated-5)

    Connected to WooCommerce.com: –

    ### WC Pages ###

    Shop base: #41 – /shop/
    Cart: #42 – /cart/
    Checkout: #43 – /checkout/
    My account: #44 – /my-account/
    Terms and conditions: #3 – /privacy-policy/

    ### Theme ###

    Name: Betheme
    Version: 21.4
    Author URL: https://muffingroup.com/
    Child Theme: ❌ – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme
    WooCommerce Support: ✔

    ### Templates ###

    Overrides: betheme/woocommerce/archive-product.php
    betheme/woocommerce/cart/cart.php
    betheme/woocommerce/cart/mini-cart.php
    betheme/woocommerce/content-product.php
    betheme/woocommerce/content-single-product.php
    betheme/woocommerce/loop/loop-end.php
    betheme/woocommerce/loop/loop-start.php
    betheme/woocommerce/loop/no-products-found.php
    betheme/woocommerce/loop/pagination.php
    betheme/woocommerce/notices/error.php
    betheme/woocommerce/notices/notice.php
    betheme/woocommerce/notices/success.php
    betheme/woocommerce/single-product/add-to-cart/external.php
    betheme/woocommerce/single-product/product-image.php
    betheme/woocommerce/single-product/product-thumbnails.php
    betheme/woocommerce/single-product/sale-flash.php
    betheme/woocommerce/single-product/tabs/additional-information.php
    betheme/woocommerce/single-product/tabs/description.php
    betheme/woocommerce/single-product/tabs/tabs.php
    betheme/woocommerce/single-product/title.php

    ### Square ###

    Environment: Production
    Tokenization Enabled: ✔
    Debug Mode: Off

    ### Action Scheduler ###

    Complete: 1,678
    Oldest: 2019-09-09 19:05:40 +0000
    Newest: 2019-10-10 18:00:16 +0000

    Pending: 5
    Oldest: 2019-10-10 18:39:16 +0000
    Newest: 2019-10-12 18:07:18 +0000

    Canceled: 2
    Oldest: 2019-09-28 18:50:41 +0000
    Newest: 2019-10-04 21:19:09 +0000

    In-progress: 0
    Oldest: –
    Newest: –

    Failed: 2
    Oldest: 2019-09-27 21:14:01 +0000
    Newest: 2019-10-05 22:11:50 +0000

    `

    madeincosmos

    (@madeincosmos)

    Automattic Happiness Engineer

    Thank you for the System Status Report. I’m not seeing anything suspicious here so far, so can you please create an administrator account for woologin@woocommerce.com so that we can check product settings and history and see what could have happened with the stock? Once you do that, please create a support ticket at https://woocommerce.com/my-account/create-a-ticket/

    In the ticket please include:

    – Names and links to the products affected;
    – A screenshot of how the same product is set up in your Square dashboard. You can follow the instructions on https://snipboard.io/ to capture and upload the screenshot.
    – A link to this conversation: https://wordpress.org/support/topic/with-square-as-sor-editing-a-product-in-woo-changes-inventory-to-out-of-stock/

    Thanks a lot in advance! Let’s continue the conversation there.

    rprice54

    (@rprice54)

    I’m having the same issue, I have Woo setup as the SOR but any edits I make in WooCommerce result in a out of stock item. If I update any items I have to update them, save them, go back and correct the inventory. Every time.

    Still happening. Any resolution?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘With Square as SOR, editing a product in Woo changes inventory to out-of-stock’ is closed to new replies.