Author Topic: Change category list  (Read 8447 times)

MichelR

  • Beginner
  • *
  • Posts: 2
Change category list
« on: April 25, 2008, 15:26:17 pm »
Hi there,

I just installed Joomla's Virtuemart. Now I want to customize the layout.
In index.php?page=shop.browse&category=&option=com_virtuemart&Itemid=2 I would like to keep the page minimal by using pictures only (So no detailed information about manufacturer, price etc). Does anyone know where I can modify this?

Thanks a lot!

akerman

  • Jr. Member
  • **
  • Posts: 325
  • Knowledge weighs Nothing!
    • STOLT/AKERMAN
Re: Change category list
« Reply #1 on: April 25, 2008, 15:55:08 pm »
Hi, well as I read from your link info you're still on the first page, which to my knowledge only shows shopinfo, categories, recent and featured products. No manufacturer or price here?

Anyhow, if you mean the category listings, there are several threads in this forum covering parts of that topic. Kindly read those first to see if it is to any aid for you.


Regards
Akerman / InfoClip.se
http://STOLT-AKERMAN.com - Web & Design agency. Spemildt in e-shop, ecommerce and marketing.
http://InfoClip.se - Swedish Antique & Used Books & Art Shop.
http://AkermansCove - Personal Portfolio
Ubuntu LAMP / Joomla 1.5.22 / VM 1.1.6 / JoomFish Contributor / Developer / Designer

MichelR

  • Beginner
  • *
  • Posts: 2
Re: Change category list
« Reply #2 on: April 25, 2008, 17:08:45 pm »
Yes, I have been looking around on the forum. I looked for the appropriate files in these directories /httpdocs/shop/components/com_virtuemart/themes/default/templates/browse/includes

But I could't find anything to remove the manufacturer, price, product details etc.
Are there any other directories I could look in?

akerman

  • Jr. Member
  • **
  • Posts: 325
  • Knowledge weighs Nothing!
    • STOLT/AKERMAN
Re: Change category list
« Reply #3 on: April 25, 2008, 17:27:22 pm »
Example:

If you chosen 'Flat list' layout in VM Backend you can edit this file:
browse_listtable.tpl.php

You can for example remove columns which I have.
I'm only listing the 1.image  2.Name  3.SKU  4.Price

Excerpt from browse_listtable.tpl.php
Code: [Select]
// Table header
$tableheader[] = $VM_LANG->_('PHPSHOP_PRODUCT_FORM_THUMB_IMAGE');
$tableheader[] = $VM_LANG->_('PHPSHOP_CART_NAME');
$tableheader[] = $VM_LANG->_('PHPSHOP_CART_SKU');
if( _SHOW_PRICES && $auth['show_prices'] ) {
$tableheader[] = $VM_LANG->_('PHPSHOP_CART_PRICE');
}

--------------------------------------------------------------------
As stated, the file you edit in this regard is decided by your choice in the backend.
The different choices in backend is governed by the contents in 'theme.xml' which updates the 'theme.config.php'

The 'theme.xml' selections and respective file:

Code: [Select]
<param name="productListStyle" type="list" default="browse/includes/browse_layouttable.tpl.php" label="Product List Style" description="Select the style of the product listings (=browse page)">
<option value="browse/includes/browse_layouttable.tpl.php">Product Listing with a table (default)</option>
<option value="browse/includes/browse_listtable.tpl.php">Flat Product List (fixed to 1 product per row, using a table)</option>
<option value="browse/includes/browse_notables.tpl.php">Product List (no table, div-based)</option>
</param>


Good luck!  :)

Regards
Akerman / InfoClip.se

http://STOLT-AKERMAN.com - Web & Design agency. Spemildt in e-shop, ecommerce and marketing.
http://InfoClip.se - Swedish Antique & Used Books & Art Shop.
http://AkermansCove - Personal Portfolio
Ubuntu LAMP / Joomla 1.5.22 / VM 1.1.6 / JoomFish Contributor / Developer / Designer