From cbe938b74aba2cc890e22e616de957d26b1bd5fa Mon Sep 17 00:00:00 2001 From: Mac Tavish <49161243+MacTavish-69@users.noreply.github.com> Date: Sat, 27 Dec 2025 23:03:25 +0500 Subject: [PATCH 1/2] Added notes about "name" attribute data being used internally --- 1.x/reference/products.mdx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/1.x/reference/products.mdx b/1.x/reference/products.mdx index a1f2252..6af74e0 100644 --- a/1.x/reference/products.mdx +++ b/1.x/reference/products.mdx @@ -23,6 +23,8 @@ Lunar\Models\Product::create([ ]); ``` +**Note:** Lunar internally expects and uses the ``name`` added to Product Attribute data. You must add it in attributes, and utilize it; Otherwise, Admin Panel may throw unexpected errors. + ## Customer Groups You can assign customer groups to a product, this allows you to either always have that product enabled for the customer From 202f1a955cb3561a870a30c4da83e271944a2db1 Mon Sep 17 00:00:00 2001 From: Mac Tavish <49161243+MacTavish-69@users.noreply.github.com> Date: Tue, 30 Dec 2025 22:43:00 +0500 Subject: [PATCH 2/2] Converted the added Note to "Warning" --- 1.x/reference/products.mdx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/1.x/reference/products.mdx b/1.x/reference/products.mdx index 6af74e0..2c3c438 100644 --- a/1.x/reference/products.mdx +++ b/1.x/reference/products.mdx @@ -23,7 +23,9 @@ Lunar\Models\Product::create([ ]); ``` -**Note:** Lunar internally expects and uses the ``name`` added to Product Attribute data. You must add it in attributes, and utilize it; Otherwise, Admin Panel may throw unexpected errors. + +Lunar internally expects and uses the ``name`` added to Product Attribute data. You must add it in attributes, and utilize it; Otherwise, Admin Panel may throw unexpected errors. + ## Customer Groups