Skip to content

Commit 7a596ef

Browse files
committed
Added new STORE_TAGLINE env variable.
1 parent 03f54ad commit 7a596ef

File tree

4 files changed

+10
-8
lines changed

4 files changed

+10
-8
lines changed

config/.env.default

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,10 @@
3030

3131
# General Configuration
3232
#######################
33-
# export STORE_URL='http://localhost'
34-
# export STORE_NAME='Advanced PHP 7 eCommerce Website'
35-
# export STORE_CURRENCY='$'
33+
export STORE_URL='https://localhost'
34+
export STORE_NAME='Advanced PHP 7 eCommerce Website'
35+
export STORE_TAGLINE='For all your eCommerce Needs.'
36+
export STORE_CURRENCY='$'
3637

3738
# Database configuration
3839
########################

config/.env.prod

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,10 @@
3030

3131
# General Configuration
3232
#######################
33-
# export STORE_URL='http://localhost'
34-
# export STORE_NAME='Advanced PHP 7 eCommerce Website'
35-
# export STORE_CURRENCY='$'
33+
export STORE_URL='https://localhost'
34+
export STORE_NAME='Advanced PHP 7 eCommerce Website'
35+
export STORE_TAGLINE='For all your eCommerce Needs.'
36+
export STORE_CURRENCY='$'
3637

3738
# Database configuration
3839
########################

index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
<div class="row">
4848
<div class="page_header text-center">
4949
<h2>Shop</h2>
50-
<p>You can order products from here</p>
50+
<p>Browse our collection of Products to find just what you are looking for.</p>
5151
</div>
5252
<div class="col-md-12">
5353
<div class="row">

single.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
<div class="row">
6868
<div class="page_header text-center">
6969
<h2>Shop</h2>
70-
<p>Tagline here...</p>
70+
<p><?php echo getenv('STORE_TAGLINE'); ?></p>
7171
</div>
7272
<div class="col-md-10 col-md-offset-1">
7373
<?php if (isset($fmsg)) {

0 commit comments

Comments
 (0)