Check out 80+ FREE Joomla! templates See 80+ FREE WordPress themes

From version 2.6.10, VirtueMart has a new features that allows payment to have their own template layout. It’s useful for payments like Pay With Amazon which has a complete checkout process running in parallel to the normal checkout process. The template from 3rd party developer may not include this new functionnality. So, how to adjust it?

Payment button

The payment button should be displayed in the cart view as well as in the cart module:

Payment button

In the case that the payment button is not displayed in the cart view or the module, then follow those steps:

In the cart view

  1. Go to /templates/[yourtemplate]/html/com_virtuemart/cart/default.php
  2. Find the line
    <h1><?php echo vmText::_ ('COM_VIRTUEMART_CART_TITLE'); ?></h1>
  3. Add this line just after
    <div class="payments-signin-button"></div>

In the module

  1. Go to /templates/[yourtemplate]/html/mod_virtuemart_cart/default.php
  2. Find the line
    <noscript>
    <?php echo JText::_(‘MOD_VIRTUEMART_CART_AJAX_CART_PLZ_JAVASCRIPT’) ?>
    </noscript>
  3. Add this line before
    <div class="payments-signin-button"></div>

If you have any question about this post, don’t hesitate to leave a comment below. And don’t forget to share with your friends if you find it useful! Thanks!

80+ Premium Joomla templates just $8.25/MO 80+ Premium WordPress themes just $8.25/MO

5/5 - (1 vote)
digital team enginetemplates

We’re a Digital Team from EngineTemplate with 5 content experts. Our team has 5 years exp in open source Joomla and WordPress, we make daily blogs and build useful resources for everyone who is having issues with open source while using it.

Leave a Reply

Your email address will not be published. Required fields are marked *

Flash Sale! Get 25% OFF for your purchase on today! Coupon code: FLASHSALE25 More Details
Flash Sale! Get 25% OFF for your purchase on today! Coupon code: FLASHSALE25 More Details