解決済み
必要なのは、次のようにモデル関数にテーブル名と列名を追加することだけでした。
public function submores()
{
return $this->belongsToMany(Submore::class, 'product_mores', 'product_id', 'submore_id');
}
また、保存機能をmoresから変更します submoresへ そのように:
$product->submores()->sync($request->submores, false);
次に、nameを変更します およびfor 私のフォームでsubmores
<label for="submores">Attributes</label>
<select class="tagsselector form-control" name="submores[]" multiple="multiple">
//// rest of the code...