-
AuthorPosts
-
January 20, 2009 at 8:08 pm #137296
On the product details page, how would I move the add to cart and attributes box from the botto, under all the text of the product, to the top next to the picture? Thanks you guys are great!:D
Anonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
January 21, 2009 at 7:42 am #287415Hi nfusiononline,
Please try with my guide:
Open flypage.tpl.php file in componentscom_virtuemartthemesja-zeolitetemplatesproduct_details folder:
+ at about line 21, find following script:
[PHP]<tr>
<?php if( $this->get_cfg(‘showManufacturerLink’) ) { $rowspan = 5; } else { $rowspan = 4; } ?>
<td width=”33%” rowspan=”<?php echo $rowspan; ?>” valign=”top” class=”vm-product-img”><br/>
<?php echo $product_image ?><br/><br/><?php echo $this->vmlistAdditionalImages( $product_id, $images ) ?></td>
<td rowspan=”1″ colspan=”2″>
<h1><?php echo $product_name ?> <?php echo $edit_link ?></h1>
</td>
</tr>[/PHP]and change to:
[PHP]
<tr>
<?php if( $this->get_cfg(‘showManufacturerLink’) ) { $rowspan = 5; } else { $rowspan = 4; } ?>
<td width=”33%” rowspan=”<?php echo $rowspan; ?>” valign=”top” class=”vm-product-img”><br/>
<?php echo $product_image ?><br/><br/><?php echo $this->vmlistAdditionalImages( $product_id, $images ) ?></td>
<td rowspan=”1″ colspan=”2″>
<h1><?php echo $product_name ?> <?php echo $edit_link ?></h1>
</td>
</tr>
<tr>
<td><?php echo $addtocart ?></td>
</tr>
[/PHP]+ 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><?php
if( $this->get_cfg( ‘showAvailability’ )) {
echo $product_availability;
}
?><br />
</td></tr>[/PHP]
Hope it helps.
January 21, 2009 at 5:26 pm #287489That worked to move the add to cart box, but now my attributes that moved with it are kind of screwy, they don’t fit in the box , and seem to be over lapping each other http://www.nfusionworld.com to check it out.
Anonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
January 22, 2009 at 4:15 am #287551Hi,
Please open theme.css file in componentscom_virtuemartthemesja-zeolite folder, at about line 313, find following script:
.vmCartAttributes { /* Attributes Div*/
margin-top:8px;
width:100%;
}and change to:
.vmCartAttributes { /* Attributes Div*/
margin-top:8px;
width:400px;
}Hope it helps.
-
AuthorPosts
This topic contains 4 replies, has 2 voices, and was last updated by Anonymous 15 years, 11 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum