Changing Text in Step 3 and 4

Please post your issues and questions about One Page Checkout for Virtuemart 2 to this forum.

Changing Text in Step 3 and 4

Postby Learjet » Fri Oct 03, 2014 10:34 pm

Greetings,

We are a paid user of the component, love it!

How can I change the text in step 3 and 4?

On the shipment details (step 3) I need to put a note in there that tells the user that they will not see a shipment option until they fill in the address.

On step 4 (the Payment Method) I need to add to the text that our minimum order is $25. We keep having people try to checkout and they can't since there is not message regarding the minimum order.

Which php file handles this? Or is there an easier way?

Image

Respectfully,
EJ Lear
Learjet
 
Posts: 1
Joined: Fri Oct 03, 2014 10:17 pm

Re: Changing Text in Step 3 and 4

Postby admin » Mon Oct 06, 2014 8:53 pm

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>&nbsp;</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
admin
Site Admin
 
Posts: 2708
Joined: Wed Jan 06, 2010 11:43 pm


Return to One Page Checkout for Virtuemart 2

cron