How is working Add to cart section ? Please tell me
I have customized product attributes on front end and now i want to add product on cart so how can i set of cart session and also please tell me how to set cart's validation
you can check flow of add to cart process from here;
I have already checked i have print request like this "print_r(request()->all())" after this i got this response :
Array ( [is_buy_now] => 0 [_token] => wiJIemaf5rBStxjx5VNGoZJHmhnIX1IQHcP7wo9s [product_id] => 10 [quantity] => 1 [selected_configurable_option] => 11 [super_attribute] => Array (  => 1  => 6 ) )
How can i pass new key(attribute value) in this array for custome attribute ?
If you are working on core, you can merge the custom attribute value in the request, then check response again.