Bulk Price Update

Hi, how would one do a bulk product price update on existing products? I did an import of existing products with new pricing but it only created duplicate products instead of updating pricing.

Hi,

I think you’d need to use the API or a tool like Zapier.

@david we should consider updating records where the key matches rather than create duplicates.

$product = Product::withTrashed()->firstOrNew(['product_key' => $item->product_key, 'company_id' => $this->invoice->company->id]);

@hillel that is the current functionality, we only create on new product_key

1 Like