Skip to content
This repository has been archived by the owner on Apr 30, 2023. It is now read-only.

Items on facebook appear as "out of stock" #12

Closed
mbattistini opened this issue Feb 24, 2021 · 13 comments
Closed

Items on facebook appear as "out of stock" #12

mbattistini opened this issue Feb 24, 2021 · 13 comments
Assignees

Comments

@mbattistini
Copy link

magento 2.4.2
facebook-for-magento2 1.2.4

Most of the products are valid for the facebook/instagram catalog but "out of stock" even if they are available on magento.
Could there be a problem with the Multi-Source Inventory present on the latest versions of magento?

Thank you.

@zlik zlik self-assigned this Mar 16, 2021
facebook-github-bot pushed a commit that referenced this issue Mar 19, 2021
Summary:
Added support for Magento's [multi-source inventory sources](https://docs.magento.com/user-guide/catalog/inventory-about-sources-stocks.html). Addressed Github [issue](#12).

In the extension configuration, you can now choose an inventory source for FB.
{F518141569}

Default source is already preselected – no changes for sellers who already installed the extension.

Reviewed By: xiangminxufsu

Differential Revision: D27176054

fbshipit-source-id: 2ead4129
@nix0x00
Copy link

nix0x00 commented Mar 25, 2021

Not related to your question, but how did you get the magento products on facebook? I installed this extension but then I am confused as how to upload products to facebook?

@zlik
Copy link
Contributor

zlik commented Mar 25, 2021

Not related to your question, but how did you get the magento products on facebook? I installed this extension but then I am confused as how to upload products to facebook?

@nix0x00, products will be uploaded to FB automatically on background right after you complete the onboarding flow and connect the FB assets. You can also initiate an on-demand upload from Stores -> Configuration -> Facebook -> Business Extension -> Catalog Management -> Push Products at any time. We'll update the user documentation to make it clearer.

@nix0x00
Copy link

nix0x00 commented Mar 26, 2021

Not related to your question, but how did you get the magento products on facebook? I installed this extension but then I am confused as how to upload products to facebook?

@nix0x00, products will be uploaded to FB automatically on background right after you complete the onboarding flow and connect the FB assets. You can also initiate an on-demand upload from Stores -> Configuration -> Facebook -> Business Extension -> Catalog Management -> Push Products at any time. We'll update the user documentation to make it clearer.

Can you please give me link to user documentation? I have already connected the extension with the page but neither its uploading the products automatically nor from the "Push Products" manually from catalog configuration.

@zlik
Copy link
Contributor

zlik commented Mar 26, 2021

Can you please give me link to user documentation?

For now, we only have basic README and this Help Center article but a detailed user guide is coming up soon.

I have already connected the extension with the page but neither its uploading the products automatically nor from the "Push Products" manually from catalog configuration.

Can you please share your var/log/facebook-business-extension.log?

@zlik
Copy link
Contributor

zlik commented Mar 31, 2021

Most of the products are valid for the facebook/instagram catalog but "out of stock" even if they are available on magento.
Could there be a problem with the Multi-Source Inventory present on the latest versions of magento?

@mbattistini, we've added support for multi-source inventory in 1.2.6. Can you please update and let me know if this is still an issue for you?

@zlik zlik closed this as completed Mar 31, 2021
@nix0x00
Copy link

nix0x00 commented Mar 31, 2021

Can you please give me link to user documentation?

For now, we only have basic README and this Help Center article but a detailed user guide is coming up soon.

I have already connected the extension with the page but neither its uploading the products automatically nor from the "Push Products" manually from catalog configuration.

Can you please share your var/log/facebook-business-extension.log?

I hope the doc is made available soon.

the Logs:

https://github.com/nix0x00/newsletter_subscribers/raw/master/facebook-ext-business.log

@zlik
Copy link
Contributor

zlik commented Apr 1, 2021

@nix0x00, thanks! Can you please update the extension to the latest 1.2.6 and try again? It has a fix for the Deprecated Functionality: implode(): Passing glue string after array is deprecated. PHP error from your log.

@nix0x00
Copy link

nix0x00 commented Apr 1, 2021

@nix0x00, thanks! Can you please update the extension to the latest 1.2.6 and try again? It has a fix for the Deprecated Functionality: implode(): Passing glue string after array is deprecated. PHP error from your log.

I have updated it to 1.2.6, and upon clicking the settings in admin for this extension I get following error on the admin side.

https://raw.githubusercontent.com/nix0x00/newsletter_subscribers/master/facebook-1.2.6.log

@zlik
Copy link
Contributor

zlik commented Apr 1, 2021

I have updated it to 1.2.6, and upon clicking the settings in admin for this extension I get following error on the admin side.

https://raw.githubusercontent.com/nix0x00/newsletter_subscribers/master/facebook-1.2.6.log

have you run bin/magento setup:di:compile?

@nix0x00
Copy link

nix0x00 commented Apr 1, 2021

I have updated it to 1.2.6, and upon clicking the settings in admin for this extension I get following error on the admin side.
https://raw.githubusercontent.com/nix0x00/newsletter_subscribers/master/facebook-1.2.6.log

have you run bin/magento setup:di:compile?

Yes I did 2 3 times, I then removed the connection setup. and tried to again establish the connection with facebook. But during the process I can't continue further and get instagram error (not available in this country) as shown in the screenshot.

https://i.imgur.com/eXRaxsk.png

@nix0x00
Copy link

nix0x00 commented Apr 4, 2021

I have updated it to 1.2.6, and upon clicking the settings in admin for this extension I get following error on the admin side.
https://raw.githubusercontent.com/nix0x00/newsletter_subscribers/master/facebook-1.2.6.log

have you run bin/magento setup:di:compile?

Okay I was able to do that configuration (setup this extension with facebook page). but This error continues. I have now tried to compile and upgrade many times, but still the same. I get this error when I click > Store > Config > Facebook >

https://raw.githubusercontent.com/nix0x00/newsletter_subscribers/master/facebook-1.2.6.log

@zlik
Copy link
Contributor

zlik commented Apr 5, 2021

@nix0x00, I'm looking into it. In the meantime, can you update to 1.2.7, try again and open a new issue on Github if it's still happening for you? Thanks!

@nix0x00
Copy link

nix0x00 commented Apr 5, 2021

@nix0x00, I'm looking into it. In the meantime, can you update to 1.2.7, try again and open a new issue on Github if it's still happening for you? Thanks!

I have opened a new issue at

facebook-github-bot pushed a commit that referenced this issue Oct 21, 2022
Summary:
Added support for Magento's [multi-source inventory sources](https://docs.magento.com/user-guide/catalog/inventory-about-sources-stocks.html). Addressed Github [issue](#12).

In the extension configuration, you can now choose an inventory source for FB.
{F518141569}

Default source is already preselected – no changes for sellers who already installed the extension.

Reviewed By: xiangminxufsu

Differential Revision: D27176054

fbshipit-source-id: 934c216aef7f37083f0a2f9f52574974f08f1808
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants