Skip to content

Item Model: item_model_bindings tax is always null #279

@dennisoderwald

Description

@dennisoderwald

When I add a cart item via a model, all fields are taken over except the tax which is always null.

I can only set the tax in this case as follows:

$model = Model::find(1);
$item = LaraCart::add($model);
$item->tax = $model->tax;

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions