Skip to main content

Posts

Showing posts from October, 2010

Developer’s Note: Condensing Forms Displayed During VirtueMart Checkout

By default, the VirtueMart checkout process will ask for more information from your customer than is actually needed by your store.  To help reduce the form-field overload  that you customer may face when trying to purchase a product from your online store, it can help to actually remove fields that are not necessary to your business.   Do you really need to know the “company", "title", or "fax number” of a customer?  If not, then this tutorial will show you how to remove those fields. Changing the following file will impact the Billing Information and the Shipping Information (Shipping Address) forms that appear during the VirtueMart checkout process. The file you will need to edit can be found here: /administrator/components/com_virtuemart/classes/ps_userfield.php Search for the function getSkipFields() By default, the skipped fields are the username, password, password check, and the check for the terms of service agreement. function getSkipField

Developer Note: PayPal Only Checkout - Changing the Confirm Order Button

If your store will only be using  PayPal  as a payment handler, the customer experience can be improved by replacing the "Confirm Order" button at the end of the checkout process with an actual PayPal button. The old button doesn't convey to your customer that they will be taken to PayPal  to complete their order. All we're going to do with this post, is show how to change that "Confirm Order" button into this a Paypal button The file you want to edit is found here: \components\com_virtuemart\themes\default\templates\checkout\get_final_confirmation.tpl.php Within this file, search near the bottom for the following code: <div align="center"> <input type="submit" onclick="return( submit_order( this.form ) );" class="button" name="formSubmit" value="<?php echo $VM_LANG->_('PHPSHOP_ORDER_CONFIRM_MNU') ?>" /> </div> The button has a class called input.butto

Developer Note: Virtuemart - Moneris / ESelectPlus Integration - API Token Mismatch

One quick solution to a common problem.  When running Virtuemart and using Moneris as your payment processor, you may occassionally run into the following error: A message from the processor:  API Token Mismatch: (N/A) ERROR:  FAILURE IN PROCESSING THE PAYMENT (ps_moneris) The quick and easy way to fix this is to log into http://www.eselectplus.ca with your credentials and make sure that, under “My Account -> Account Settings”, the default transaction ECI is set to SSL .  It normally defaults to another transaction type (non-electronic commerce transaction), so you need to change it to represent the type of transaction you prefer.  Whether that is an SSL transaction or not is dependent on you site.