| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Changing product ItemsList | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Re: XCart 5 design change
I'm not sure about this as well.
I've read the guide and understand the basics about lists but, for example, this code: <list name="itemsList.product.cart" /> and later... <list name="info" type="inherited" product="{product}" /> What are these 'list names' ? This is always a problem with MVC.. there always loads of files and I'm never sure where to start looking.. EDIT: To go into more detail I can't find how the code <list name="info" type="inherited" product="{product}" /> generates the product in the list from these files... http://i.imgur.com/B29lVLo.jpg
__________________
Core version: 5.5.xx |
|||||||
#2
|
|||||||
|
|||||||
Re: XCart 5 design change
OK.. to explain what I'm trying to do in more detail...
Currently in x5 when you are looking at the product listing there's three options for displaying the products. Grid, List and Table. So I found in skins > default > en > items_list > product > center the three directories for grid, list and table. I want to change the layout for list, so in... skins > default > en > items_list > product > center > list > body.tpl I can see this code... Code:
which I can edit to make the list view of products change. However... I want to change the layout to three columns. I can do this... Code:
So.. I need to find the code that <list name="info" type="inherited" product="{product}" /> invokes so I can have a three column product item template for the product list.
__________________
Core version: 5.5.xx |
|||||||
#3
|
|||||||||
|
|||||||||
Re: XCart 5 design change
@xgarb if you simply need to change default product view to List instead of Grid, then you can achieve it quite easily as explained here:
http://forum.x-cart.com/showthread.php?t=69469&page=9 Please, let me know if it helps.
__________________
Found a bug in X-Cart? Post it to our bug tracker! Know how to make X-Cart better? Suggest an idea! |
|||||||||
#4
|
|||||||
|
|||||||
Re: XCart 5 design change
@tony
Stage two is to remove the other options and only display the list view for the products page. However first I want to change the appearance of the list view to something like this... http://i.imgur.com/CA4C67v.png eg, in three columns instead of two.
__________________
Core version: 5.5.xx |
|||||||
#5
|
|||||||||
|
|||||||||
Re: XCart 5 design change
Quote:
If you need to remove other display options, then you should follow the explanation here: http://forum.x-cart.com/showpost.php?p=383032&postcount=71 Also, I am not quite sure about what you mean by two/three columns in List mode as List mode assumes only one column of products.
__________________
Found a bug in X-Cart? Post it to our bug tracker! Know how to make X-Cart better? Suggest an idea! |
|||||||||
#6
|
|||||||
|
|||||||
Re: XCart 5 design change
Quote:
Each list item to be using three columns. At the moment (simplified) Code:
I want... Code:
like in the screen shot.
__________________
Core version: 5.5.xx |
|||||||
#7
|
|||||||||
|
|||||||||
Re: Changing product ItemsList
@xgarb, I have created a separate thread here.
In case you need to add the third column to List view, you should edit the Code:
http://kb.x-cart.com/display/XDD/Step+2+-+applying+design+changes
__________________
Found a bug in X-Cart? Post it to our bug tracker! Know how to make X-Cart better? Suggest an idea! |
|||||||||
|
|||
X-Cart forums © 2001-2020
|