| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
how to add "brief description" to product box on front page | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
how to add "brief description" to product box on front page
I want to add "brief description" between name and price on product box and remove the rating star icon from the product box. I really appreciate if anybody can give me a instruction? like below picture:
http://www.fortalk.com/images/product.jpg
__________________
X-Cart 5 Business |
|||||||
#2
|
|||||||||
|
|||||||||
Re: how to add "brief description" to product box on front page
Hi!
The template that renders that area is: skins/default/en/items_list/product/center/grid/body-css-layout.tpl You are particularly interested in the part: Code:
that actually displays product image, ratings, etc. The <list name="info" type="inherited" product="{product}" /> code displays the content of the "itemsList.product.grid.customer.info" view list (more info about view lists http://kb.x-cart.com/display/XDD/Step+2+-+applying+design+changes#Step2-applyingdesignchanges-UnderstandingX-Cartlayoutsystem) You can apply your change as follows: 0) Create an empty module (http://kb.x-cart.com/display/XDD/Step+1+-+creating+simplest+module) 1) In order to remove ratings, remove the modules/XC/Reviews/product.items_list.rating.tpl template from the "itemsList.product.grid.customer.info" view list (http://kb.x-cart.com/display/XDD/Step+2+-+applying+design+changes#Step2-applyingdesignchanges-Hidingtemplatesandwidgets) 2) create your template that will display brief description and insert it into the "itemsList.product.grid.customer.info" view list with 15 weight (http://kb.x-cart.com/display/XDD/Step+2+-+applying+design+changes#Step2-applyingdesignchanges-Addingnewtemplatesandwidgets) Please, let me know if it all makes sense to you. Surely, if there are any questions, feel free to ask. Tony.
__________________
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
|