fix: update seeder to product published (#423)
This commit is contained in:
1 parent
42cdfde6d9
commit
d8e531890d
1 file changed
+3
@@ -114,6 +114,9 @@ const t = async function({ directory, migrate, seedFile }) {
|
|||||||
const variants = p.variants
|
const variants = p.variants
|
||||||
delete p.variants
|
delete p.variants
|
||||||
|
|
||||||
|
// default to the products being visible
|
||||||
|
p.status = p.status || "published"
|
||||||
|
|
||||||
p.profile_id = defaultProfile.id
|
p.profile_id = defaultProfile.id
|
||||||
if (p.is_giftcard) {
|
if (p.is_giftcard) {
|
||||||
p.profile_id = gcProfile.id
|
p.profile_id = gcProfile.id
|
||||||
|
|||||||
Reference in new issue
Block a user