aa
This commit is contained in:
@@ -26,9 +26,9 @@ class TestPaoController extends Controller
|
||||
public function getProductBySku($sku)
|
||||
{
|
||||
echo "getProductBySku:" . $sku;
|
||||
$product = Product::where('sku', $sku)->first();
|
||||
/*
|
||||
// Estrai il prodotto utilizzando il codice SKU
|
||||
$product = Product::where('sku', $sku)->first();
|
||||
|
||||
if ($product) {
|
||||
// Ritorna il prodotto trovato come JSON
|
||||
|
||||
Reference in New Issue
Block a user