laracart icon indicating copy to clipboard operation
laracart copied to clipboard

Using Model relations , adding a new item it should use its options to override whats coming from the DB

Open lukepolo opened this issue 3 years ago • 0 comments

For example

LaraCart::add(
            'itemID',
            'Testing Item',
            $qty,
            $price,
            $options,
            $taxable
        );

should search the DB, then options should override any of the set defaults from the DB.

lukepolo avatar Jul 12 '21 14:07 lukepolo