solidus_sample 4.2.4 → 4.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. checksums.yaml +4 -4
  2. data/db/samples/assets.rb +62 -65
  3. data/db/samples/images/solidus_bottles_1.png +0 -0
  4. data/db/samples/images/solidus_bottles_2.png +0 -0
  5. data/db/samples/images/solidus_canvas_tote.png +0 -0
  6. data/db/samples/images/solidus_cap_black_1.png +0 -0
  7. data/db/samples/images/solidus_cap_black_2.png +0 -0
  8. data/db/samples/images/solidus_cap_black_3.png +0 -0
  9. data/db/samples/images/solidus_cap_gray_1.png +0 -0
  10. data/db/samples/images/solidus_cap_gray_2.png +0 -0
  11. data/db/samples/images/solidus_cap_gray_3.png +0 -0
  12. data/db/samples/images/solidus_cap_red_1.png +0 -0
  13. data/db/samples/images/solidus_cap_red_2.png +0 -0
  14. data/db/samples/images/solidus_cap_red_3.png +0 -0
  15. data/db/samples/images/solidus_dark_tee.png +0 -0
  16. data/db/samples/images/solidus_hat.png +0 -0
  17. data/db/samples/images/solidus_hoodie_black_1.png +0 -0
  18. data/db/samples/images/solidus_hoodie_red_1.png +0 -0
  19. data/db/samples/images/solidus_hoodie_red_2.png +0 -0
  20. data/db/samples/images/solidus_long_sleeve_tee.png +0 -0
  21. data/db/samples/images/solidus_mug_set.png +0 -0
  22. data/db/samples/images/solidus_notebook.png +0 -0
  23. data/db/samples/images/solidus_sticker.png +0 -0
  24. data/db/samples/images/solidus_tote.png +0 -0
  25. data/db/samples/images/solidus_tshirt.png +0 -0
  26. data/db/samples/option_values.rb +9 -15
  27. data/db/samples/orders.rb +9 -8
  28. data/db/samples/product_option_types.rb +8 -8
  29. data/db/samples/product_properties.rb +16 -54
  30. data/db/samples/products.rb +36 -35
  31. data/db/samples/taxons.rb +33 -61
  32. data/db/samples/variants.rb +184 -163
  33. metadata +28 -35
  34. data/db/samples/images/ruby_hoodie.jpg +0 -0
  35. data/db/samples/images/ruby_hoodie_zip.jpg +0 -0
  36. data/db/samples/images/ruby_mug.jpg +0 -0
  37. data/db/samples/images/ruby_polo.jpg +0 -0
  38. data/db/samples/images/ruby_polo_back.jpg +0 -0
  39. data/db/samples/images/solidus_hoodie.jpg +0 -0
  40. data/db/samples/images/solidus_long.jpg +0 -0
  41. data/db/samples/images/solidus_long_back.jpg +0 -0
  42. data/db/samples/images/solidus_long_back_black.jpg +0 -0
  43. data/db/samples/images/solidus_long_back_blue.jpg +0 -0
  44. data/db/samples/images/solidus_long_back_white.jpg +0 -0
  45. data/db/samples/images/solidus_long_black.jpg +0 -0
  46. data/db/samples/images/solidus_long_blue.jpg +0 -0
  47. data/db/samples/images/solidus_long_white.jpg +0 -0
  48. data/db/samples/images/solidus_mug.jpg +0 -0
  49. data/db/samples/images/solidus_snapback_cap.jpg +0 -0
  50. data/db/samples/images/solidus_tshirt.jpg +0 -0
  51. data/db/samples/images/solidus_tshirt_back.jpg +0 -0
  52. data/db/samples/images/solidus_tshirt_back_black.jpg +0 -0
  53. data/db/samples/images/solidus_tshirt_back_blue.jpg +0 -0
  54. data/db/samples/images/solidus_tshirt_back_white.jpg +0 -0
  55. data/db/samples/images/solidus_tshirt_black.jpg +0 -0
  56. data/db/samples/images/solidus_tshirt_blue.jpg +0 -0
  57. data/db/samples/images/solidus_tshirt_white.jpg +0 -0
  58. data/db/samples/images/solidus_womens_tshirt.jpg +0 -0
  59. data/db/samples/images/solidus_womens_tshirt_black.jpg +0 -0
  60. data/db/samples/images/solidus_womens_tshirt_blue.jpg +0 -0
  61. data/db/samples/images/solidus_womens_tshirt_white.jpg +0 -0
  62. data/db/samples/images/tote_bag_ruby.jpg +0 -0
  63. data/db/samples/images/tote_bag_solidus.jpg +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: db93fba5ee8e0a8fef8f59f559f8f2098e10213af98edf36bb245cff355e2569
