-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6765c47
commit 575d7f4
Showing
140 changed files
with
102 additions
and
15 deletions.
There are no files selected for viewing
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file modified
0
database/migrations/2014_10_12_100000_create_password_resets_table.php
100644 → 100755
Empty file.
Empty file modified
0
database/migrations/2016_06_01_000001_create_oauth_auth_codes_table.php
100644 → 100755
Empty file.
Empty file modified
0
database/migrations/2016_06_01_000002_create_oauth_access_tokens_table.php
100644 → 100755
Empty file.
Empty file modified
0
database/migrations/2016_06_01_000003_create_oauth_refresh_tokens_table.php
100644 → 100755
Empty file.
Empty file modified
0
database/migrations/2016_06_01_000004_create_oauth_clients_table.php
100644 → 100755
Empty file.
Empty file modified
0
database/migrations/2016_06_01_000005_create_oauth_personal_access_clients_table.php
100644 → 100755
Empty file.
Empty file modified
0
database/migrations/2019_08_19_000000_create_failed_jobs_table.php
100644 → 100755
Empty file.
Empty file modified
0
database/migrations/2019_12_14_000001_create_personal_access_tokens_table.php
100644 → 100755
Empty file.
Empty file.
Empty file modified
0
database/migrations/2023_02_02_112744_create_attribute_table.php
100644 → 100755
Empty file.
Empty file modified
0
database/migrations/2023_02_13_072237_create_category_table.php
100644 → 100755
Empty file.
Empty file modified
0
database/migrations/2023_02_24_080207_create_product_table.php
100644 → 100755
Empty file.
Empty file modified
0
database/migrations/2023_03_01_063200_create_relation_product_category_table.php
100644 → 100755
Empty file.
Empty file modified
0
database/migrations/2023_03_01_140437_create_vendor_cart_table.php
100644 → 100755
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
62 changes: 60 additions & 2 deletions
62
resources/views/vendor/about_product.blade.php
100644 → 100755
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,63 @@ | ||
@include('../include/sidebar/sidebar') | ||
<div class="container"> | ||
<div class="row product-box"> | ||
|
||
<div class="row cart-box"> | ||
</div> | ||
|
||
<div class="row add-info"> | ||
|
||
</div> | ||
</div> | ||
@include('../include/footer/footer') | ||
@include('../include/footer/footer') | ||
|
||
<script> | ||
$(window).on("load", function() { | ||
let product_id = "{{$product_id}}"; | ||
$.ajax({ | ||
url: window.location.origin + '/api/get-single-product', | ||
type: 'POST', | ||
dataType: 'json', | ||
data: { | ||
product_id: product_id | ||
}, | ||
success: function(data) { | ||
let attribute = JSON.parse(data.data[0].attribute); | ||
console.log(attribute); | ||
$('.product-box').append(` | ||
<div class="col-md-6"> | ||
<div class="card my-5"> | ||
<div class="card-body"> | ||
<img src="/${data.data[0].product_image}" height="200px" width="100%" alt=""> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="col-md-6"> | ||
<div class="mx-5"> | ||
<h2 class="mt-5">${data.data[0].product_name}</h2> | ||
<s>Rs.${data.data[0].regular_price}</s> | ||
<span class="mx-4">Rs.${data.data[0].vendor_price}</span> | ||
<div> | ||
<div> | ||
<label class="h6" for="">Quantity</label> | ||
</div> | ||
<div> | ||
<input min="1" value="1" class="text-center form-control w-50" type="number"> | ||
</div> | ||
<div class="my-4"> | ||
<button class="btn bg-custome text-white my-2">Add To Cart</button> | ||
<button class="btn bg-custome mx-lg-4 my-2 text-white">Process to Checkout</button> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
`); | ||
$('.add-info').append(`<div class="col-lg-10"> <div class="card"><h6 class="mx-4 my-2">Addition Information</h6><table class="cat-class"><tr><th scope="row">Category</th><td>${data.data[0].category}</td></tr>`); | ||
Object.entries(attribute).forEach(([key, value]) => { | ||
$('.cat-class').append(`<tr> <th scope="row">${key}</th> <td>${value}</td> </tr> </table></div></div>`) | ||
}) | ||
} | ||
}) | ||
}); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.