Product Listing

Open to all! Ask other shopowners for help.
Post Reply
LeeFoster
Contributor
Posts: 263
Joined: Sun Feb 28, 2021 9:41 pm
Phoenix Version: v1.0.8.20
Has thanked: 1 time
Been thanked: 5 times

Product Listing

Post by LeeFoster »

Am I missing something?

I am trying to sort my products by Model number but it's not showing on the product listing page and I can't see how to turn it on.

I'm also trying to change it to show 3 in a row not the current 4.


Join The Code Co-op to get access to your library in the Code Co-op Forum
User avatar
ReneH4
Contributor
Posts: 145
Joined: Mon Oct 26, 2020 12:00 pm
Phoenix Version:
Has thanked: 13 times
Been thanked: 17 times

Re: Product Listing

Post by ReneH4 »

Admin > Configuration > Product Listing > Products per Row

Products Per Row
How many products should display per Row per viewport? Default: XS 2, SM 3, MD and above 4
LeeFoster wrote: Thu Oct 28, 2021 6:05 pm I'm also trying to change it to show 3 in a row not the current 4.
LeeFoster
Contributor
Posts: 263
Joined: Sun Feb 28, 2021 9:41 pm
Phoenix Version: v1.0.8.20
Has thanked: 1 time
Been thanked: 5 times

Re: Product Listing

Post by LeeFoster »

ReneH4 wrote: Thu Oct 28, 2021 6:36 pm Admin > Configuration > Product Listing > Products per Row

Products Per Row
How many products should display per Row per viewport? Default: XS 2, SM 3, MD and above 4
LeeFoster wrote: Thu Oct 28, 2021 6:05 pm I'm also trying to change it to show 3 in a row not the current 4.
Yeah I found it in the end. Need to work out how to add white background to make all the images appear the same height now.

See here for an example - http://witchwindgames.atwebpages.com/in ... ?cPath=6_5
User avatar
ReneH4
Contributor
Posts: 145
Joined: Mon Oct 26, 2020 12:00 pm
Phoenix Version:
Has thanked: 13 times
Been thanked: 17 times

Re: Product Listing

Post by ReneH4 »

How very nice the Modal popup looks after adding a product! Well done Lee!
Omar_one
Senior Contributor
Posts: 677
Joined: Fri Oct 25, 2019 5:06 pm
Phoenix Version: v1.0.8.16
Has thanked: 100 times
Been thanked: 56 times

Re: Product Listing

Post by Omar_one »

LeeFoster wrote: Thu Oct 28, 2021 6:44 pm Need to work out how to add white background to make all the images appear the same height now.
You can use KissIT Image Thumbnailer
app.php/addons/free_addon/kissit_image_thumbnailer/

Or you can add some stylish to user.css ( this will not add white background to the images , but it make the images appear the same heigh)

Code: Select all

.card-img-top {
    object-fit: cover;
}
  /* Small devices (landscape phones, 576px and up) */
  @media (min-width: 576px) {
    .card-img-top {
        height: 19vw;
    }
  }
  /* Medium devices (tablets, 768px and up) */
  @media (min-width: 768px) {
    .card-img-top {
        height: 16vw;
    }
  }
  /* Large devices (desktops, 992px and up) */
  @media (min-width: 992px) {
    .card-img-top {
        height: 11vw;
    }
  }
  /* Extra large devices (large desktops, 1200px and up) */
  @media (min-width: 992px) {
    .card-img-top {
        height: 19vw;
    }
  }
heatherbell
Senior Contributor
Posts: 2540
Joined: Mon Oct 07, 2019 4:39 am
Phoenix Version:
Has thanked: 35 times
Been thanked: 243 times

Re: Product Listing

Post by heatherbell »

LeeFoster wrote: Thu Oct 28, 2021 6:44 pmNeed to work out how to add white background to make all the images appear the same height now.
Personally, we use image software to create and optimise our images and start with the same size square background/canvas when creating the images to ensure they are all same size.
LeeFoster
Contributor
Posts: 263
Joined: Sun Feb 28, 2021 9:41 pm
Phoenix Version: v1.0.8.20
Has thanked: 1 time
Been thanked: 5 times

Re: Product Listing

Post by LeeFoster »

heatherbell wrote: Fri Oct 29, 2021 1:02 pm
LeeFoster wrote: Thu Oct 28, 2021 6:44 pmNeed to work out how to add white background to make all the images appear the same height now.
Personally, we use image software to create and optimise our images and start with the same size square background/canvas when creating the images to ensure they are all same size.
As do I but this website is for someone else.


Join The Code Co-op to get access to your library in the Code Co-op Forum
Post Reply