Access a community of over 900,000 Shopify Merchants and Partners and engage in meaningful conversations with your peers.
I am trying create products from csv item lists.
This is an example I am trying to do.
import shopify
import pandas as pd
product = shopify.Product()
df = pd.read_csv('example.csv')
for idx in df.index:
row = df.loc[idx, :]
name = row['name']
product.title = name
product.save()
print(product.id)
However unfortunately, 'product.id' shows same number.
I want to make product with each product.id.
How can I do that?
User | RANK |
---|---|
5 | |
4 | |
4 | |
3 | |
3 |