Author Topic: Products Display  (Read 1714 times)

zoidsimangunsong

  • Beginner
  • *
  • Posts: 27
Products Display
« on: February 10, 2009, 03:43:32 am »
Hello, i need your help. Really.
I'm trying to change product display in my virtuemart.
By default product name always locate at to


And i want to change to the bottom of the picture so the order i wish sould be :
  - image
  - product name
  - price

What file must i edit so i can get what i want.
Tx.  :)

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10330
  • VirtueMart Version: 3+
Re: Products Display
« Reply #1 on: February 10, 2009, 03:55:13 am »
Are you talking about on the category page? If so you need to open the category browse_page you are using
components/comvirtuemart/themes/templates/browse/whatever browse_page you are using.
switch these two elements around
MAKE A BACKUP OF THE FILE BEFORE


<h2>
  <a style="font-size:11px; font-weight:bold;" href="<?php echo $product_flypage ?>"><?php echo $product_name ?></a>
  </h2>


AND THIS

<div style="float:left;width:90%" >
     <a href="<?php echo $product_flypage ?>" title="<?php echo $product_name ?>">
        <?php echo ps_product::image_tag( $product_thumb_image, 'class="browseProductImage" border="0" title="'.$product_name.'" alt="'.$product_name .'"' ) ?>
       </a>
  </div>

J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

zoidsimangunsong

  • Beginner
  • *
  • Posts: 27
Re: Products Display
« Reply #2 on: February 10, 2009, 04:34:38 am »
Tx sir so nice, but for the latest and new product ( i put them on the frontpage )
still not change. Pls ... what i must to do.

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10330
  • VirtueMart Version: 3+
Re: Products Display
« Reply #3 on: February 11, 2009, 02:31:15 am »
look in your shop.index file

post the code
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)