Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
David Pio committed Sep 17, 2011
1 parent 267a529 commit c989019
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
5 changes: 1 addition & 4 deletions views/checkout.ejs
Expand Up @@ -79,10 +79,7 @@
</header>

<section id="guides" class="clearfix">
<div>
<% if (coupon) { %>
<h2>asddsadsa</h2>
<% } %>
<div><h1>{%= aaa %><h1/>
<h1>You just bought: <%= product.name %></h1>
<div class="image">
<img src="/images/<%= product.image %>" />
Expand Down
5 changes: 2 additions & 3 deletions web.js
Expand Up @@ -279,7 +279,7 @@ app.post('/checkout', function(request, response) {
home: method + '://' + request.headers.host + '/',
redirect: method + '://' + request.headers.host + request.url,
socket_id: socket_id,
coupon: true
aaa: JSON.stringify(result);
});
});
} else {
Expand All @@ -293,8 +293,7 @@ app.post('/checkout', function(request, response) {
product: product,
home: method + '://' + request.headers.host + '/',
redirect: method + '://' + request.headers.host + request.url,
socket_id: socket_id,
coupon: false
socket_id: socket_id
});
}
}
Expand Down

0 comments on commit c989019

Please sign in to comment.