diff --git a/themes/default/account/wishlist.blade.php b/themes/default/account/wishlist.blade.php new file mode 100644 index 00000000..634945a1 --- /dev/null +++ b/themes/default/account/wishlist.blade.php @@ -0,0 +1,41 @@ +@extends('layout.master') + +@section('body-class', 'page-account-wishlist') + +@section('content') +
+ + +
+ + +
+ +
+
+
+@endsection diff --git a/themes/default/layout/header.blade.php b/themes/default/layout/header.blade.php index e2b9fa4f..ba3e73a9 100644 --- a/themes/default/layout/header.blade.php +++ b/themes/default/layout/header.blade.php @@ -63,7 +63,7 @@
- +
@@ -123,10 +123,6 @@ - - @endsection @push('add-scripts') @@ -243,6 +239,12 @@ }) }); }, + + addWishlist() { + $http.post('wishlist', {product_id: this.product.id}).then((res) => { + layer.msg(res.message) + }) + }, } })