Page 1 of 1
10 featured items per row, only picture and title shown,V2 is it possible ?
Posted: Sun Sep 03, 2017 11:47 pm
by premint
hello id like to have about 10 featured items per row with 4 or 5 rows, all i want to show is the picture and title, no description, no border, no buttons, running ver 2 is it possible ?
Re: 10 featured items per row, only picture and title shown,V2 is it possible ?
Posted: Mon Sep 04, 2017 1:27 am
by yodapt
Yes it's possible, you need to change the template page to show 10 columns instead of the default, and change the limit of the result returned by the model.
Re: 10 featured items per row, only picture and title shown,V2 is it possible ?
Posted: Mon Sep 04, 2017 2:30 am
by premint
hi thanks for repluying but could you explain more detail,
Re: 10 featured items per row, only picture and title shown,V2 is it possible ?
Posted: Mon Sep 04, 2017 4:03 am
by yodapt
Are you talking about the featured module?
Re: 10 featured items per row, only picture and title shown,V2 is it possible ?
Posted: Mon Sep 04, 2017 4:09 am
by premint
i need you to explain what i need to edit in order to have 10 featured items per row on the homepage, i want 10 per row, no borders, no buttons, no description just phot and titel below
Re: 10 featured items per row, only picture and title shown,V2 is it possible ?
Posted: Mon Sep 04, 2017 4:56 am
by yodapt
catalog\view\theme\default\template\module\featured.tpl
On this file, you need to change the way columns are presented. You want to show 4 rows, so you need a flag to know when you have to switch to another row, which will be every 10 products. On the product loop, you will want to add an offset on the first item, because bootstrap's grid is 12 columns and you want 10, so that at least it becomes centered relative to the store layout. Dont forget to change the css classes to match the size of the columns you want, and to check the browser because you will need some more css changes to fit such contents in such a small space (for most user screens). Finally you strip away unwanted markup like buttons and sorts. This isn't the necessary order of events.
On the admin area, under modules you can edit the homepage one and set the limit to 40 products (4 rows), and the width and height of the image thumbnails.
Re: 10 featured items per row, only picture and title shown,V2 is it possible ?
Posted: Mon Sep 04, 2017 5:23 am
by premint
i know how to find the file but ive no idea what im supposed to do with it, im new tyo this and need you to show which lines to edit and what to put there
Re: 10 featured items per row, only picture and title shown,V2 is it possible ?
Posted: Mon Sep 04, 2017 6:03 am
by yodapt
It is easier to do the work for you rather than tell you which lines to edit and with what.
But serilously dont do that .. 10 items is too much, it will not look good.
Re: 10 featured items per row, only picture and title shown,V2 is it possible ?
Posted: Mon Sep 04, 2017 6:12 am
by premint
i had a site that way before but it used cubecart ver3 and looked good, trouble is ver 3 only works with php 4 and newer cubecart dont do it and i use open cart now but id like to make a site the same way again