-
AuthorPosts
-
December 10, 2008 at 12:45 pm #136120
I want the “add to cart”-button to be moved right under the product price or “Ask a question about this product”.
How do I do that?
Anonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
December 12, 2008 at 8:17 am #282541Hi proxaal,
Open flypage.tpl.php file in folder components/com_virtuemart/themes/ja-mesolite/templates/product_details folder, please view my guide:
+ At about line 49, find following script:
[PHP]
<tr>
<td><?php
if( $this->get_cfg( ‘showAvailability’ )) {
echo $product_availability;
}
?><br />
</td>
<td colspan=”2″><br /><?php echo $addtocart ?></td>
</tr>
[/PHP]
and change to:
[PHP]
<tr>
<td colspan=”3″><?php
if( $this->get_cfg( ‘showAvailability’ )) {
echo $product_availability;
}
?><br />
</td>
</tr>
[/PHP]
+ At about line 40, find following script:
[PHP]
<tr>
<td colspan=”2″><?php echo $ask_seller ?></td>
</tr>
[/PHP]
and change to:
[PHP]
<tr>
<td colspan=”2″><?php echo $ask_seller ?></td>
</tr>
<tr>
<td colspan=”2″><?php echo $addtocart ?></td>
</tr>
[/PHP]sfpkent Friendsfpkent
- Join date:
- October 2008
- Posts:
- 829
- Downloads:
- 0
- Uploads:
- 100
- Thanks:
- 310
- Thanked:
- 75 times in 1 posts
December 12, 2008 at 9:19 am #282559Hi proxaal,
Please show your result here after you have successfully changed the coding coz I want to change it too.
Thanks!
Kentcjmicro Friendcjmicro
- Join date:
- June 2008
- Posts:
- 501
- Downloads:
- 3
- Uploads:
- 0
- Thanks:
- 198
- Thanked:
- 81 times in 10 posts
December 12, 2008 at 10:55 am #282580you can change a lot of things in the vm template area, including the browse and product detail, etc. the css for these pages is also in the vm component area, although some of it takes from the ja template css too! it’s confusing sometimes, but it’s in there… just a matter of finding it!!
Cheryl
December 12, 2008 at 12:23 pm #282599Hello,
Thank you very much. That was really helpfull.
Is it also possible to add it under the picture?
And how can you add a link like “Send to a friend” which is connected to the mod_S5tellafriend module. I just really need a something with the button that works like a “Send to friend”.
Would appreciate if you could give me such a guide on that too.
-
AuthorPosts
This topic contains 5 replies, has 4 voices, and was last updated by proxaal oxaal 15 years, 11 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum