skip to Main Content

Laravel PHP get value in array – Shopify

I have this array called "images" array:6 [▼ 0 => {#371 ▼ +"id": 15175604535432 +"product_id": 4673356234888 +"position": 1 +"created_at": "2020-03-10T16:52:33-04:00" +"updated_at": "2020-03-10T16:52:33-04:00" +"alt": null +"width": 800 +"height": 800 +"src": "https://cdn.shopify.com/s/files/1/0335/4175/0920/products/product-image-1294465746.jpg?v=1583873553" +"variant_ids": [] +"admin_graphql_api_id": "gid://shopify/ProductImage/15175604535432" } 1 => {#372 ▶} 2…

VIEW QUESTION

Jquery ajax – Render a view with errors and input that can be returned to AJAX

I have a basic form that collects user information (name, surname, etc) An example of one input field: <div class="form-group"> <label for="name">Name</label> <input type="text" class="form-control" id="name" name="name" value="{{ old('name', $user->name) }}"> @if ($errors->has('name')) <span class="help-block"> <strong>{{ $errors->first('name') }}</strong> </span> @endif…

VIEW QUESTION
Back To Top
Search