Allow link_to_cart to be used outside of Spree context
Allow link_to_cart to be used outside of Spree context

Fixes #2441

odk211/spree,freerunningtech/spree,pervino/spree,njerrywerry/spree,lsirivong/solidus,jspizziri/spree,APohio/spree,volpejoaquin/spree,Arpsara/solidus,mindvolt/spree,pervino/spree,patdec/spree,abhishekjain16/spree,bonobos/solidus,builtbybuffalo/spree,adaddeo/spree,jaspreet21anand/spree,zamiang/spree,sfcgeorge/spree,edgward/spree,njerrywerry/spree,bonobos/solidus,AgilTec/spree,priyank-gupta/spree,RatioClothing/spree,imella/spree,richardnuno/solidus,berkes/spree,omarsar/spree,moneyspyder/spree,vcavallo/spree,trigrass2/spree,Kagetsuki/spree,bjornlinder/Spree,Boomkat/spree,cutefrank/spree,Arpsara/solidus,Engeltj/spree,Hawaiideveloper/shoppingcart,jaspreet21anand/spree,surfdome/spree,lsirivong/spree,rajeevriitm/spree,lsirivong/spree,xuewenfei/solidus,zaeznet/spree,TimurTarasenko/spree,kitwalker12/spree,net2b/spree,yomishra/pce,ayb/spree,yiqing95/spree,CiscoCloud/spree,moneyspyder/spree,karlitxo/spree,AgilTec/spree,tesserakt/clean_spree,FadliKun/spree,pulkit21/spree,dafontaine/spree,urimikhli/spree,DynamoMTL/spree,vcavallo/spree,sideci-sample/sideci-sample-spree,Mayvenn/spree,derekluo/spree,HealthWave/spree,derekluo/spree,Nevensoft/spree,joanblake/spree,yushine/spree,jsurdilla/solidus,net2b/spree,maybii/spree,ramkumar-kr/spree,welitonfreitas/spree,thogg4/spree,jsurdilla/solidus,rakibulislam/spree,patdec/spree,hifly/spree,Ropeney/spree,StemboltHQ/spree,bjornlinder/Spree,woboinc/spree,lyzxsc/spree,sfcgeorge/spree,jparr/spree,TimurTarasenko/spree,berkes/spree,carlesjove/spree,CiscoCloud/spree,Migweld/spree,StemboltHQ/spree,softr8/spree,KMikhaylovCTG/spree,orenf/spree,thogg4/spree,zamiang/spree,jimblesm/spree,carlesjove/spree,Hawaiideveloper/shoppingcart,maybii/spree,welitonfreitas/spree,trigrass2/spree,mleglise/spree,jspizziri/spree,groundctrl/spree,karlitxo/spree,Kagetsuki/spree,camelmasa/spree,codesavvy/sandbox,xuewenfei/solidus,shekibobo/spree,zaeznet/spree,siddharth28/spree,berkes/spree,rakibulislam/spree,vinayvinsol/spree,quentinuys/spree,watg/spree,wolfieorama/spree,ujai/spree,sunny2601/spree,Senjai/spree,TimurTarasenko/spree,DynamoMTL/spree,cutefrank/spree,JDutil/spree,nooysters/spree,fahidnasir/spree,athal7/solidus,Lostmyname/spree,pervino/solidus,urimikhli/spree,assembledbrands/spree,freerunningtech/spree,forkata/solidus,Boomkat/spree,lsirivong/solidus,tancnle/spree,RatioClothing/spree,delphsoft/spree-store-ballchair,ramkumar-kr/spree,delphsoft/spree-store-ballchair,Antdesk/karpal-spree,lyzxsc/spree,grzlus/spree,mleglise/spree,dotandbo/spree,reidblomquist/spree,progsri/spree,grzlus/solidus,odk211/spree,woboinc/spree,assembledbrands/spree,derekluo/spree,robodisco/spree,carlesjove/spree,jimblesm/spree,azclick/spree,derekluo/spree,azranel/spree,xuewenfei/solidus,priyank-gupta/spree,Mayvenn/spree,KMikhaylovCTG/spree,mindvolt/spree,hoanghiep90/spree,quentinuys/spree,ckk-scratch/solidus,jimblesm/spree,zaeznet/spree,DarkoP/spree,omarsar/spree,sideci-sample/sideci-sample-spree,shioyama/spree,vinayvinsol/spree,cutefrank/spree,pjmj777/spree,dafontaine/spree,degica/spree,firman/spree,Mayvenn/spree,robodisco/spree,pulkit21/spree,CJMrozek/spree,Hates/spree,brchristian/spree,Lostmyname/spree,dandanwei/spree,Lostmyname/spree,Ropeney/spree,progsri/spree,delphsoft/spree-store-ballchair,Hates/spree,DarkoP/spree,piousbox/spree,watg/spree,sideci-sample/sideci-sample-spree,surfdome/spree,vulk/spree,rakibulislam/spree,hoanghiep90/spree,alejandromangione/spree,APohio/spree,Machpowersystems/spree_mach,vmatekole/spree,vcavallo/spree,vmatekole/spree,raow/spree,FadliKun/spree,Senjai/solidus,yushine/spree,project-eutopia/spree,Hawaiideveloper/shoppingcart,DynamoMTL/spree,jeffboulet/spree,Ropeney/spree,Nevensoft/spree,jasonfb/spree,TrialGuides/spree,alejandromangione/spree,tancnle/spree,athal7/solidus,shioyama/spree,caiqinghua/spree,odk211/spree,odk211/spree,tomash/spree,archSeer/spree,sfcgeorge/spree,miyazawatomoka/spree,shekibobo/spree,azclick/spree,HealthWave/spree,surfdome/spree,Boomkat/spree,azclick/spree,vinsol/spree,dotandbo/spree,forkata/solidus,abhishekjain16/spree,ayb/spree,archSeer/spree,trigrass2/spree,wolfieorama/spree,nooysters/spree,SadTreeFriends/spree,vulk/spree,abhishekjain16/spree,joanblake/spree,richardnuno/solidus,Senjai/spree,adaddeo/spree,shekibobo/spree,RatioClothing/spree,project-eutopia/spree,brchristian/spree,piousbox/spree,vulk/spree,orenf/spree,shekibobo/spree,kewaunited/spree,tancnle/spree,NerdsvilleCEO/spree,ayb/spree,CJMrozek/spree,CiscoCloud/spree,pervino/spree,lsirivong/spree,yiqing95/spree,Engeltj/spree,groundctrl/spree,tailic/spree,fahidnasir/spree,LBRapid/spree,forkata/solidus,TrialGuides/spree,biagidp/spree,kewaunited/spree,locomotivapro/spree,Engeltj/spree,vinsol/spree,CJMrozek/spree,calvinl/spree,kewaunited/spree,LBRapid/spree,dotandbo/spree,alepore/spree,tailic/spree,jhawthorn/spree,abhishekjain16/spree,agient/agientstorefront,DynamoMTL/spree,useiichi/spree,jspizziri/spree,PhoenixTeam/spree_phoenix,ujai/spree,Nevensoft/spree,delphsoft/spree-store-ballchair,vinsol/spree,radarseesradar/spree,grzlus/spree,piousbox/spree,lsirivong/spree,jaspreet21anand/spree,groundctrl/spree,gautamsawhney/spree,JDutil/spree,jasonfb/spree,fahidnasir/spree,Senjai/solidus,madetech/spree,imella/spree,xuewenfei/solidus,scottcrawford03/solidus,Senjai/spree,ckk-scratch/solidus,siddharth28/spree,hifly/spree,jordan-brough/solidus,firman/spree,agient/agientstorefront,gregoryrikson/spree-sample,dotandbo/spree,beni55/spree,lsirivong/solidus,radarseesradar/spree,edgward/spree,dandanwei/spree,karlitxo/spree,tailic/spree,bonobos/solidus,mleglise/spree,ahmetabdi/spree,madetech/spree,tesserakt/clean_spree,lsirivong/solidus,quentinuys/spree,beni55/spree,calvinl/spree,gautamsawhney/spree,archSeer/spree,joanblake/spree,sunny2601/spree,sliaquat/spree,bricesanchez/spree,hifly/spree,richardnuno/solidus,calvinl/spree,edgward/spree,Nevensoft/spree,jsurdilla/solidus,LBRapid/spree,locomotivapro/spree,yomishra/pce,pjmj777/spree,keatonrow/spree,madetech/spree,FadliKun/spree,azranel/spree,shaywood2/spree,patdec/spree,scottcrawford03/solidus,yiqing95/spree,robodisco/spree,welitonfreitas/spree,vinsol/spree,FadliKun/spree,ckk-scratch/solidus,camelmasa/spree,reinaris/spree,dandanwei/spree,rbngzlv/spree,berkes/spree,jimblesm/spree,pervino/solidus,grzlus/spree,keatonrow/spree,thogg4/spree,TrialGuides/spree,DarkoP/spree,codesavvy/sandbox,devilcoders/solidus,dafontaine/spree,Antdesk/karpal-spree,jordan-brough/solidus,archSeer/spree,azranel/spree,Migweld/spree,raow/spree,woboinc/spree,siddharth28/spree,orenf/spree,jhawthorn/spree,gautamsawhney/spree,vcavallo/spree,edgward/spree,net2b/spree,dandanwei/spree,lyzxsc/spree,JuandGirald/spree,pulkit21/spree,tomash/spree,builtbybuffalo/spree,NerdsvilleCEO/spree,yushine/spree,JDutil/spree,Mayvenn/spree,reinaris/spree,raow/spree,JuandGirald/spree,ramkumar-kr/spree,groundctrl/spree,adaddeo/spree,jordan-brough/spree,maybii/spree,sunny2601/spree,grzlus/solidus,wolfieorama/spree,scottcrawford03/solidus,azclick/spree,ahmetabdi/spree,omarsar/spree,njerrywerry/spree,Antdesk/karpal-spree,rajeevriitm/spree,maybii/spree,lyzxsc/spree,degica/spree,jasonfb/spree,freerunningtech/spree,pervino/solidus,dafontaine/spree,welitonfreitas/spree,cutefrank/spree,raow/spree,watg/spree,camelmasa/spree,alepore/spree,APohio/spree,pervino/solidus,shaywood2/spree,SadTreeFriends/spree,jspizziri/spree,hoanghiep90/spree,richardnuno/solidus,patdec/spree,sliaquat/spree,Migweld/spree,vinayvinsol/spree,bricesanchez/spree,useiichi/spree,codesavvy/sandbox,sliaquat/spree,bonobos/solidus,karlitxo/spree,forkata/solidus,jordan-brough/solidus,Hates/spree,jaspreet21anand/spree,Migweld/spree,alvinjean/spree,athal7/solidus,NerdsvilleCEO/spree,Arpsara/solidus,assembledbrands/spree,radarseesradar/spree,DarkoP/spree,sunny2601/spree,beni55/spree,jparr/spree,volpejoaquin/spree,gregoryrikson/spree-sample,zamiang/spree,kitwalker12/spree,Machpowersystems/spree_mach,agient/agientstorefront,Kagetsuki/spree,zamiang/spree,progsri/spree,imella/spree,siddharth28/spree,degica/spree,rakibulislam/spree,miyazawatomoka/spree,alvinjean/spree,Arpsara/solidus,scottcrawford03/solidus,PhoenixTeam/spree_phoenix,keatonrow/spree,PhoenixTeam/spree_phoenix,quentinuys/spree,vulk/spree,surfdome/spree,progsri/spree,grzlus/solidus,builtbybuffalo/spree,bricesanchez/spree,softr8/spree,biagidp/spree,grzlus/spree,useiichi/spree,TimurTarasenko/spree,sliaquat/spree,pjmj777/spree,thogg4/spree,carlesjove/spree,mindvolt/spree,caiqinghua/spree,keatonrow/spree,zaeznet/spree,yushine/spree,ayb/spree,wolfieorama/spree,priyank-gupta/spree,reinaris/spree,yomishra/pce,calvinl/spree,ahmetabdi/spree,jparr/spree,njerrywerry/spree,biagidp/spree,jordan-brough/solidus,rbngzlv/spree,hoanghiep90/spree,codesavvy/sandbox,Kagetsuki/spree,kitwalker12/spree,JuandGirald/spree,yiqing95/spree,jordan-brough/spree,shioyama/spree,alvinjean/spree,nooysters/spree,caiqinghua/spree,rbngzlv/spree,firman/spree,JDutil/spree,TrialGuides/spree,pervino/spree,jsurdilla/solidus,omarsar/spree,Engeltj/spree,athal7/solidus,beni55/spree,devilcoders/solidus,miyazawatomoka/spree,gautamsawhney/spree,reidblomquist/spree,Machpowersystems/spree_mach,CiscoCloud/spree,firman/spree,alejandromangione/spree,shaywood2/spree,APohio/spree,vmatekole/spree,ujai/spree,reidblomquist/spree,SadTreeFriends/spree,StemboltHQ/spree,kewaunited/spree,alejandromangione/spree,trigrass2/spree,pulkit21/spree,alepore/spree,agient/agientstorefront,HealthWave/spree,urimikhli/spree,builtbybuffalo/spree,vmatekole/spree,shaywood2/spree,radarseesradar/spree,robodisco/spree,jasonfb/spree,devilcoders/solidus,JuandGirald/spree,locomotivapro/spree,KMikhaylovCTG/spree,softr8/spree,reidblomquist/spree,volpejoaquin/spree,brchristian/spree,tancnle/spree,devilcoders/solidus,CJMrozek/spree,ahmetabdi/spree,grzlus/solidus,knuepwebdev/FloatTubeRodHolders,jeffboulet/spree,Senjai/solidus,useiichi/spree,locomotivapro/spree,joanblake/spree,hifly/spree,tesserakt/clean_spree,jeffboulet/spree,SadTreeFriends/spree,nooysters/spree,jhawthorn/spree,alvinjean/spree,PhoenixTeam/spree_phoenix,azranel/spree,AgilTec/spree,ckk-scratch/solidus,NerdsvilleCEO/spree,KMikhaylovCTG/spree,Lostmyname/spree,net2b/spree,jparr/spree,Ropeney/spree,tomash/spree,rbngzlv/spree,moneyspyder/spree,piousbox/spree,rajeevriitm/spree,gregoryrikson/spree-sample,priyank-gupta/spree,bjornlinder/Spree,Boomkat/spree,brchristian/spree,caiqinghua/spree,Hates/spree,softr8/spree,gregoryrikson/spree-sample,reinaris/spree,sfcgeorge/spree,volpejoaquin/spree,mleglise/spree,camelmasa/spree,adaddeo/spree,knuepwebdev/FloatTubeRodHolders,miyazawatomoka/spree,jordan-brough/spree,project-eutopia/spree,madetech/spree,tesserakt/clean_spree,jeffboulet/spree,rajeevriitm/spree,Hawaiideveloper/shoppingcart,fahidnasir/spree,knuepwebdev/FloatTubeRodHolders,AgilTec/spree,mindvolt/spree,orenf/spree,ramkumar-kr/spree,project-eutopia/spree,vinayvinsol/spree,tomash/spree,Senjai/solidus,moneyspyder/spree