Author Topic: How to position the price  (Read 2960 times)

aaron1988

  • Beginner
  • *
  • Posts: 20
How to position the price
« on: December 30, 2009, 01:04:43 am »
Hi i was wondering how can you position the price where it is displayed as at the moment the prices on this page

http://www.greengullyfurniture.com/new/index.php?option=com_virtuemart&page=shop.browse&category_id=7&Itemid=80

is displayed above the IMAGE, i would like it so it displays just above the green "ADD TO CART" button, does anyone know how to do this

Thanks
Aaron

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10318
  • VirtueMart Version: 3+
Re: How to position the price
« Reply #1 on: December 30, 2009, 01:10:23 am »
http://virtuemart.net/documentation/Developer_Manual/Modifying_the_Layout.html#Templates

MOVE THIS above the <php? echo addtocart> in the browse page or flypage, whatever you are referring to

<php? echo product_price>
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

I do NOT do development work for hire.

aaron1988

  • Beginner
  • *
  • Posts: 20
Re: How to position the price
« Reply #2 on: December 30, 2009, 01:20:41 am »
Hi in virtuemart backend i am using "category: managed" and FLYPAGE: flypage.tpl i changed what you said in flypage.tpl and corrected where you missed out the $ and ?> etc but still hasnt changed it

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10318
  • VirtueMart Version: 3+
Re: How to position the price
« Reply #3 on: December 30, 2009, 01:23:36 am »
Thats exactly how to do it, you must be overlooking something

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

I do NOT do development work for hire.

aaron1988

  • Beginner
  • *
  • Posts: 20
Re: How to position the price
« Reply #4 on: December 30, 2009, 01:33:51 am »
hi for this page

http://www.greengullyfurniture.com/new/index.php?option=com_virtuemart&page=shop.browse&category_id=7&Itemid=80 and all the other pages in this format it cant be the flypage.tpl which is set in the configuration of virtuemart because i removed the code "<?php echo $addtocart ?>" and it still appeared

any ideas.

Regards,
Aaron

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10318
  • VirtueMart Version: 3+
Re: How to position the price
« Reply #5 on: December 30, 2009, 01:34:52 am »
thats a browse page, LOOK at the URL   shop.browse

WHAT browse_page is the category set to?

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

I do NOT do development work for hire.

aaron1988

  • Beginner
  • *
  • Posts: 20
Re: How to position the price
« Reply #6 on: December 30, 2009, 01:35:48 am »
it is set to managed which  dont know what that page is as couldnt find it in template?

aaron1988

  • Beginner
  • *
  • Posts: 20
Re: How to position the price
« Reply #7 on: December 30, 2009, 01:45:42 am »
hi i fixed it :) i i found out that "managed" means that it automatically selects the best browse page on how many rows for the items etc. so what i did was changed them all to where i wanted the price to be and it worked :)

Cheers for your help mate

hope you had a good christmas :)

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10318
  • VirtueMart Version: 3+
Re: How to position the price
« Reply #8 on: December 30, 2009, 01:49:04 am »
the browse templates are here

components/com_virtuemart/themes/default/templates/browse/HERE!!!!


YOU can also choose witch browse page you want to use by using the drop down box.

HERE is a manual that you might find to be good info
http://forum.virtuemart.net/index.php?topic=52411.0

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

I do NOT do development work for hire.

aaron1988

  • Beginner
  • *
  • Posts: 20
Re: How to position the price
« Reply #9 on: December 30, 2009, 02:02:07 am »
Thanks :) will take a look, and i think i am getting the hang of it :)