Skip to content

Conversation

@HrishikeshThakkar-github
Copy link
Owner

No description provided.

…ser retention along the session and exiting after logout in the auth folder
…ser retention along the session and exiting after logout in the auth folder(update-1)
…oduct in header total cart amount and update and ddeletion of products in cart
…of cart items once the payment is successfull)
… once the payment is done and along with that changing the status to payment completed
…ed with designing and fetching of orders categories and products
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

format this file and all other files.

@@ -0,0 +1,190 @@
<?php
session_start();
define("freshcery", "http://freshcery");
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use proper naming conventions. Constants must be uppercase.
https://www.php.net/manual/en/language.constants.php

<div class="card-body">
<h5 class="card-title">Products</h5>
<!-- <h6 class="card-subtitle mb-2 text-muted">Bootstrap 4.0.0 Snippet by pradeep330</h6> -->
<p class="card-text">number of products: <?php echo $_SESSION['product_count']?></p>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment on lines +11 to +16
$image = $_FILES['image']['name'];
$image_tmp = $_FILES['image']['tmp_name'];
$upload_dir = "../../assets/img/";

if (!empty($image)) {
move_uploaded_file($image_tmp, $upload_dir . $image);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this may cause issue when 2 images with same name are uploaded.

@@ -0,0 +1,61 @@
<?php
include '../../configration/db.config.php';
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be require. as without connection our project will have lots of errors.

Comment on lines 54 to 57




Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove this

Comment on lines 106 to 108
<script type="text/javascript">

</script>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

?

</div>
<div class="modal-footer">
<input type="submit" class="btn btn-success" name="add_student" value="ADD">
<a href="<?php //echo freshcery; ?>/admin-panel/products.php" class="btn btn-danger" data-bs-dismiss="modal">Close</a>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is URL commented?

…s the admin panel added link beautification fixed bugs in admin panel resolved comments of extra code, and applied shorthand notation
…he payment and also sent more metadata to stripe also added email functionality
…using vendors stripe ,completed with mail-feature -> sending mail to the buyer along with details,made changes in the product details page
…using vendors stripe ,completed with mail-feature -> sending mail to the buyer along with details,made changes in the product details page
…using vendors stripe ,completed with mail-feature -> sending mail to the buyer along with details,made changes in the product details page
…using vendors stripe ,completed with mail-feature -> sending mail to the buyer along with details,made changes in the product details page
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants