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
ConfigurationInstructionsFirst, open your Admin Panel and go to Stores in the leftmenu. After that go to Settings>Configuration.Insidetheconfigurationpage,clickonFacebookProductCatalog:
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.
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
GoogleProductTaxonomyWhen exporting your products to Facebook, you can optionally include the google producttaxonomytowhich theybelong.This information isadded in theproductcategoriesandyouneedtodoitmanually.Magento2
Magento2.1
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.
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:
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!