Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • snakepit Friend
    #153054

    I want to change the position of “Add to Cart” button being under the “Quantity”.

    I have search the same issue, and i found this: http://www.joomlart.com/forums/topic/add-to-card-position/ but it’s not solved

    Somebody can help me?

    Sorry…the website still in localhost. So, i don’t have the URL

    Thanks 🙂

    Saguaros Moderator
    #352224

    pls replace all code inside the file: componentscom_virtuemartthemesja-mesolitetemplatescommonminicart.tpl.php by the following code:
    [PHP]
    <?php if( !defined( ‘_VALID_MOS’ ) && !defined( ‘_JEXEC’ ) ) die( ‘Direct Access to ‘.basename(__FILE__).’ is not allowed.’ );?>

    <?php if (!$empty_cart && !$vmMinicart) { ?>
    <div class=”vm-showcart”>
    <?php echo $show_cart ?>
    </div>

    <?php }
    if(!$vmMinicart) { ?>
    <hr style=”clear: both;” />
    <?php } ?>
    <div class=”vm-total-pro clearfix”>
    <?php echo $total_products ?> <?php echo $total_price ?>
    </div>
    <?php
    //echo $saved_cart;
    ?>
    <?php if($empty_cart) { ?>
    <div>
    <?php if(!$vmMinicart) { ?>
    <div class=”vm-showcart”>
    <?php echo $show_cart ?>
    </div>
    <div class=”vm-total-pro clearfix”>
    <?php }
    echo $VM_LANG->_(‘PHPSHOP_EMPTY_CART’) ?>
    </div>
    </div>
    <?php }
    else {
    // Loop through each row and build the table

    }?>
    [/PHP]
    GOodluck

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

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

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