You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@lukepolo Thanks Luke. I had already looked at the whole thing yesterday and tried to understand but could not find the bug. I'll take another look today, though.
'item_model_bindings' => [
\LukePOLO\LaraCart\CartItem::ITEM_ID => 'id',
\LukePOLO\LaraCart\CartItem::ITEM_NAME => 'name',
\LukePOLO\LaraCart\CartItem::ITEM_PRICE => 'price',
\LukePOLO\LaraCart\CartItem::ITEM_TAXABLE => 'taxable',
\LukePOLO\LaraCart\CartItem::ITEM_OPTIONS => [
// put columns here for additional options,
// these will be merged with options that are passed in
// e.x
// tax => .07
],
],
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:
The text was updated successfully, but these errors were encountered: