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 |
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:
<table class="{getProductCellClass(product)}"> 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:
<div class="product-item product-item-holder"> 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. |
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. |
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. |
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. |
Re: XCart 5 design change
Quote:
Each list item to be using three columns. At the moment (simplified) Code:
<table> I want... Code:
like in the screen shot. |
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:
<X-Cart>/skins/default/en/items_list/product/center/list/body.tpl http://kb.x-cart.com/display/XDD/Step+2+-+applying+design+changes |
All times are GMT -8. The time now is 01:42 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.