简体   繁体   English

连接到 Shopify 或 Wordpress 的 Onix 文件 [帮助]

[英]Onix files connected to Shopify or Wordpress [help]

What is the best system or method to bulk upload onix data into either a wordpress website or the shopify platform.将 onix 数据批量上传到 wordpress 网站或 shopify 平台的最佳系统或方法是什么。 I use the accumen book software to manage the onix files and I'm looking to feed information into the book selling page, and across the whole website.我使用 accumen book 软件来管理 onix 文件,我希望将信息输入到图书销售页面以及整个网站中。

I'm not looking to get too technical, as I can't implement this myself but am looking for answers in what I would like to direct a programmer/developer to do.我不想太技术化,因为我自己无法实现这一点,但我正在寻找我想指导程序员/开发人员做的事情的答案。 I'm a designer by trade, and once the website is designed, I'm hoping to hire someone to handle the back-end and the integration of the database via onix.我是一名设计师,一旦设计了网站,我希望聘请某人通过 onix 处理后端和数据库的集成。

I'm working with a project that pulls ONIX files into WordPress.我正在处理一个将 ONIX 文件拉入 WordPress 的项目。 Try WP All Import plugin, it lets you define what field you want to pull from the ONIX file.试试 WP All Import 插件,它可以让您定义要从 ONIX 文件中提取的字段。 You will have to get the full/paid version of the plugin if you want to import into custom fields.如果您想导入自定义字段,则必须获得插件的完整/付费版本。

I am currently working on a setup where a Logstash instance slurps ONIX records from a CouchDB via the couchdb_changes input plugin, filters, modifies and enhances them and pushes them to Shopify via their API.我目前正在处理一个设置,其中 Logstash 实例通过couchdb_changes输入插件从 CouchDB 获取 ONIX 记录,过滤、修改和增强它们,并通过它们的 API 将它们推送到 Shopify。

Logstash so far proves to be a very versatile tool for that, just have a look at their different kind of plugins: Input, Filter and Output.到目前为止,Logstash 被证明是一个非常通用的工具,看看他们不同类型的插件:输入、 过滤器和输出。 Sure, originally it's a tool to aggregate, process and forward logs, but it seems to have come a long way since that.当然,最初它是一个聚合、处理和转发日志的工具,但从那时起它似乎已经走了很长一段路。

Logstash then just treats the records (and their updates) as an event stream, that you can operate on.然后,Logstash 将记录(及其更新)视为事件流,您可以对其进行操作。 I particularly like the ruby filter plugin that lets you execute custom Ruby code on the records/events.我特别喜欢 ruby​​ 过滤器插件,它允许您在记录/事件上执行自定义 Ruby 代码。

The tricky part seems to ensure testability with having lots of custom code executed by Logstash.棘手的部分似乎是通过 Logstash 执行大量自定义代码来确保可测试性。 But I'm sure I'll figure something out.但我相信我会想办法的。

For super simple approach I'd recommend you do the following in Shopify对于超级简单的方法,我建议您在 Shopify 中执行以下操作

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

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