Top Banner
Facebook Product Catalogs for Magento 2 Facebook Product Catalogs can be configured in few simple steps. We will guide through each step in this document. Installation Instructions Manual Installation (Zip File) 1) It is always a good practice to make a backup of your Magento installation before installing any extension. 2) Extract the content of the zip file and upload it to your Magento root installation folder. In case you are asked to merge or replace any files, choose to MERGE the files. 3) Open your command line terminal, go to your Magento root directory and run the following commands to enable the module: php bin/magento module:enable Remmote_Facebookproductcatalog php bin/magento setup:upgrade 2.1 If your Magento installation is in production or default mode, you might need to run the following command in order to generate the static files for your current installation (Learn more in http://alanstorm.com/magento-2-frontend-files-serving) php bin/magento setup:static-content:deploy
8

Facebook Product Catalogs for Magento 2 · 2019-03-21 · Facebook Product Catalogs for Magento 2 Facebook Product Catalogs can be configured in few simple steps. We will guide through

May 30, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Facebook Product Catalogs for Magento 2 · 2019-03-21 · Facebook Product Catalogs for Magento 2 Facebook Product Catalogs can be configured in few simple steps. We will guide through

FacebookProductCatalogsforMagento2FacebookProductCatalogscanbeconfiguredinfewsimplesteps.Wewillguidethrougheachstepinthisdocument.

InstallationInstructions

ManualInstallation(ZipFile)

1) ItisalwaysagoodpracticetomakeabackupofyourMagentoinstallationbeforeinstallinganyextension.

2) ExtractthecontentofthezipfileanduploadittoyourMagentorootinstallationfolder.Incaseyouareaskedtomergeorreplaceanyfiles,choosetoMERGEthefiles.

3) Open your command line terminal, go to your Magento root directory and run the following commands to enable the module:

php bin/magento module:enable Remmote_Facebookproductcatalog php bin/magento setup:upgrade

2.1 IfyourMagentoinstallationisinproductionordefaultmode,youmightneedtorunthe

