public function step2(Shop $shop, Product $product) { $attribute_groups = AttributeGroup::get(); return view('store.shop.product.attributes', compact('shop', 'product', 'attribute_groups'))->with(['title' => 'ویرایش محصول']); }