4
- data.tar.gz: 60eaf2a9aa5ca584ffa65b855d9dd160ea098a5a35a7f46b725e4d290ca7bbc3
3
+ metadata.gz: a77274df8038d11b3f3b9d8c963edd2e82b4c2c897a890496c4cbf35e6d45b8b
4
+ data.tar.gz: 2f3e7c77017132b66c1995c3a39d221fb776a53f2ea6ad7d2818b9e83ae098f0
5
5
  SHA512:
6
- metadata.gz: a579d626bb26b46c59077a10da6f3343ccfdc5545295e984819da68fe04f5bb97a5b0172cdb3648358f16c8ae31165e6f0c238d790c74ce24899c7cc26137af0
7
- data.tar.gz: 902b7dcc28266416cf64b259a5e9ef1d31289e14b940cd527a6bfdd3f1edb5917e52b1df16b22302663c446f8ba7e24d2e5adfc779d120d184e5d068924e88c6
6
+ metadata.gz: 5061d125a65f80272bffce3b5cbbfdbf6452c603cb525769fc368b47e27657bdc64f3a38b58ca5fda83a47d73237fa261ce0574410430abcebc77039b4a27171
7
+ data.tar.gz: 863601917e15be87428c4660f87d3148e4a3146965ef78a27c81daeb16615712b9d53639316a5bab543c860a3b3fd64a7cbbf28a27187355a8f633bb9384efd4
data/db/samples/assets.rb CHANGED
@@ -7,20 +7,22 @@ Spree::Sample.load_sample("products")
7
7
  Spree::Sample.load_sample("variants")
8
8
 
9
9
  products = {}
10
- products[:solidus_tshirt] = Spree::Product.includes(variants: [:option_values]).find_by!(name: "Solidus T-Shirt")
11
- products[:solidus_long] = Spree::Product.includes(variants: [:option_values]).find_by!(name: "Solidus Long Sleeve")
12
- products[:solidus_womens_tshirt] = Spree::Product.includes(variants: [:option_values]).find_by!(name: "Solidus Women's T-Shirt")
13
- products[:solidus_snapback_cap] = Spree::Product.find_by!(name: "Solidus Snapback Cap")
14
- products[:solidus_hoodie] = Spree::Product.find_by!(name: "Solidus Hoodie Zip")
15
- products[:ruby_hoodie] = Spree::Product.find_by!(name: "Ruby Hoodie")
16
- products[:ruby_hoodie_zip] = Spree::Product.find_by!(name: "Ruby Hoodie Zip")
17
- products[:ruby_polo] = Spree::Product.find_by!(name: "Ruby Polo")
18
- products[:solidus_mug] = Spree::Product.find_by!(name: "Solidus Mug")
19
- products[:ruby_mug] = Spree::Product.find_by!(name: "Ruby Mug")
20
- products[:solidus_tote] = Spree::Product.find_by!(name: "Solidus Tote")
21
- products[:ruby_tote] = Spree::Product.find_by!(name: "Ruby Tote")
10
+ products[:solidus_bottles] = Spree::Product.includes(variants: [:option_values]).find_by!(name: "Solidus Water Bottle")
11
+ products[:solidus_tote] = Spree::Product.includes(variants: [:option_values]).find_by!(name: "Solidus tote")
12
+ products[:solidus_hoodie] = Spree::Product.includes(variants: [:option_values]).find_by!(name: "Solidus hoodie")
13
+ products[:solidus_hat] = Spree::Product.includes(variants: [:option_values]).find_by!(name: "Solidus winter hat")
14
+ products[:solidus_sticker] = Spree::Product.includes(variants: [:option_values]).find_by!(name: "Solidus circle sticker")
15
+ products[:solidus_cap] = Spree::Product.includes(variants: [:option_values]).find_by!(name: "Solidus cap")
22
16
 
