Code adjustments for VirtueMart 3

Templating and layouts In VM3 we introduce a new feature ShopFunctionsF::renderVmSubLayout($layoutName,AssocArray) you can call with it very easy small sublayouts, or minilayouts. They are stored in FE/sublayouts and can be overriden using /templates/yourtemplate/html/com_virtuemart/sublayouts. The main differences are in the cart layout. There is a new feature which allows you to display shopperfields in the cart. […]

SVN Download

VirtueMart Source Code VirtueMart manages its own SVN repository on the dev.virtuemart.net SVN Server. So it allows you to check out the latest source code! In order to obtain the Sources anonymously (read only) you need to know: SVN URL: https://dev.virtuemart.net/svn/virtuemart User: anonymous (no password required) This is the SVN command that fetches the repository […]

Extension Plugins

Extension plugins are used both in the front-end and the backend. They should be created as classes deriving from the base class  VmExtendedPlugin: public function __construct (&$subject, $config=array()) { parent::__construct($subject, $config); $this->_path = JPATH_PLUGINS.DS.$this->getName(); JPlugin::loadLanguage(‘plg_vmextended_’.$this->getName()); } List with events and a description on what moment they are fired. onVmAdminController() This event is fired, when the […]

How to set up a development enviroment?

If you start developing for the project or just with VirtueMart you can set up a development environment with an IDE and a SVN program. We recommend you to use two programs below for working with VirtueMart and synchronizing the working directory with the local SVN repository: SmartSVN or TortoiseSVN http://tortoisesvn.net/downloads.html Eclipse for php or […]

How to display the payment button?

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 […]

Override vmsite-ltr.css

Most VirtueMart 2 users want to change the styles and layouts as defined in the default vmsite-ltr.css. You should create an override file, to which you can apply all desired changes. The file should be copied into your Joomla template’s css folder. Ex: yourdomain\templates\yourtemplate\css\vmsite-ltr.css After doing this, the image paths for some VirtueMart images and […]

Learn how to overwrite plugins in VirtueMart?

In VirtueMart we use the joomla template system to create the overrides of a plugin. To check if your plugin is overridable, then you check your installation. Search for your plugin in the path /root/plugins/group/name, for example: /plugins/vmcustom/textinput If the plugin has a second folder with the same name, then it is using the overridable […]

How to add logo for payment and shipment?

Friends! You can add logo for payment and shipment in 2 steps: Step 1. Uploading the logo in the correct folder The logos must be placed under the following folders: images/stories/virtuemart/payment for the payment methods images/stories/virtuemart/shipment for the shipment methods You can upload the logos via the Joomla media manager: For Joomla 1.5, go in […]

About Template System

The new template system of virtuemart allows fine grained overrides for each category and product. We have the joomla template system: http://docs.joomla.org/Template_Development http://docs.joomla.org/Joomla!_1.5_Template_Tutorial http://docs.joomla.org/Layout_Overrides_in_Joomla_1.6 http://www.spiralscripts.co.uk/Joomla-Tips/using-template-overriding-with-joomla.html The virtuemart default shop template is overriding the joomla configurations. You can choose in the configuration the template and layout for the shop, the category and the product view, you […]

How to configure avatax?

The avalara plugin is for a dynamic tax calculation for whole USA. The configuration is mainly done with a calculation rule. I. Installation – Go to your plugin manager in joomla, select type (drop-down) vmcalculation and enable “VM – Calculation Avalara Tax” – Open your virtuemart administration, =>Taxes & Calculation Rules and create a new […]

Searchable Customfield Usecase

We recommend VirtueMart sampledata for initial testing. And keep defaults if not specified or desired to change. Before you start: – Ensure show search is enabled: browse VirtueMart configuration vm > configuration > templates – Check config of menu item to display Searchable Custom Field. To be sure that the search is displayed, Browse Joomla […]

How to manage currencies in HikaShop?

As you know, HikaShop supports all the existing currencies. It has a currency manager so you can tweak each currency, a currency switcher module that you can use to allow your users to change the current currency, and a system to automatically update the currency rates. Currency Management The first thing you need to do […]

How to create or edit mass actions?

Mass actions will allow you to process almost everything in Hikashop, for example you can edit multiple products as well as categories, orders, addresses or Hikashop users, avoiding long hours of repetitive work doing it element by element. You can also move products from one category to another or change the order status for every […]