<?php
require 'vendor/autoload.php';
$app = require_once 'bootstrap/app.php';
$kernel = $app->make(Illuminate\Contracts\Console\Kernel::class);
$kernel->bootstrap();

$product = \App\Models\Product::where('name', 'like', '%Mariom%')->first();
if ($product) {
    $product->cost_price = 700.00;
    $product->save();
    echo "Updated Mariom Dates cost_price to 700.00\n";
    echo "New Reseller Price: " . $product->reseller_price . "\n";
}
