| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Number of Products per Row changeable in admin | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Cos I'm in a good mood today, a little mod to give and option in admin to specify the number of products per row that are displayed.
SQL to insert: Code:
(Note that this includes the add to cart button) Code:
You will then have an option in admin to specify the number of products per row that you want displayed. Obviously you will encounter problems with more than 3 in a row if you are using a three column layout for the shop. Enjoy.
__________________
ex x-cart guru ![]() |
|||||||
|
#2
|
|||||||||
|
|||||||||
![]() Once again, nice work
![]()
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. ![]() ![]() |
|||||||||
#3
|
|||||||
|
|||||||
![]() [quote="funkydunk"]Cos I'm in a good mood today, a little mod to give and option in admin to specify the number of products per row that are displayed.
SQL to insert: Code:
where do i insert SQL? waht does that mean? pardon my retardedness, but this looks like a cool feature |
|||||||
#4
|
|||||||
|
|||||||
![]() forget my last post. i figured out how to look in my database
![]() |
|||||||
#5
|
|||||||
|
|||||||
![]() thx 4 the mod. you did mean products.tpl right?
__________________
|| E L E V E N || |
|||||||
#6
|
|||||||
|
|||||||
![]() good spot eleven- just checking that you were paying attention
![]() I have amended the previous post to avoid tripping people up.
__________________
ex x-cart guru ![]() |
|||||||
#7
|
|||||||
|
|||||||
![]() Am I missing something here ? I don't have buttons/showdetail.tpl on my system. For me it throws that error and makes the screen width much bigger.
__________________
_____________________________________ 4.6.6 Gold Plus and 4.7.4 Gold MySQL server 5.6.29 PHP 5.5.34 |
|||||||
#8
|
|||||||
|
|||||||
![]() Sorry, that was a button that I created to show the details of the product.
You could do the same or remove it or use details.tpl instead.
__________________
ex x-cart guru ![]() |
|||||||
#9
|
|||||||
|
|||||||
![]() Thanks I will try take it out for now and then if all works I can add my own.
Thanks again ![]()
__________________
_____________________________________ 4.6.6 Gold Plus and 4.7.4 Gold MySQL server 5.6.29 PHP 5.5.34 |
|||||||
#10
|
|||||||
|
|||||||
![]() great mod Mr Funky !!!!! (again)
|
|||||||
|
|||
X-Cart forums © 2001-2020
|