Change the Look of Phoenix - can you click here and there?
- burt
- Core Team
- Posts: 4550
- Joined: Tue Oct 29, 2019 9:37 am
- Phoenix Version: v1.1.0.8
- : Buy Me A Beverage
- Has thanked: 252 times
- Been thanked: 412 times
Re: Change the Look of Phoenix - can you click here and there?
Product Page #4
Now we have centered the name and price, the review stars and add your review text look out of place.
How about we also center this `***** | add your review`, and place it just above our new tabs?
Admin > Modules > Content > {product_info: Review Stars/Link}
Change Content Container to col-12 text-center
Change Sort Order to a a number a bit lower your Sort Order for Product Tabs.
Results in
Great!
Now we have centered the name and price, the review stars and add your review text look out of place.
How about we also center this `***** | add your review`, and place it just above our new tabs?
Admin > Modules > Content > {product_info: Review Stars/Link}
Change Content Container to col-12 text-center
Change Sort Order to a a number a bit lower your Sort Order for Product Tabs.
Results in
Great!
You do not have the required permissions to view the files attached to this post.
I am not here to build for you.
I am here to build with you. Let's help each other.
I am here to build with you. Let's help each other.
- burt
- Core Team
- Posts: 4550
- Joined: Tue Oct 29, 2019 9:37 am
- Phoenix Version: v1.1.0.8
- : Buy Me A Beverage
- Has thanked: 252 times
- Been thanked: 412 times
Re: Change the Look of Phoenix - can you click here and there?
Product Page #5
This area of the Product Page, we have not yet played with.
This area is a special area of product_info that is known as the `π` PI layout.
I'm more or less happy with this, but let's just do some minor adjustments;
1. Put the Quantity Input box and the Button on the same line.
2. Change the Green button to a Blue Button
For #1
1a. At Admin > Modules > Layout > {product_info: Quantity Input}
Change Content Container to col-sm-6 mb-2
1b. At Admin > Modules > Layout > {product_info: Buy Button}
Change Content Container to col-sm-6 mb-2
For #2
As this is appearance...
COPY /includes/modules/pi/product_info/templates/tpl_pi_buy_button.php TO /templates/override/includes/modules/pi/product_info/tpl_pi_buy_button.php
And amend this new file appropriately.
Button Colors available: https://getbootstrap.com/docs/5.3/compo ... /#variants
Results in
This area of the Product Page, we have not yet played with.
This area is a special area of product_info that is known as the `π` PI layout.
I'm more or less happy with this, but let's just do some minor adjustments;
1. Put the Quantity Input box and the Button on the same line.
2. Change the Green button to a Blue Button
For #1
1a. At Admin > Modules > Layout > {product_info: Quantity Input}
Change Content Container to col-sm-6 mb-2
1b. At Admin > Modules > Layout > {product_info: Buy Button}
Change Content Container to col-sm-6 mb-2
For #2
As this is appearance...
COPY /includes/modules/pi/product_info/templates/tpl_pi_buy_button.php TO /templates/override/includes/modules/pi/product_info/tpl_pi_buy_button.php
And amend this new file appropriately.
Button Colors available: https://getbootstrap.com/docs/5.3/compo ... /#variants
Code: Select all
I changed `btn-success` to `btn-primary`You do not have the required permissions to view the files attached to this post.
I am not here to build for you.
I am here to build with you. Let's help each other.
I am here to build with you. Let's help each other.
- burt
- Core Team
- Posts: 4550
- Joined: Tue Oct 29, 2019 9:37 am
- Phoenix Version: v1.1.0.8
- : Buy Me A Beverage
- Has thanked: 252 times
- Been thanked: 412 times
Re: Change the Look of Phoenix - can you click here and there?
While we are working in this area, shall we change the shopping cart icon to a shopping bag icon?
Maybe a bag looks more `gentle` and less `in your face` than a cart?
I don't know, but I notice many site using a `bag`.
In the same file [ templates/override/includes/modules/pi/product_info/tpl_pi_buy_button.php ], change the icon!
Options?
a. Revert to a Shopping Cart Icon
b. Change the Text of the Button
Let's go Option B. As this is a text change, we know we should use the Language Explorer to copy the relevant language file so that we can then edit it. At Admin > Tools > Language Explorer, copy the relevant file, in this case
english > modules > pi > product_info :: pi_buy_button.php and amend the new file appropriately.
Sweet!
We will be revisiting this area when we add in some "Eye Candy" later on in the Project.
Maybe a bag looks more `gentle` and less `in your face` than a cart?
I don't know, but I notice many site using a `bag`.
In the same file [ templates/override/includes/modules/pi/product_info/tpl_pi_buy_button.php ], change the icon!
I notice that the text of the Button still reads "Add to Cart" which doesn't go with the Bag Icon idea.I changed `fa-shopping-cart` to `fa-bag-shopping`
Options?
a. Revert to a Shopping Cart Icon
b. Change the Text of the Button
Let's go Option B. As this is a text change, we know we should use the Language Explorer to copy the relevant language file so that we can then edit it. At Admin > Tools > Language Explorer, copy the relevant file, in this case
english > modules > pi > product_info :: pi_buy_button.php and amend the new file appropriately.
Results InI simply changed `Add To Cart` to `Add To Bag`
Sweet!
We will be revisiting this area when we add in some "Eye Candy" later on in the Project.
You do not have the required permissions to view the files attached to this post.
I am not here to build for you.
I am here to build with you. Let's help each other.
I am here to build with you. Let's help each other.
- burt
- Core Team
- Posts: 4550
- Joined: Tue Oct 29, 2019 9:37 am
- Phoenix Version: v1.1.0.8
- : Buy Me A Beverage
- Has thanked: 252 times
- Been thanked: 412 times
Re: Change the Look of Phoenix - can you click here and there?
With that "Bag" change, I realise that we to make similar changes in the Header area:
These will be language changes only, but over two files. I don't remember why these are over two files (they could easily be in one file), so that might change in the next release. In any case, using Admin > Tools > Language Explorer;
1. Copy the main english.php language file
amend the file appropriately, taking care;
I changed:
2. Copy the nb_shopping_cart.php file
amend the file appropriately
I changed:
While in this Area, I took inspo from a FREE addon uploaded to the Members Area by @heatherbell - TYVM - viewtopic.php?f=28&t=2826
and now the navbar has a bottom shadow when the user scrolls. A nice bit of Eye Candy.
Anyway, the icon is changed and the shadow is in place when scrolling;
These will be language changes only, but over two files. I don't remember why these are over two files (they could easily be in one file), so that might change in the next release. In any case, using Admin > Tools > Language Explorer;
1. Copy the main english.php language file
amend the file appropriately, taking care;
I changed:
Code: Select all
// added BS5 template
const NAVBAR_ICON_CART_CONTENTS = '<span class="position-relative%2$s">
<i title="Shopping Bag: %1$s item(s) in your Bag" class="fas fa-bag-shopping fa-fw fa-xl"></i>
<span class="position-absolute top-0 start-100 translate-middle badge rounded-pill bg-primary border">
<span class="cart-count">%1$s</span>
</span>
</span>';
amend the file appropriately
I changed:
Code: Select all
const MODULE_NAVBAR_SHOPPING_CART_NO_CONTENTS = '<i class="fas fa-bag-shopping fa-fw"></i> 0 items';
const MODULE_NAVBAR_SHOPPING_CART_VIEW_CART = '<i class="fas fa-eye fa-fw"></i> View Your Bag';
and now the navbar has a bottom shadow when the user scrolls. A nice bit of Eye Candy.
Anyway, the icon is changed and the shadow is in place when scrolling;
You do not have the required permissions to view the files attached to this post.
I am not here to build for you.
I am here to build with you. Let's help each other.
I am here to build with you. Let's help each other.
- burt
- Core Team
- Posts: 4550
- Joined: Tue Oct 29, 2019 9:37 am
- Phoenix Version: v1.1.0.8
- : Buy Me A Beverage
- Has thanked: 252 times
- Been thanked: 412 times
Re: Change the Look of Phoenix - can you click here and there?
More tomorrow.
Bookmark this thread, and please share it if you're on any socials.
Bookmark this thread, and please share it if you're on any socials.
I am not here to build for you.
I am here to build with you. Let's help each other.
I am here to build with you. Let's help each other.
- burt
- Core Team
- Posts: 4550
- Joined: Tue Oct 29, 2019 9:37 am
- Phoenix Version: v1.1.0.8
- : Buy Me A Beverage
- Has thanked: 252 times
- Been thanked: 412 times
Re: Change the Look of Phoenix - can you click here and there?
Let's add a nice addon that has something in the Navbar and something in the Product Page.
Wishlist/Favourites
app.php/tag/s07e01
Download the addon and upload it ready to be installed.
Follow the easy installation instructions.
1. Install the Navbar Wishlist Icon at Admin > Modules > Navbar
2. Install the PI Layout module at Admin > Modules > Layout
Within 2 minutes...your site has a fully functional `save to favourites` system.
Wishlist/Favourites
app.php/tag/s07e01
Download the addon and upload it ready to be installed.
Follow the easy installation instructions.
1. Install the Navbar Wishlist Icon at Admin > Modules > Navbar
2. Install the PI Layout module at Admin > Modules > Layout
Within 2 minutes...your site has a fully functional `save to favourites` system.
You do not have the required permissions to view the files attached to this post.
I am not here to build for you.
I am here to build with you. Let's help each other.
I am here to build with you. Let's help each other.
- burt
- Core Team
- Posts: 4550
- Joined: Tue Oct 29, 2019 9:37 am
- Phoenix Version: v1.1.0.8
- : Buy Me A Beverage
- Has thanked: 252 times
- Been thanked: 412 times
Re: Change the Look of Phoenix - can you click here and there?
Shall we have a look at Index, when looking at a Category that has products. Out of the Box, it looks like this:
Ideas
1. Put the Name and the Description side by side
2. Make the description a bit more pretty
3. Make the boxes do something when they are hovered over
Ideas
1. Put the Name and the Description side by side
2. Make the description a bit more pretty
3. Make the boxes do something when they are hovered over
You do not have the required permissions to view the files attached to this post.
I am not here to build for you.
I am here to build with you. Let's help each other.
I am here to build with you. Let's help each other.
- burt
- Core Team
- Posts: 4550
- Joined: Tue Oct 29, 2019 9:37 am
- Phoenix Version: v1.1.0.8
- : Buy Me A Beverage
- Has thanked: 252 times
- Been thanked: 412 times
Re: Change the Look of Phoenix - can you click here and there?
For #1
1a. Admin > Modules > Content > {index_products: page heading} > Edit
Change Content Container to col-sm-6 mb-2
1b. Admin > Modules > Content > {index_products: category/manufacturer description} > Edit
Change Content Container to col-sm-6 mb-2
For #2
This is appearance so we need to copy the TPL from /includes/modules/content/index_products/templates/tpl_cm_ip_category_manufacturer_description.php TO /templates/default/includes/modules/content/index_products/tpl_cm_ip_category_manufacturer_description.php
Change the new file appropriately. I changed this
to this
For #3
I used this addon app.php/tag/s02e07 which creates a nice effect on hovering the cards. Just upload the ONE file and it works.
Results in
That's pretty nice.
1a. Admin > Modules > Content > {index_products: page heading} > Edit
Change Content Container to col-sm-6 mb-2
1b. Admin > Modules > Content > {index_products: category/manufacturer description} > Edit
Change Content Container to col-sm-6 mb-2
For #2
This is appearance so we need to copy the TPL from /includes/modules/content/index_products/templates/tpl_cm_ip_category_manufacturer_description.php TO /templates/default/includes/modules/content/index_products/tpl_cm_ip_category_manufacturer_description.php
Change the new file appropriately. I changed this
Code: Select all
<div class="card">
<div class="card-body">
<?= $cm_description ?>
</div>
</div>
Code: Select all
<blockquote class="blockquote mt-3 lead text-end">
<i class="fa-solid fa-quote-left fa-2xl text-light"></i>
<?= $cm_description ?>
<i class="fa-solid fa-quote-right fa-2xl text-light"></i>
</blockquote>
I used this addon app.php/tag/s02e07 which creates a nice effect on hovering the cards. Just upload the ONE file and it works.
Results in
That's pretty nice.
You do not have the required permissions to view the files attached to this post.
I am not here to build for you.
I am here to build with you. Let's help each other.
I am here to build with you. Let's help each other.
- burt
- Core Team
- Posts: 4550
- Joined: Tue Oct 29, 2019 9:37 am
- Phoenix Version: v1.1.0.8
- : Buy Me A Beverage
- Has thanked: 252 times
- Been thanked: 412 times
Re: Change the Look of Phoenix - can you click here and there?
More or less repeat the above post for
index_nested: page heading
index_nested: category description
Simply to make the Nested Category (ie a Category that has sub categories) into a unified look the same as the other category pages.
Best bit...the blue border on mouseover works automatically, with no extra effort needed.
index_nested: page heading
index_nested: category description
Simply to make the Nested Category (ie a Category that has sub categories) into a unified look the same as the other category pages.
Best bit...the blue border on mouseover works automatically, with no extra effort needed.
You do not have the required permissions to view the files attached to this post.
I am not here to build for you.
I am here to build with you. Let's help each other.
I am here to build with you. Let's help each other.
- burt
- Core Team
- Posts: 4550
- Joined: Tue Oct 29, 2019 9:37 am
- Phoenix Version: v1.1.0.8
- : Buy Me A Beverage
- Has thanked: 252 times
- Been thanked: 412 times
Re: Change the Look of Phoenix - can you click here and there?
We have not really changed anything in the Index Page (the main home page of your shop), so tomorrow we will address that area. Not really sure what we're doing there, but inspo will come.
I am not here to build for you.
I am here to build with you. Let's help each other.
I am here to build with you. Let's help each other.