PrestaShop - 插入产品脚本 [英] PrestaShop - insert products script

查看:50
本文介绍了PrestaShop - 插入产品脚本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找 sql 或 php 脚本,它显示了如何将代表产品及其属性、图像等的集成数据插入到 PrestaShop 数据库中.有谁知道这个过程的步骤 - 我的意思是我需要填写的表和列的名称.

I am looking for sql or php script which shows how to insert integrated data represents product with its attributes, images etc. to PrestaShop database. Does anyone know steps of this process - I mean name of tables and columns I need to fill.

推荐答案

阅读源码!!您可以访问每个类,因此只需查看 Product.phpObjectModel.php,您将获得有关字段和表格的所有信息.

Read the source!! You have access to every classes, so just take a look at Product.php and ObjectModel.php and you will have every infos you need about the fields and the tables.

如果您的目标是插入产品,则无需编写任何 sql 查询.我建议使用提供的方法来避免任何错误.

If your goal is to insert products, you don't need to write any sql queries. I would recommend to use the methods provided to avoid any errors.

这篇关于PrestaShop - 插入产品脚本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