23
- image = ->(name, type = "jpg") do
17
+ products[:solidus_mug_set] = Spree::Product.find_by!(name: "Solidus mug set")
18
+ products[:solidus_notebook] = Spree::Product.find_by!(name: "Solidus notebook")
19
+ products[:solidus_tshirt] = Spree::Product.find_by!(name: "Solidus t-shirt")
20
+ products[:solidus_long_sleeve_tee] = Spree::Product.find_by!(name: "Solidus long sleeve tee")
21
+ products[:solidus_dark_tee] = Spree::Product.find_by!(name: "Solidus dark tee")
22
+ products[:solidus_canvas_tote] = Spree::Product.find_by!(name: "Solidus canvas tote bag")
23
+ products[:solidus_cap] = Spree::Product.find_by!(name: "Solidus cap")
24
+
25
+ def image(name, type = "png")
24
26
  images_path = Pathname.new(File.dirname(__FILE__)) + "images"
25
27
  path = images_path + "#{name}.#{type}"
26
28
 
@@ -30,91 +32,86 @@ image = ->(name, type = "jpg") do
30
32
  end
31
33
 
32
34
  images = {
33
- products[:solidus_snapback_cap].master => [
35
+ products[:solidus_bottles].master => [
36
+ {
37
+ attachment: image("solidus_bottles_1")
38
+ },
39
+ {
40
+ attachment: image("solidus_bottles_2")
41
+ }
42
+ ],
43
+ products[:solidus_tote].master => [
34
44
  {
35
- attachment: image["solidus_snapback_cap"]
45
+ attachment: image("solidus_tote")
36
46
  }
37
47
  ],
38
48
  products[:solidus_hoodie].master => [
39
49
  {
40
- attachment: image["solidus_hoodie"]
50
+ attachment: image("solidus_hoodie_black_1")
41
51
  }
42
52
  ],
43
- products[:ruby_hoodie].master => [
53
+ products[:solidus_hat].master => [
44
54
  {
45
- attachment: image["ruby_hoodie"]
55
+ attachment: image("solidus_hat")
46
56
  }
47
57
  ],
48
- products[:ruby_hoodie_zip].master => [
58
+ products[:solidus_sticker].master => [
49
59
  {
50
- attachment: image["ruby_hoodie_zip"]
60
+ attachment: image("solidus_sticker")
51
61
  }
52
62
  ],
53
- products[:ruby_polo].master => [
63
+ products[:solidus_mug_set].master => [
54
64
  {
55
- attachment: image["ruby_polo"]
56
- },
65
+ attachment: image("solidus_mug_set")
66
+ }
67
+ ],
68
+ products[:solidus_notebook].master => [
57
69
  {
58
- attachment: image["ruby_polo_back"]
70
+ attachment: image("solidus_notebook")
59
71
  }
60
72
  ],
61
- products[:solidus_mug].master => [
73
+ products[:solidus_tshirt].master => [
62
74
  {
63
- attachment: image["solidus_mug"]
75
+ attachment: image("solidus_tshirt")
64
76
  }
65
77
  ],
66
- products[:ruby_mug].master => [
78
+ products[:solidus_long_sleeve_tee].master => [
67
79
  {
68
- attachment: image["ruby_mug"]
80
+ attachment: image("solidus_long_sleeve_tee")
69
81
  }
70
82
  ],
71
- products[:solidus_tote].master => [
83
+ products[:solidus_dark_tee].master => [
72
84
  {
73
- attachment: image["tote_bag_solidus"]
85
+ attachment: image("solidus_dark_tee")
74
86
  }
75
87
  ],
76
- products[:ruby_tote].master => [
88
+ products[:solidus_canvas_tote].master => [
77
89
  {
78
- attachment: image["tote_bag_ruby"]
90
+ attachment: image("solidus_canvas_tote")
79
91
  }
80
- ]
92
+ ],
93
+ products[:solidus_cap].master => [
94
+ {
95
+ attachment: image("solidus_cap_black_1")
96
+ }
97
+ ],
81
98
  }
82
99
 
83
- products[:solidus_tshirt].variants.each do |variant|
84
- color = variant.option_value("clothing-color").downcase
85
- main_image = image["solidus_tshirt_#{color}", "jpg"]
86
- File.open(main_image) do |f|
87
- variant.images.create!(attachment: f)
88
- end
89
- back_image = image["solidus_tshirt_back_#{color}", "jpg"]
90
-
91
- next unless back_image
92
-
93
- File.open(back_image) do |f|
94
- variant.images.create!(attachment: f)
95
- end
96
- end
97
-
98
- products[:solidus_long].variants.each do |variant|
99
- color = variant.option_value("clothing-color").downcase
100
- main_image = image["solidus_long_#{color}", "jpg"]
101
- File.open(main_image) do |f|
102
- variant.images.create!(attachment: f)
103
- end
104
- back_image = image["solidus_long_back_#{color}", "jpg"]
100
+ products.each do |key, product|
101
+ product.reload.variants.each do |variant|
102
+ color = variant.option_value("clothing-color").downcase
103
+ index = 1
105
104
 
106
- next unless back_image
105
+ loop do
106
+ image_path = image("#{key}_#{color}_#{index}", 'png')
107
+ break unless image_path
107
108
 
108
- File.open(back_image) do |f|
109
- variant.images.create!(attachment: f)
110
- end
111
- end
109
+ File.open(image_path) do |f|
110
+ variant.images.create!(attachment: f)
111
+ end
112
112
 
113
- products[:solidus_womens_tshirt].reload.variants.each do |variant|
114
- color = variant.option_value("clothing-color").downcase
115
- main_image = image["solidus_womens_tshirt_#{color}", "jpg"]
116
- File.open(main_image) do |f|
117
- variant.images.create!(attachment: f)
113
+ index += 1
114
+ end
118
115
  end
119
116
  end
120
117
 
Binary file
Binary file
@@ -30,18 +30,6 @@ Spree::OptionValue.create!([
30
30
  position: 4,
31
31
  option_type: size
32
32
  },
33
- {
34
- name: "Red",
35
- presentation: "Red",
36
- position: 5,
37
- option_type: color
38
- },
39
- {
40
- name: "Green",
41
- presentation: "Green",
42
- position: 4,
43
- option_type: color
44
- },
45
33
  {
46
34
  name: "Black",
47
35
  presentation: "Black",
@@ -49,8 +37,8 @@ Spree::OptionValue.create!([
49
37
  option_type: color
50
38
  },
51
39
  {
52
- name: "White",
53
- presentation: "White",
40
+ name: "Gray",
41
+ presentation: "Gray",
54
42
  position: 2,
55
43
  option_type: color
56
44
  },
@@ -59,5 +47,11 @@ Spree::OptionValue.create!([
59
47
  presentation: "Blue",
60
48
  position: 3,
61
49
  option_type: color
62
- }
50
+ },
51
+ {
52
+ name: "Red",
53
+ presentation: "Red",
54
+ position: 4,
55
+ option_type: color
56
+ },
63
57
  ])
data/db/samples/orders.rb CHANGED
@@ -7,34 +7,35 @@ payment_method = Spree::PaymentMethod::Check.first!
7
7
  store = Spree::Store.first!
8
8
 
9
9
  orders = []
10
+
10
11
  orders << Spree::Order.create!(
11
12
  number: "R123456789",
12
- email: "solidus@example.com",
13
+ email: "spree@example.com",
13
14
  item_total: 150.95,
14
15
  adjustment_total: 150.95,
15
16
  total: 301.90,
16
- shipping_address: Spree::Address.first,
17
- billing_address: Spree::Address.last
17
+ ship_address: Spree::Address.first,
18
+ bill_address: Spree::Address.last
18
19
  )
19
20
 
20
21
  orders << Spree::Order.create!(
21
22
  number: "R987654321",
22
- email: "solidus@example.com",
23
+ email: "spree@example.com",
23
24
  item_total: 15.95,
24
25
  adjustment_total: 15.95,
25
26
  total: 31.90,
26
- shipping_address: Spree::Address.first,
27
- billing_address: Spree::Address.last
27
+ ship_address: Spree::Address.first,
28
+ bill_address: Spree::Address.last
28
29
  )
29
30
 
30
31
  orders[0].line_items.create!(
31
- variant: Spree::Product.find_by!(name: "Solidus Tote").master,
32
+ variant: Spree::Product.find_by!(name: "Solidus Water Bottle").master,
32
33
  quantity: 1,
33
34
  price: 15.99
34
35
  )
35
36
 
36
37
  orders[1].line_items.create!(
37
- variant: Spree::Product.find_by!(name: "Solidus Snapback Cap").master,
38
+ variant: Spree::Product.find_by!(name: "Solidus cap").master,
38
39
  quantity: 1,
39
40
  price: 22.99
40
41
  )
@@ -5,12 +5,12 @@ Spree::Sample.load_sample("products")
5
5
  size = Spree::OptionType.find_by!(presentation: "Size")
6
6
  color = Spree::OptionType.find_by!(presentation: "Color")
7
7
 
8
- colored_clothes = [
9
- "Solidus T-Shirt", "Solidus Long Sleeve", "Solidus Women's T-Shirt"
10
- ]
8
+ solidus_cap = Spree::Product.find_by!(name: "Solidus cap")
11
9
 
12
- Spree::Product.all.find_each do |product|
13
- product.option_types = [size]
14
- product.option_types << color if colored_clothes.include?(product.name)
15
- product.save!
16
- end
10
+ solidus_cap.option_types = [size, color]
11
+ solidus_cap.save!
12
+
13
+ solidus_hoodie = Spree::Product.find_by!(name: "Solidus hoodie")
14
+
15
+ solidus_hoodie.option_types = [size, color]
16
+ solidus_hoodie.save!
@@ -2,50 +2,50 @@
2
2
 
3
3
  products =
4
4
  {
5
- "Solidus Tote" =>
5
+ "Solidus tote" =>
6
6
  {
7
7
  "Type" => "Tote",
8
8
  "Size" => %{15" x 18" x 6"},
9
9
  "Material" => "Canvas"
10
10
  },
11
- "Ruby Tote" =>
11
+ "Solidus canvas tote bag" =>
12
12
  {
13
13
  "Type" => "Tote",
14
14
  "Size" => %{15" x 18" x 6"},
15
15
  "Material" => "Canvas"
16
16
  },
17
- "Solidus Snapback Cap" =>
17
+ "Solidus cap" =>
18
18
  {
19
- "Type" => "Snapback Cap",
19
+ "Type" => "Cap",
20
20
  "Size" => "One Size",
21
21
  "Material" => "100% Cotton"
22
22
  },
23
- "Solidus T-Shirt" =>
23
+ "Solidus dark tee" =>
24
24
  {
25
25
  "Manufacturer" => "Jerseys",
26
- "Brand" => "Conditioned",
26
+ "Brand" => "Solidus",
27
27
  "Model" => "TL9002",
28
28
  "Shirt Type" => "Ringer T",
29
29
  "Sleeve Type" => "Short",
30
30
  "Made from" => "100% Cotton",
31
31
  "Fit" => "Loose",
32
- "Gender" => "Men's"
32
+ "Gender" => "Unisex"
33
33
  },
34
- "Solidus Long Sleeve" =>
34
+ "Solidus t-shirt" =>
35
35
  {
36
36
  "Manufacturer" => "Wilson",
37
- "Brand" => "Wannabe Sports",
37
+ "Brand" => "Solidus",
38
38
  "Model" => "TL9002",
39
39
  "Shirt Type" => "Jersey",
40
40
  "Sleeve Type" => "Long",
41
41
  "Made from" => "100% cotton",
42
42
  "Fit" => "Loose",
43
- "Gender" => "Men's"
43
+ "Gender" => "Unisex"
44
44
  },
45
- "Solidus Hoodie Zip" =>
45
+ "Solidus hoodie" =>
46
46
  {
47
47
  "Manufacturer" => "Jerseys",
48
- "Brand" => "Wannabe Sports",
48
+ "Brand" => "Solidus",
49
49
  "Model" => "HD9001",
50
50
  "Shirt Type" => "Jersey",
51
51
  "Sleeve Type" => "Long",
@@ -53,10 +53,10 @@ products =
53
53
  "Fit" => "Loose",
54
54
  "Gender" => "Unisex"
55
55
  },
56
- "Ruby Hoodie" =>
56
+ "Solidus long sleeve tee" =>
57
57
  {
58
58
  "Manufacturer" => "Wilson",
59
- "Brand" => "Resiliance",
59
+ "Brand" => "Solidus",
60
60
  "Model" => "HD2001",
61
61
  "Shirt Type" => "Baseball",
62
62
  "Sleeve Type" => "Long",
@@ -64,48 +64,10 @@ products =
64
64
  "Fit" => "Loose",
65
65
  "Gender" => "Unisex"
66
66
  },
67
- "Ruby Hoodie Zip" =>
67
+ "Solidus Water Bottle" =>
68
68
  {
69
- "Manufacturer" => "Jerseys",
70
- "Brand" => "Wannabe Sports",
71
- "Model" => "HD9001",
72
- "Shirt Type" => "Jersey",
73
- "Sleeve Type" => "Long",
74
- "Made from" => "100% cotton",
75
- "Fit" => "Loose",
76
- "Gender" => "Unisex"
77
- },
78
- "Ruby Polo" =>
79
- {
80
- "Manufacturer" => "Wilson",
81
- "Brand" => "Resiliance",
82
- "Model" => "PL9001",
83
- "Shirt Type" => "Ringer T",
84
- "Sleeve Type" => "Short",
85
- "Made from" => "100% Cotton",
86
- "Fit" => "Slim",
87
- "Gender" => "Men's"
88
- },
89
- "Solidus Mug" =>
90
- {
91
- "Type" => "Mug",
92
- "Size" => %{4.5" tall, 3.25" dia.}
93
- },
94
- "Ruby Mug" =>
95
- {
96
- "Type" => "Mug",
69
+ "Type" => "Insulated Water Bottle",
97
70
  "Size" => %{4.5" tall, 3.25" dia.}
98
- },
99
- "Solidus Women's T-Shirt" =>
100
- {
101
- "Manufacturer" => "Jerseys",
102
- "Brand" => "Conditioned",
103
- "Model" => "WM6001",
104
- "Shirt Type" => "Skinny",
105
- "Sleeve Type" => "Short",
106
- "Made from" => "90% Cotton, 10% Nylon",
107
- "Fit" => "Slim",
108
- "Gender" => "Women's"
109
71
  }
110
72
  }
111
73
 
@@ -22,7 +22,7 @@ default_attrs = {
22
22
 
23
23
  products = [
24
24
  {
25
- name: "Solidus T-Shirt",
25
+ name: "Solidus Water Bottle",
26
26
  tax_category: tax_category,
27
27
  shipping_category: shipping_category,
28
28
  price: 19.99,
@@ -30,10 +30,10 @@ products = [
30
30
  weight: 0.5,
31
31
  height: 20,
32
32
  width: 10,
33
- depth: 5
33
+ depth: 5,
34
34
  },
35
35
  {
36
- name: "Solidus Long Sleeve",
36
+ name: "Solidus tote",
37
37
  tax_category: tax_category,
38
38
  shipping_category: shipping_category,
39
39
  price: 19.99,
@@ -41,43 +41,32 @@ products = [
41
41
  weight: 0.5,
42
42
  height: 20,
43
43
  width: 10,
44
- depth: 5
44
+ depth: 5,
45
45
  },
46
46
  {
47
- name: "Solidus Women's T-Shirt",
47
+ name: "Solidus hoodie",
48
48
  tax_category: tax_category,
49
49
  shipping_category: shipping_category,
50
- price: 19.99,
51
- eur_price: 16,
52
- weight: 0.5,
50
+ price: 29.99,
51
+ eur_price: 27,
52
+ weight: 1,
53
53
  height: 20,
54
54
  width: 10,
55
- depth: 5
55
+ depth: 5,
56
56
  },
57
57
  {
58
- name: "Solidus Snapback Cap",
58
+ name: "Solidus mug set",
59
59
  tax_category: tax_category,
60
60
  shipping_category: shipping_category,
61
- price: 15.99,
62
- eur_price: 14,
61
+ price: 19.99,
62
+ eur_price: 16,
63
63
  weight: 0.5,
64
- height: 5,
65
- width: 5,
66
- depth: 5
67
- },
68
- {
69
- name: "Solidus Hoodie Zip",
70
- tax_category: tax_category,
71
- shipping_category: shipping_category,
72
- price: 29.99,
73
- eur_price: 27,
74
- weight: 1,
75
64
  height: 20,
76
65
  width: 10,
77
66
  depth: 5
78
67
  },
79
68
  {
80
- name: "Ruby Hoodie",
69
+ name: "Solidus winter hat",
81
70
  tax_category: tax_category,
82
71
  shipping_category: shipping_category,
83
72
  price: 29.99,
@@ -88,7 +77,7 @@ products = [
88
77
  depth: 5
89
78
  },
90
79
  {
91
- name: "Ruby Hoodie Zip",
80
+ name: "Solidus circle sticker",
92
81
  tax_category: tax_category,
93
82
  shipping_category: shipping_category,
94
83
  price: 29.99,
@@ -99,7 +88,7 @@ products = [
99
88
  depth: 5
100
89
  },
101
90
  {
102
- name: "Ruby Polo",
91
+ name: "Solidus notebook",
103
92
  tax_category: tax_category,
104
93
  shipping_category: shipping_category,
105
94
  price: 26.99,
@@ -110,7 +99,7 @@ products = [
110
99
  depth: 5
111
100
  },
112
101
  {
113
- name: "Solidus Mug",
102
+ name: "Solidus t-shirt",
114
103
  tax_category: tax_category,
115
104
  shipping_category: shipping_category,
116
105
  price: 9.99,
@@ -121,18 +110,18 @@ products = [
121
110
  depth: 5
122
111
  },
123
112
  {
124
- name: "Ruby Mug",
113
+ name: "Solidus long sleeve tee",
125
114
  tax_category: tax_category,
126
115
  shipping_category: shipping_category,
127
- price: 9.99,
128
- eur_price: 7,
129
- weight: 1,
130
- height: 5,
131
- width: 5,
116
+ price: 15.99,
117
+ eur_price: 14,
118
+ weight: 0.5,
119
+ height: 20,
120
+ width: 10,
132
121
  depth: 5
133
122
  },
134
123
  {
135
- name: "Solidus Tote",
124
+ name: "Solidus dark tee",
136
125
  tax_category: tax_category,
137
126
  shipping_category: shipping_category,
138
127
  price: 15.99,
@@ -143,7 +132,7 @@ products = [
143
132
  depth: 5
144
133
  },
145
134
  {
146
- name: "Ruby Tote",
135
+ name: "Solidus canvas tote bag",
147
136
  tax_category: tax_category,
148
137
  shipping_category: shipping_category,
149
138
  price: 15.99,
@@ -152,6 +141,18 @@ products = [
152
141
  height: 20,
153
142
  width: 10,
154
143
  depth: 5
144
+ },
145
+ {
146
+ name: "Solidus cap",
147
+ description: "Step into style with our signature cap – a perfect blend of comfort and trendsetting flair. Crafted with care and designed for the fashion-forward, this cap adds an instant touch of cool to any outfit. Whether you're hitting the streets or simply seeking shade, our cap is your go-to accessory. Elevate your look today!",
148
+ tax_category: tax_category,
149
+ shipping_category: shipping_category,
150
+ price: 24,
151
+ eur_price: 22,
152
+ weight: 0.5,
153
+ height: 20,
154
+ width: 10,
155
+ depth: 5
155
156
  }
156
157
  ]
157
158