Author Topic: shop.browse inversing category description with products  (Read 5106 times)

elran

  • Beginner
  • *
  • Posts: 3
shop.browse inversing category description with products
« on: November 22, 2010, 17:46:00 pm »
Hi,

on the page that shows the products inside a category, i'm trying to have the listing of products (file browse_1.php) before the category description (can't find that file).

from what i understand i should be looking in the shop.browse.php (which calls browse_1.php).

am i searching in the right direction?

can't find an obvious answer inside the shop.browse.php file because of limited knowledge of php...


thx,

JVT

elran

  • Beginner
  • *
  • Posts: 3
Re: shop.browse inversing category description with products
« Reply #1 on: November 23, 2010, 12:26:20 pm »
it seems that the file categoryChildlist.tpl.php is responsible for displaying the category description.

I still can't find where to look in the shop.browse.php file to put the products first, any clue?


elran

  • Beginner
  • *
  • Posts: 3
Re: shop.browse inversing category description with products
« Reply #2 on: November 23, 2010, 13:29:52 pm »
Well, found an answer on this forum, in this thread:
https://forum.virtuemart.net/index.php?topic=77687.0

so i've cut the code in the file "components/com_virtuemart/themes/default/templates/browse/includes/browse_header_category.tpl.php"

to insert it in the file
"components/com_virtuemart/themes/default/templates/browse/includes/browse_notables.tpl.php"