简体   繁体   English

如何在 shopify 中创建自定义模块 (CRUD)? 喜欢,产品和导航

[英]How to create custom module (CRUD) in shopify? Like, Product and Navigation

I am new in Shopify and My requirement to add more than one custom module in Shopify.我是 Shopify 的新手,我需要在 Shopify 中添加多个自定义模块。 Like, admin panel (back end) side manage all module (CRUD).比如,管理面板(后端)侧管理所有模块(CRUD)。

I also developed a custom theme in Shopify with slate and liquid.我还在 Shopify 中使用 slate 和 liquid 开发了一个自定义主题。 But, I have no idea about the custom module.但是,我不知道自定义模块。

Anyone can share any docs and reference sites to related this topic.任何人都可以共享与此主题相关的任何文档和参考站点。

Anyone any idea?有人知道吗?

Yes you can make this with custom app(module/plugin) shopify documentation是的,您可以使用自定义应用程序(模块/插件) shopify 文档来实现

But you should understand how Shopify module works.但是您应该了解 Shopify 模块的工作原理。 You can't access direct to database and crate new database tables and rows, or create backend backend code on shopify, but you can manipulate data (products, orders, discounts, etc..) through shopify api and send data into liquid template or pages.您不能直接访问数据库并创建新的数据库表和行,或在 shopify 上创建后端后端代码,但您可以通过shopify api操作数据(产品、订单、折扣等)并将数据发送到 liquid 模板或页。 Good example, and tutorial for PHP developers is there (Shopify app development in PHP)很好的例子,还有针对 PHP 开发人员的教程(PHP 中的Shopify 应用程序开发)

If you want crate new data source (For example Blog, Comments or something like that) then you should crate that part on another server (Backend part) and connect with your app (module/plugin), and after that you can use data from another server in your Shopify templates or pages.如果你想要创建新的数据源(例如博客、评论或类似的东西),那么你应该在另一台服务器(后端部分)上创建该部分并连接到你的应用程序(模块/插件),之后你可以使用来自您的 Shopify 模板或页面中的另一台服务器。 Good example, and tutorial for PHP developers is there (Shopify app development in PHP)很好的例子,还有针对 PHP 开发人员的教程(PHP 中的Shopify 应用程序开发)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM