This document offers the basic knowledge for installing , configuring and using the Product Bundles plugin. This document is copyrighted © 2014-2017 Sakis Terzis / breakdesigns.net. The document is licensed under the terms of Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License [http://creativecommons.org/licenses/by-nc-nd/3.0/]. You can distribute it freely as long as you do not modify it and state its source and/or author. You cannot use this document or any portion of it for commercial purposes. If you require such use, for example to deliver it to your clients as part of your site building service,please email the author in order to acquire such a license and the source to this document.
- Joomla 3.4 and higher
- Virtuemart 3.x
- PHP 5.3
- MySQL 5
After downloading the installer file, from our site, just install it using the joomla installation process.
The installer will install and enable all the necessary plugins. No other action required.
Go to Components > Virtuemart > Custom Fields and press New. Then as Custom Field Type select “Plug-ins”.
Set Cart Attribte to No and Cart Input to No. Fill in the rest fields till the end of the page.
In the “Select a plug-in” select “Product Bundles”
After selecting the plugin type, the parameters of that plugin will be loaded.
The correct configuration of the plug-in is essential to the plug-in's behavior. So it follows an explanation of the settings found here.
- : The title that will be displayed at the top of the bundle
- : The products that consist the bundle. You can add, delete and order the products you want to use. You can add the products from here or by adding that custom field directly at each product that conisists the bundle.
- : There are cases when a product of a bundle cannot be ordered. The reasons can vary from being out of stock to having no price. This setting will define if the bundle will be displayed in case a product is missing.
- : The price that you will select here should be enabled in the VM configuration
The next settings regard the discount of the bundle. For each bundle a new calculation rule will be created. So what actually happens here, is the configuration of that Calc. Rule
- : The type of calc. rule
The discount of the bundle is not applied. Why?
When you create the custom field for a bundle, a calculation rule is created as well. This calculation rule is applicable only to the products of that bundle and has the same name as the bundle custom field.
In order a calc. rule to be applicable at a product, the setting beside the final price of a product (in the product's form), should be other than "Apply no rule". There, should be selected either the "Apply generic rules" or the calc. rule that concerns the bundle (same name with bundle).
Also the final price of the product cannot change when there is a price override. In this case Virtuemart ignores any calculation rule and custom field in the price calculation. This will be always the final price. So if you want to use the bundle discount or any other calculation rule, the price override should be avoided.
My bundle is not displayed. Why?
In order a bundle to be displayed the following should happen:
A bundle needs to have at least 2 products.
The used products should be orderable. A product is orderable if it is published, has price and stock (in case the stock control is active in your shop).
You can display the bundle even if some products are not orderable, by enabling the setting " ".
A bundle as any custom field needs to be loaded inside a layout position (Layout position setting) which exist in the template.
Do note that cart attributes/selectable and non cart/attributes (like the bundles) usually use different layout positions.
How i can i display the bundle in a different position?
The positon of the bundle is defined by the field "Layout position" of the custom field. Each layout has specific positions for displaying the custom fields. You should ask your template developer for more details.
Can i add a product in a bundle from within the product form?
Yes this can be done by assigning the corresponding custom field to the product.
The Product Bundles plugin is using some of the Virtuemart's scripts to work properly. These scripts have to be loaded to the product details page.
To load them, go to:
Virtuemart> Configuration> Templates and enable the setting "Use Fancybox"
Also go to:
Virtuemart> Configuration> Checkout and enable the setting "Display modal popup upon 'Add to cart'"
Order of Assignment
In case your products use other plugins (beyond the bundles) as custom fields, the order of assignment of these custom fields can affect the display and the functionality of the bundles plugin in your front-end.
We suggest putting the bundles custom field 1st among your other custom fields.