followingcommandinordertogeneratethestaticfilesforyourcurrentinstallation(Learnmoreinhttp://alanstorm.com/magento-2-frontend-files-serving)

php bin/magento setup:static-content:deploy

Page 2: Facebook Product Catalogs for Magento 2 · 2019-03-21 · Facebook Product Catalogs for Magento 2 Facebook Product Catalogs can be configured in few simple steps. We will guide through

ConfigurationInstructionsFirst, open your Admin Panel and go to Stores in the leftmenu. After that go to Settings>Configuration.Insidetheconfigurationpage,clickonFacebookProductCatalog:

Page 3: Facebook Product Catalogs for Magento 2 · 2019-03-21 · Facebook Product Catalogs for Magento 2 Facebook Product Catalogs can be configured in few simple steps. We will guide through

GeneralConfigurationsIfyouareplanningtorunFacebookDynamicAds,firstyouneedtouploadtheproductsyouwanttopromotetoyourFacebookbusinessaccount.YoucaneasilyuploadyourproductstoFacebookusingthisextension.Ifyoustilldon’thaveaFacebookbusinessaccount,youcancreateonehere.Followthenextstepstoconfigureyourproductcatalogs:Step1ThefirstthingyouneedtodoistogenerateaCSVfilecontainingalistoftheproductsyouwantto upload. This CSV filewill be generated following Facebookproduct catalogs specs. Beforeclickingthebutton“ExportNow”,makesureyouhaveconfiguredandsavedthechangesfortheoptions“Exportallproducts”and“Extraattributes”.Youneedtosavethechangeseachtimeyouupdateaconfigurationifyouwanttoseetheeffectswhenclickingthebutton“ExportNow”.Ifyouhavemorethanonewebsiteinyourstore,selecttherightwebsiteintheleftcorneroftheextensionconfigurationview.

Page 4: Facebook Product Catalogs for Magento 2 · 2019-03-21 · Facebook Product Catalogs for Magento 2 Facebook Product Catalogs can be configured in few simple steps. We will guide through

Whenyouclickthebutton“ExportNow”,anewCSVfilewillbecreatedandapubliclinktoyourproductcatalogwillbegenerated.YoucandownloadtheCSVfilebyclickingthelink“Downloadthe.csvfile”.ThepubliclinkisusefulwhensettingperiodicuploadstoFacebook.Youwillneedthislinklater.

Configuringtheextensiontoexportallproductsoronlyselectedones(Optional):Itispossibletoexportonlyselectedproducts.Ifyouwanttoexportonlyselectedproducts,settheoption“Exportallproducts”toNoandsavetheconfigurations.Second,gototheindividualproductyouwanttoexportandsettheoption“UseforFacebookProductCatalog”toYes.Youcanalsosetadifferentproductdescription for theexportedproducts.Finally,gobacktotheextensionconfigurationandclickthebutton“ExportNow”.Magento2

Magento2.1

Page 5: Facebook Product Catalogs for Magento 2 · 2019-03-21 · Facebook Product Catalogs for Magento 2 Facebook Product Catalogs can be configured in few simple steps. We will guide through

GoogleProductTaxonomyWhen exporting your products to Facebook, you can optionally include the google producttaxonomytowhich theybelong.This information isadded in theproductcategoriesandyouneedtodoitmanually.Magento2

Magento2.1

Page 6: Facebook Product Catalogs for Magento 2 · 2019-03-21 · Facebook Product Catalogs for Magento 2 Facebook Product Catalogs can be configured in few simple steps. We will guide through

Configuringtheextensiontoexportadditionalattributes(Optional):Theextensionisconfiguredtoexportthefields:“id,title,google_product_category,description,link, image_link, condition, availability, price, sale_price, brand, color” (These are the defaultattributesrequiredbyFacebook).Inadditiontothesefields,itispossibletoexportextraproductattributes by including them in the extension configuration. You first need to create theseattributesandassignthemtoyourproducts.Forexample,ifyouwanttoexporttheadditionalattributes “weight”, “meta_description” and “msrp” enter these attribute in the field “Extraattributes”andsavethechanges.ThisisaBetafeature,soifyouarehavinganyissuesexportingyourproductcatalog,justsetthisfieldtoempty.

Step2After generating yourCSV file,next step is touploadyourproduct catalog to your Facebookbusinessaccount. InyourFacebookbusinessaccount,gotoProductCatalogsandAddaNewProductFeed.SetyourpreferencesanddefinewhetheryouwanttouploadtheCSVmanuallyorschedulerecurringuploads,thenclickNext.

SingleUploads:ClickChooseFileandselecttheCSVfileyouhavedownloadedinprevioussteps.ClickNextandinthenextview(ReviewyourFile),clickCreateFeedandwaituntiltheprocessfinish.

Page 7: Facebook Product Catalogs for Magento 2 · 2019-03-21 · Facebook Product Catalogs for Magento 2 Facebook Product Catalogs can be configured in few simple steps. We will guide through

RecurringUploads:Ifyourproductcatalogchangesquiteoften,werecommendsettinguprecurringuploadssoyoucankeepyourproductcataloginFacebookuptodate.Ourextensionsupportsrecurringuploadsandyoucanconfigurerecurringuploadsinyourstoreusingtheinstructionsbelow.Tobeginusingthisfeature,startbyconfiguringthetimethatyouwantFacebooktoimportyourproductcatalog.Forexample,ifyouwanttoimportyourproductsdailyat3am.SetthistimeinthesectionScheduleUploads. IfyouconfigureFacebookat3am,makesuretoconfiguretheextensiontogeneratetheCSVfileeverydayattimeto2am.Itisrecommendabletohaveenoughtime between both processes. In the section Feed URL, use the URL that was generated inprevioussteps.LeaveblackthefieldsUsernameandPasswordandclickCreateFeed.Waituntiltheprocessfinish.

Onceyouaredone,youshouldsomethingsimilartothis:

Page 8: Facebook Product Catalogs for Magento 2 · 2019-03-21 · Facebook Product Catalogs for Magento 2 Facebook Product Catalogs can be configured in few simple steps. We will guide through

Configuringtheextensiontorunrecurringuploads:InordertorunScheduledRecurringUploads,youneedtoenabletheoption“EnableRecurringUploads”intheextension.SchedulethetimeandfrequencyyouwanttheextensiontogenerateanewCSV file and save the configurations. For example, if youhave scheduled Facebook toimportyourproductsat3am,set2amasthetimefortheextensiontogenerateanewCSVfile,thiswayMagentowillhaveenoughtimetogeneratethenewCSVfile.ThefieldLastExportTimeindicatesthedateandtimethattheproductcatalogfilewasgenerated.Thisfieldisupdatedbothwhenexportingproductsmanuallyorusingtherecurringoption.

Important:This feature runs usingMagento Cron System so make sure yourMagento Cron is workingcorrectly.ConfiguringtheMagentoCronisacommontaskwhensettingupMagentostores.Ifyouarenotsureaboutthisconfiguration,youcancontactyoursystemadministratororserverprovidertoaskaboutthis.YoucanlearnmoreaboutMagentoCroninthislink.Notes:AlwaysInstallMagentoextensionsindevelopmentenvironmentfirsttoavoidanyissuesinproductionenvironment.You are done with extension configuration. If you are having any questions or havingdifficultiesconfiguringtheextension,feelfreetogetintouchwithusatinfo@remmote.com.Ifyouhaveanyfeedbackstoimprovetheextension,theyarealsoverywelcome!

FromtheRemmoteteam,wewishyouhappysales!