Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • proxaal oxaal Friend
    #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 Moderator
    #282541

    Hi 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 Friend
    #282559

    Hi proxaal,

    Please show your result here after you have successfully changed the coding coz I want to change it too.

    Thanks!
    Kent

    cjmicro Friend
    #282580

    you 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

    proxaal oxaal Friend
    #282599

    Hello,

    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.

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

This topic contains 5 replies, has 4 voices, and was last updated by  proxaal oxaal 15 years, 4 months ago.

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