perpetual-education-personal / audiophile-data

Some collected data for our audiofile e-commerse template
0 stars 9 forks source link

Data planning #11

Open Stevedeanda opened 2 years ago

Stevedeanda commented 2 years ago

We should work on what information we want for each problem, got any ideas?

perpetual-education-personal commented 2 years ago

Seems like

Are some good ones. What other options can we include?

It would be nice to have a number, string, boolean, (missing), sub array, sub associative array, and everything we can think of

JesseDevs commented 2 years ago

-color option for sub array -could keep it simple for on sale for the Boolean

AndyLSQ commented 2 years ago

Heres an option I made yesterday (still need to switch it to json format). I copied all of this info straight from the company's website, except on-sale and sold-out i just made up.

"image" => "https://images.ctfassets.net/8cd2csgvqd3m/4LDrvOSN2bdGyvQbYIKRfj/d7a0760a01d00c4b11b077be6d7701de/Beoplay_h95_-_black_-_hero.png?q=90&fm=webp&w=1200&h=1200&fit=fill"
"name" => "Beoplay h95",
"tagline" => "Ultimate over-ear headphones",
"description" => "Moving, masterful, mesmerising. Get lost in your music with adjustable noise-cancelling headphones that redefine grab-and-go listening. ",
"type" => "headphones",
"price" => 899.00,
"options" => ["noise-cancelling", "38 hour battery life", "bluetooth 5.1"]
"on-sale" => true,
"sold-out" => false
beejsbj commented 2 years ago

"sold-out" => false

i suggest switching out the sold-out to "stock" : ["in-stock", "low", "sold-out"]