Refactored SASS and addingToCart.php to the correct folders
This commit is contained in:
parent
916892fa1e
commit
d5b349342a
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
include '../php/connection.php';
|
||||
include 'connection.php';
|
||||
$conn = connectMysql();
|
||||
session_start();
|
||||
$product_id = $_GET['product_id'];
|
||||
@ -32,5 +32,5 @@ if($_GET[clear]=="yes"){
|
||||
|
||||
$_SESSION['mycar'] = $mycar;
|
||||
|
||||
header('location: cart.php');
|
||||
header('location: ../shopping/cart.php');
|
||||
?>
|
||||
@ -42,7 +42,7 @@
|
||||
<div class="col-sm-12">
|
||||
<section class="shopping_productDetails">
|
||||
<h1><?=$product['Product_Name']?></h1>
|
||||
<form action="addingToCart.php" method="get">
|
||||
<form action="../php/addingToCart.php" method="get">
|
||||
|
||||
<img src="../img/<?= $product['Product_Img'];?>" style="width: 300px; height: 100%; padding:10px; border: 1px solid black;">
|
||||
<h2 style="font-size: 40px;text-transform: uppercase; "></h2>
|
||||
|
||||
@ -1,10 +1,5 @@
|
||||
@import "button"
|
||||
@import "modal"
|
||||
@import "video"
|
||||
@import "navbar"
|
||||
@import "sectionMain"
|
||||
@import "sectionMenu"
|
||||
@import "sectionSource"
|
||||
@import "sectionDocumentation"
|
||||
@import "sectionShopping"
|
||||
@import "index/index-dir"
|
||||
@import "shopping/shopping-dir"
|
||||
5
style/modules/index/_index-dir.sass
Normal file
5
style/modules/index/_index-dir.sass
Normal file
@ -0,0 +1,5 @@
|
||||
@import "navbar"
|
||||
@import "sectionMain"
|
||||
@import "sectionMenu"
|
||||
@import "sectionSource"
|
||||
@import "sectionDocumentation"
|
||||
@ -1,3 +1,4 @@
|
||||
@import "sectionShopping"
|
||||
@import "navbar_shopping"
|
||||
@import "footer"
|
||||
@import "cart"
|
||||
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user