hello, if you are using also
virtuemart -> shop -> vendor -> minimum order value (as a generic minimum) you may also do this:
create a new file:
/components/com_onepage/themes/{your opc theme}/onepage.min.tpl.php
with an example content like this:
- Code: Select all
<?php if( !defined( '_VALID_MOS' ) && !defined( '_JEXEC' ) ) die( 'Direct Access to '.basename(__FILE__).' is not allowed.' );
/*
*
* @copyright Copyright (C) 2007 - 2010 RuposTel - All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
* One Page checkout is free software released under GNU/GPL and uses code from VirtueMart
* VirtueMart is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
*
*/
echo $op_basket; // will show either basket/basket_b2c.html.php or basket/basket_b2b.html
if (empty($no_continue_link) && (!empty($continue_link)) && ($continue_link != '//')) {
?>
<div class="continue_and_coupon">
<div class="continue_left"><span> </span>
<div class="continue_shopping2"><a href="<?php echo $continue_link ?>" class="continue_link2"><?php echo OPCLang::_('COM_VIRTUEMART_CONTINUE_SHOPPING') ?></a>
</div>
</div>
</div>
<?php
}
// will show coupon if enabled from common/couponField.tpl.php with corrected width to size
echo $html_in_between; // from configuration file.. if you don't want it, just comment it or put any html here to explain how should a customer use your cart, update quantity and so on
?>
<div style="clear: both;">
<?php
echo $min_reached_text;
?>
</div>
<?php
this will show only the cart + continue link + the minimum value message.
if you want to alter only those messages, you can use joomla's language overrides for these:
COM_VIRTUEMART_CART_NO_PAYMENT_METHOD_PUBLIC
and
COM_VIRTUEMART_CART_NO_SHIPPING_METHOD_PUBLIC
best regards, stan