Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • vangeem Friend
    #143188

    Hello,

    Normally the “Add to Cart” Button + In Stock Items are diplayed under the whole description of the product.

    I would like to have it just under the product title and list price as show in this picture (in the red square):
    I suppose this wil improve the sell rates. Can anyone help me with this?

    The actual situation is like this:

    Anonymous Moderator
    #312961

    Hi vangeem,

    To solve this idea, please open componentscom_virtuemartthemesja-mesolitetemplatesproduct_detailsflypage.tpl.php file to change

    vangeem Friend
    #313025

    Thank you for pointing me to the right file.
    I moved <td colspan=”2″><br /><?php echo $addtocart ?></td> code , to just under $product_price.

    The modified code is now

    [PHP]<br style=”clear:both;” />
    <table border=”0″ style=”width: 100%;”>
    <tbody>
    <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 if( $this->get_cfg(‘showManufacturerLink’)) { ?>
    <tr>
    <td rowspan=”1″ colspan=”2″><?php echo $manufacturer_link ?><br /></td>
    </tr>
    <?php } ?>
    <tr>
    <td width=”33%” valign=”top” align=”left”>
    <?php echo $product_price_lbl ?>
    <?php echo $product_price ?><br /></td>
    <td valign=”top”><?php echo $product_packaging ?><br /></td>
    </tr>
    <tr>
    <td colspan=”2″><br /><?php echo $addtocart ?></td>
    </tr>
    <tr>
    <td colspan=”2″><?php echo $ask_seller ?></td>
    </tr>
    [/PHP]

    The problem now is that the lay-out of the product descroption isn’t good anymore (now it looks like its left aligned). How can I resolve this.

    Picture of what i mean:
    The product description tekst should be aligned like the product title and ‘stel een vraag over dit product’

Viewing 3 posts - 1 through 3 (of 3 total)

This topic contains 3 replies, has 2 voices, and was last updated by  vangeem 15 years, 3 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum