sylius官方网站提供了很简便的安装方式:

可以使用全局的compose命令,也可以指定运行。

 php -d memory_limit=-1  composer.phar  create-project sylius/sylius-standard sylius_demo

安装完之后,会发现项目里面还安装了几个插件。

这几个插件都提供了github上面源码的链接,可以单独下载下来研究下。

当然,最感兴趣的还是插件机制,就是如何对这些插件实现插拔的。

 

Admin Order Creation  Creating (and copying) orders in the administration panel. https://github.com/Sylius/AdminOrderCreationPlugin 
Customer Order Cancellation Allows customers to quickly cancel their unpaid and unshipped orders. https://github.com/Sylius/CustomerOrderCancellationPlugin 
 Customer Reorder Convenient reordering for the customers from the `My account` section. https://github.com/Sylius/CustomerReorderPlugin 
Invoicing Automatised, basic invoicing system for orders. https://github.com/Sylius/InvoicingPlugin
Refund Full and partial refunds of items and/or shipping costs including Credit Memos https://github.com/Sylius/RefundPlugin 
CMSThis plugin allows you to add dynamic blocks with images, text or HTML to your storefront as well as pages and FAQs section. https://github.com/BitBagCommerce/SyliusCmsPlugin 

 

安装之后,显示的信息:

 

关于symfony的相关问题,会定期整理成技术文章,发到公众号里面,无需打赏即可阅读。

请关注,公众号:程序员老班长

 

 

 

 

Logo

瓜分20万奖金 获得内推名额 丰厚实物奖励 易参与易上手

更多推荐