VirtueMart Forum

VirtueMart 1.1.x [ Old version - no longer supported ] => Themes & Layout Problems and Customization VM 1.1 => Topic started by: aaron1988 on December 30, 2009, 01:04:43 am

Title: How to position the price
Post by: aaron1988 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 (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
Title: Re: How to position the price
Post by: PRO 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>
Title: Re: How to position the price
Post by: aaron1988 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
Title: Re: How to position the price
Post by: PRO on December 30, 2009, 01:23:36 am
Thats exactly how to do it, you must be overlooking something

Title: Re: How to position the price
Post by: aaron1988 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
Title: Re: How to position the price
Post by: PRO 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?

Title: Re: How to position the price
Post by: aaron1988 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?
Title: Re: How to position the price
Post by: aaron1988 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 :)
Title: Re: How to position the price
Post by: PRO 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

Title: Re: How to position the price
Post by: aaron1988 on December 30, 2009, 02:02:07 am
Thanks :) will take a look, and i think i am getting the hang of it :)