updated README.md file
This commit is contained in:
@@ -50,5 +50,8 @@ You need to start both website-generator and whatsapp-bot.
|
|||||||
|
|
||||||
|
|
||||||
### Contributors
|
### Contributors
|
||||||
1. Akilan Selvacoumar : as251@hw.ac.uk
|
1. Akilan Selvacoumar: akilan@hwtech.club (https://akilan.io)
|
||||||
2. Gaurav Gosain : gg68@hw.ac.uk
|
2. Gaurav Gosain: gg68@hw.ac.uk
|
||||||
|
3. Nicole Tobe: https://github.com/tobenxe
|
||||||
|
4. Humaid AlQassimi: me@humaid.ae(https://humaidq.ae)
|
||||||
|
(Website generator based on: https://humaidq.ae/projects/shopsheet/)
|
||||||
|
|||||||
@@ -86,7 +86,7 @@
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-lg-12 text-right">
|
<div class="col-lg-12 text-right">
|
||||||
<div class="logo_container">
|
<div class="logo_container">
|
||||||
<a href="#"><img src="https://hwtech.club/images/output- <div class="favorite"></div>onlinepngtools.png" class="img-fluid" style="height:5rem;" /></a>
|
<a href="#"><img src="https://hwtech.club/images/output-onlinepngtools.png" class="img-fluid" style="height:5rem;" /></a>
|
||||||
</div>
|
</div>
|
||||||
<nav class="navbar">
|
<nav class="navbar">
|
||||||
<ul class="navbar_menu">
|
<ul class="navbar_menu">
|
||||||
@@ -289,19 +289,19 @@
|
|||||||
<script>
|
<script>
|
||||||
$(document).ready(function () {
|
$(document).ready(function () {
|
||||||
|
|
||||||
if (localStorage.getItem('Test123_49') === null) {
|
if (localStorage.getItem('Test123_50') === null) {
|
||||||
console.log("here");
|
console.log("here");
|
||||||
var arr = new Array();
|
var arr = new Array();
|
||||||
localStorage.setItem('Test123_49', JSON.stringify(arr));
|
localStorage.setItem('Test123_50', JSON.stringify(arr));
|
||||||
}
|
}
|
||||||
|
|
||||||
var arr_json = JSON.parse(localStorage.getItem('Test123_49'));
|
var arr_json = JSON.parse(localStorage.getItem('Test123_50'));
|
||||||
|
|
||||||
$("#checkout_items").html(arr_json.length);
|
$("#checkout_items").html(arr_json.length);
|
||||||
console.log(arr_json.length);
|
console.log(arr_json.length);
|
||||||
|
|
||||||
|
|
||||||
var arr_json = JSON.parse(localStorage.getItem('Test123_49'));
|
var arr_json = JSON.parse(localStorage.getItem('Test123_50'));
|
||||||
$("#table").html("");
|
$("#table").html("");
|
||||||
var receipt = "<textarea name=\"purchases\">";
|
var receipt = "<textarea name=\"purchases\">";
|
||||||
var sum = 0;
|
var sum = 0;
|
||||||
@@ -333,12 +333,12 @@
|
|||||||
|
|
||||||
function delete_item(id) {
|
function delete_item(id) {
|
||||||
$("#table").html("");
|
$("#table").html("");
|
||||||
var arr_json = JSON.parse(localStorage.getItem('Test123_49'));
|
var arr_json = JSON.parse(localStorage.getItem('Test123_50'));
|
||||||
if (id > -1) {
|
if (id > -1) {
|
||||||
arr_json.splice(id, 1);
|
arr_json.splice(id, 1);
|
||||||
}
|
}
|
||||||
console.log(id);
|
console.log(id);
|
||||||
localStorage.setItem('Test123_49', JSON.stringify(arr_json));
|
localStorage.setItem('Test123_50', JSON.stringify(arr_json));
|
||||||
console.log(arr_json.length);
|
console.log(arr_json.length);
|
||||||
var receipt = "<textarea name=\"purchases\">";
|
var receipt = "<textarea name=\"purchases\">";
|
||||||
var sum = 0;
|
var sum = 0;
|
||||||
|
|||||||
@@ -89,7 +89,7 @@
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-lg-12 text-right">
|
<div class="col-lg-12 text-right">
|
||||||
<div class="logo_container">
|
<div class="logo_container">
|
||||||
<a href="#"><img src="https://hwtech.club/images/output- <div class="favorite"></div>onlinepngtools.png" class="img-fluid" style="height:5rem;" /></a>
|
<a href="#"><img src="https://hwtech.club/images/output-onlinepngtools.png" class="img-fluid" style="height:5rem;" /></a>
|
||||||
</div>
|
</div>
|
||||||
<nav class="navbar">
|
<nav class="navbar">
|
||||||
<ul class="navbar_menu">
|
<ul class="navbar_menu">
|
||||||
@@ -291,13 +291,13 @@
|
|||||||
<script>
|
<script>
|
||||||
$(document).ready(function () {
|
$(document).ready(function () {
|
||||||
|
|
||||||
if (localStorage.getItem('Test123_49') === null) {
|
if (localStorage.getItem('Test123_50') === null) {
|
||||||
console.log("here");
|
console.log("here");
|
||||||
var arr = new Array();
|
var arr = new Array();
|
||||||
localStorage.setItem('Test123_49', JSON.stringify(arr));
|
localStorage.setItem('Test123_50', JSON.stringify(arr));
|
||||||
}
|
}
|
||||||
|
|
||||||
var arr_json = JSON.parse(localStorage.getItem('Test123_49'));
|
var arr_json = JSON.parse(localStorage.getItem('Test123_50'));
|
||||||
|
|
||||||
$("#checkout_items").html(arr_json.length);
|
$("#checkout_items").html(arr_json.length);
|
||||||
console.log(arr_json.length);
|
console.log(arr_json.length);
|
||||||
|
|||||||
@@ -87,7 +87,7 @@
|
|||||||
<div class="col-lg-12 text-right">
|
<div class="col-lg-12 text-right">
|
||||||
<div class="logo_container">
|
<div class="logo_container">
|
||||||
<a href="#"><img
|
<a href="#"><img
|
||||||
src="https://hwtech.club/images/output- <div class="favorite"></div>onlinepngtools.png"
|
src="https://hwtech.club/images/output-onlinepngtools.png"
|
||||||
class="img-fluid" style="height:5rem;" /></a>
|
class="img-fluid" style="height:5rem;" /></a>
|
||||||
</div>
|
</div>
|
||||||
<nav class="navbar">
|
<nav class="navbar">
|
||||||
@@ -145,9 +145,7 @@
|
|||||||
<div class="col text-center">
|
<div class="col text-center">
|
||||||
<div class="section_title new_arrivals_title">
|
<div class="section_title new_arrivals_title">
|
||||||
<h2>Our Products</h2>
|
<h2>Our Products</h2>
|
||||||
<p>test <li class="grid_sorting_button button d-flex flex-column justify-content-center align-items-center" data-filter=".women">women's</li>
|
<p>Loldfsdf sdfsdsdsfsd sd fsdrs d sdf </p>
|
||||||
<li class="grid_sorting_button button d-flex flex-column justify-content-center align-items-center" data-filter=".accessories">accessories</li>
|
|
||||||
<li class="grid_sorting_button button d-flex flex-column justify-content-center align-items-center" data-filter=".men">men's</li></p>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -248,13 +246,13 @@
|
|||||||
<script>
|
<script>
|
||||||
$(document).ready(function () {
|
$(document).ready(function () {
|
||||||
|
|
||||||
if (localStorage.getItem('Test123_49') === null) {
|
if (localStorage.getItem('Test123_50') === null) {
|
||||||
console.log("here");
|
console.log("here");
|
||||||
var arr = new Array();
|
var arr = new Array();
|
||||||
localStorage.setItem('Test123_49', JSON.stringify(arr));
|
localStorage.setItem('Test123_50', JSON.stringify(arr));
|
||||||
}
|
}
|
||||||
|
|
||||||
var arr_json = JSON.parse(localStorage.getItem('Test123_49'));
|
var arr_json = JSON.parse(localStorage.getItem('Test123_50'));
|
||||||
|
|
||||||
$("#checkout_items").html(arr_json.length);
|
$("#checkout_items").html(arr_json.length);
|
||||||
console.log(arr_json.length);
|
console.log(arr_json.length);
|
||||||
@@ -263,11 +261,11 @@
|
|||||||
|
|
||||||
function additem(name, price) {
|
function additem(name, price) {
|
||||||
var data = { 'name': name, 'price': price };
|
var data = { 'name': name, 'price': price };
|
||||||
var arr_json = JSON.parse(localStorage.getItem('Test123_49'));
|
var arr_json = JSON.parse(localStorage.getItem('Test123_50'));
|
||||||
console.log(typeof (arr_json));
|
console.log(typeof (arr_json));
|
||||||
arr_json.push(data);
|
arr_json.push(data);
|
||||||
localStorage.setItem('Test123_49', JSON.stringify(arr_json));
|
localStorage.setItem('Test123_50', JSON.stringify(arr_json));
|
||||||
console.log(JSON.parse(localStorage.getItem('Test123_49')));
|
console.log(JSON.parse(localStorage.getItem('Test123_50')));
|
||||||
$('#checkout_items').html(arr_json.length);
|
$('#checkout_items').html(arr_json.length);
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user