• Resolved tuijatuulia

    (@adalminanet)


    Now I realize why I have all the time test products appearing in my Facebook page – this plugin reads also my staging site which is on same server but other database.. and that instance has the whole plugin deactivated – why does the plugin in production read also other databases – this is not nice.

    Also, it is too automatic, I would prefer to select which products to transfer and when.

Viewing 7 replies - 1 through 7 (of 7 total)
  • mitchellk

    (@mitchellk)

    Good luck getting a reply here. I have an issue too when I duplicate a product that the new “unpublished” product is synced with the word (Copy) in the title making an absolute mess of the store.

    Hi @adalminanet,

    Thank you for reaching out!

    Now I realize why I have all the time test products appearing in my Facebook page – this plugin reads also my staging site which is on same server but other database.. and that instance has the whole plugin deactivated – why does the plugin in production read also other databases – this is not nice.

    I’m sorry to hear about Facebook for WooCommerce syncing products from the staging site where it’s de-activated.

    Can you please specify if it was enabled on the staging site at some point? That would explain the presence of products from the staging site on Facebook since those are not deleted after the extension is de-activated.

    In case the plugin is de-activated on the staging site but changes from the staging site are still synced to Facebook – please open a support request on WooCommerce.com and include a link to this thread:

    https://woocommerce.com/contact-us/

    We’ll need to investigate this further.

    Also, it is too automatic, I would prefer to select which products to transfer and when.

    There’s a checkbox in the settings of each product and variation allowing you to enable or disable the sync, however, in case you have different functionality in mind – feel free to submit a request on GitHub:

    https://github.com/facebookincubator/facebook-for-woocommerce/issues

    @mitchellk I’ve responded in the thread you’ve started.

    Thread Starter tuijatuulia

    (@adalminanet)

    Hi, thank you for the reply.

    I confirm, I had plugin long time deactivated in staging, which was a copy of production (deactivated of course right away the Facebook sync)

    I created new products for testing, and they went to Facebook same minute I published them.

    I know there is a checkbox not to sync products, but the syncing starts the same time automatically as I publish products. If I later mark them “do not sync” they are already in Facebook and I have to go through them individually. How do I stop the automatic sync, maybe I have missed some setting.

    I have earlier created a connection from staging environment to Facebook, but it should not work I guess when the whole syncing plugin is disabled..?

    Thread Starter tuijatuulia

    (@adalminanet)

    I will try to take away the connection I created earlier from staging, hoping it helps.. (it does not solve the “too fast to Facebook” thing though)

    Hi there,

    I know there is a checkbox not to sync products, but the syncing starts the same time automatically as I publish products. If I later mark them “do not sync” they are already in Facebook and I have to go through them individually. How do I stop the automatic sync, maybe I have missed some setting.

    Currently, the new published products or even draft copies of products (which are synced to Facebook already) will be synced to Facebook immediately.

    I’ve opened a request here asking our developers to make sure draft copies are not sent to Facebook immediately:

    https://github.com/facebookincubator/facebook-for-woocommerce/issues/1803

    Feel free to comment there if you have additional requirements, although there’s a chance you’ll be asked to open a separate request.

    I confirm, I had plugin long time deactivated in staging, which was a copy of production (deactivated of course right away the Facebook sync)

    I created new products for testing, and they went to Facebook same minute I published them.

    I will try to take away the connection I created earlier from staging, hoping it helps.

    Currently, published products are synced to Facebook by default.

    Staging site functionality is not something that comes with WordPress or WooCommerce by default, so there’s a lot of room for error introduced by third-party software.

    Is the staging site synced to the live site in some way? How exactly did you create a staging site?

    Figuring out the reason behind this behaviour would likely require a deep dive into Facebook for WooCommerce extension code and the staging site mechanism. If this keeps happening after breaking the connection between your staging site and Facebook – please open a ticket on WooCommerce.com.

    You can wipe all Facebook-related settings from options.php in order to reset the connection.

    I hope this helps!

    Thread Starter tuijatuulia

    (@adalminanet)

    Hi,
    >>Is the staging site synced to the live site in some way? How exactly did you create a staging site?

    Yes, I of course tried the connection first from my staging site (production is never the place to test anything!) and then deactivated the syncing and even deactivated the whole plugin, but still they come to Facebook – so nice when my development teams make some test products I get product violations in FB..

    Staging is created by Softaculous staging tools, it is not automated. It has a subdomain under the same domain (to get most of the plugins to work also in testing you must not create totally new domain) and it has it’s own separate database, with another name of course.

    I cannot find the instruction on how to break the connection – If I press the “Manage connection” button I just get a “this page is not available” from Facebook.. Do you have a link to some instruction please?

    How have you thought this would work – If I on draft phase mark the product “not synced to FB” they would be however synced when they are published? There must be some mark to separate e.g. test products and gift cards, services and such not to be included into the sync. Or the sync must happen to selected products only.

    This is a bit too automatic and too fast. (and now the plugin heard me, got mad and does not sync the new products anymore from production.. it did sync from test.. ouch, such fun)

    Mike M. a11n

    (@mikedmoore)

    Automattic Happiness Engineer

    Hi @adalminanet,

    I cannot find the instruction on how to break the connection – If I press the “Manage connection” button I just get a “this page is not available” from Facebook.. Do you have a link to some instruction please?

    I would recommend first trying to delete and/or reset the synced products by following the steps here:

    https://docs.woocommerce.com/document/facebook-for-woocommerce/facebook-for-woocommerce-delete-or-reset-all-facebook-products/

    If this doesn’t help, then I would recommend trying the following, then re-starting from the beginning:

    https://docs.woocommerce.com/document/facebook-for-woocommerce/facebook-for-woocommerce-uninstall-plugin-and-remove-woocommerce-facebook-app/

    How have you thought this would work – If I on draft phase mark the product “not synced to FB” they would be however synced when they are published? There must be some mark to separate e.g. test products and gift cards, services and such not to be included into the sync. Or the sync must happen to selected products only.

    I see that you’re active in the thread on Github issue about draft syncing. I recommend continuing the discussion there so that developers are aware of the use case.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘This reads also staging DB products! oh no’ is closed to new replies.