2012-05-22 71 views
0

我在magento 1.6.2中,正​​在根據客戶身份設置顯示/隱藏cms頁面的內容。1.7中的magento REST/OAuth

類似於WordPress有很多「付費/會員」插件的方式。

所以用戶訂閱(目前正在尋找在插件使用AW SARP的那部分) - >然後Magento的授權訪問CMS頁面,

  • 顯示/隱藏路徑插件在
  • 顯示/隱藏在客戶賬戶視頻節目鏈接

視頻節目是在CMS第一個產品。

Customer buys (or subscribes to) a Video Program 
-->a listener looks for customer ID 
-->customer ID is found and shows magento what product(s) (one or more products) customer has paid for (and/or is currently subscribed to) 
-->magento displays an array in customer account on a tab "My Purchased Videos" that includes links to CMS pages for each Video Program 
-->once subscription expires, customer can not access CMS pages for each Video Program. 

所以,我是正確的,1.7允許使用REST/OAuth的在一個完全不同的方式來完成客戶管理/接入或REST/OAuth是隻是多了一個管理的事情嗎?

回答

1

就我所知,Magento REST API主要是爲集成第三方應用程序而設計的,所以它只是「一個」的管理工具。