In the Full Example of how to create a product (https://docs.lunarphp.io/core/reference/products.html#full-example) there is a reference to a field which should no longer be there because it causes an error. Is the sku field:
Lunar\Models\Product::create([
'product_type_id' => $productType->id,
'status' => 'published',
'brand_id' => $brandId,
'sku' => 'DRBOOT',
'attribute_data' => [
'name' => new TranslatedText(collect([
'en' => new Text('1460 PATENT LEATHER BOOTS'),
])),
'description' => new Text('Even more shades from our archive...'),
],
]);
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'sku' in 'field list' ...
I can make a MR with the change but first I need confirmation of this iisue and second I'm not pretty sure if a have to do the MR to the v1-docs branch or 1.x.
The documentation say this:
For documentation of new features in an upcoming release, target the main branch.
https://docs.lunarphp.io/core/contributing.html#documentation-updates
In the Full Example of how to create a product (https://docs.lunarphp.io/core/reference/products.html#full-example) there is a reference to a field which should no longer be there because it causes an error. Is the
skufield:I can make a MR with the change but first I need confirmation of this iisue and second I'm not pretty sure if a have to do the MR to the
v1-docsbranch or1.x.The documentation say this: