Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
lukepolo opened this issue Jul 12, 2021 · 0 comments
Assignees
Milestone

Comments

@lukepolo
Copy link
Owner

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 lukepolo self-assigned this Jul 12, 2021
@lukepolo lukepolo added this to the 2.1 milestone Jul 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant