WE MOVED OUR PLUG-INS TO WWW.SM-PLANET.NET!

Plugin
Easy Checkbox - Virtuemart 2 plugin PDF Print E-mail
Monday, 26 November 2012 16:28

With this plug-in you can add some accessories, additives, toppings etc. to your main product that customer can choose. It works like variant plug-in but this plug-in shows checkboxes and you can have as many of them as you want. Administration is very easy. Just type additives with mark-up price separated by commas and thats it.

Read more...
 
Catproduct - Virtuemart 2 plugin for showing child products PDF Print E-mail
Tuesday, 25 September 2012 08:30

For support please write to  This e-mail address is being protected from spambots. You need JavaScript enabled to view it . If you want different layout, please write and I will see what can I do.

Version 2.2.0 is out! Adding support for VM2.0.26, popup for images and also fields which can be used in custom layouts!

Catproduct is the only tool for adding multiple products to cart directly from VirtueMart product page.

Catproduct primary display child products, but it can be use to display any product!

You can use it to display different variants of product, tools for main product, accessories for product, related products, or anything you imagine!
(Products, that are not children of main product, are in this description named "Attached products".)

You can also use Catproduct for displaying kits!

Default layout is a table of products on main product page with quantity boxes on a side and one Add-to-cart button. But Catproduct support custom layouts so you can have different layouts for different products!

You can select how Catproduct will sort products. You can sort them by id, sku, name, weight, length, width, height and price.

You can attach other products to the table with child product. That means you can put one independent product to many parents. Simple put product ids in plug-in configuration and products will be shown in parent product layout. You can also set custom title for attached products like "Accessories". Look example in J2.5 DEMO here or J2.5 DEMO here.

With Catproduct you can set, what is the minimal and maximal order quantity. You can also set quantity in box and only multipled value of that quqntity can be ordered!

Catproduct support dynamic price update. This is used for quantity discount. This makes calculation a little slower so it can be turn off if not used.

Main Features:

  • Adding multiple products to cart
  • display child products
  • display attached products (Can be added with product_id or product_sku)
  • support multi currencies
  • support children order (by id, sku, name, price, etc.)
  • support minimal and maximal order quantity
  • support "quantity in box" so only multipled value of this quantity can be ordered
  • support dynamic price update (quantity discount, etc.)
  • support multiple groups of attached product.
  • support different layouts
  • choosable product fields for display
You can choose which field you want to show. This applies to both child products and attached products. You can set default values or set params for each product in product page.

 

Read more...
 
Help PDF Print E-mail
Wednesday, 19 September 2012 00:00

Catproduct:

Catproduct isn't being shown. Why?

- Cart Attribute must be set to "No"

- Your template may need position of plug-in. Go to plug-in configuration in Custom Fields menu and set Layout position to "normal", "ontop" or "onbot".

- It's possible that your template doesn't have right code for showing VM plug-ins.

Go to [root]/templates/[your_template]/html/com_virtuemart/productdetails/    and check default.php if this code is there:

if (!empty($this->product->customfieldsSorted['normal'])) {
$this->position = 'normal';
echo $this->loadTemplate('customfields');
} // Product custom_fields END

If not, add it on place, where you want to have Catproduct.

Contact me if you have problems.

After adding child product to cart, cart page does not load.

It should be fixed in last version of Catproduct (V2.0.8). If you are still having troubles, contact me.

After click on add-to-cart button some strange page with some message is shown

Almost every time this means JavaScript issues. It could be jQuery conflict. If you can't fix it, contact me.

Where can I find language file to change table headings?

[root]/administrator/languages/en-GB/en-GB.plg_vmcustom_catproduct.ini

How to make older version of Catproduct working with Virtuemart > 2.0.22?

If you for some reason can't or don't want to upgrade Catproduct with latest version, you must change catproducts javascript. You can find file in

[root]/plugins/vmcustom/catproduct/catproduct/js/

Thera are two files, catproduct.js for default layout or catproduct-radio.js for radio layout. You need to change some of code:

- catproduct.js

at top of file add:

if (typeof vmCartText == 'undefined') vmCartText = 'was added to your cart.' ;

Change  function faceboxShow() :

function faceboxShow() {
if (Virtuemart.addtocart_popup ==1) {
message_final = removeNoQ(message_final);
if(!typeof usefancy === 'undefined' && usefancy){
jQuery.fancybox.showActivity();

jQuery.fancybox({
"titlePosition" : "inside",
"transitionIn" : "elastic",
"transitionOut" : "elastic",
"type" : "html",
"autoCenter" : true,
"closeBtn" : false,
"closeClick" : false,
"content" : message_final
});
} else {
jQuery.facebox.settings.closeImage = closeImage;
jQuery.facebox.settings.loadingImage = loadingImage;
jQuery.facebox({ text: message_final }, 'my-groovy-style');
}

emptyQuantity();  // only for Catproduct V2.0.10 or newer
if (jQuery(".vmCartModule")[0]) {
Virtuemart.productUpdate(jQuery(".vmCartModule"));
}
} else {
window.location.replace(vmSiteurl+'index.php?option=com_virtuemart&view=cart');
}
}

For Catproduct V2.0.12 change function faceboxError(message):

function faceboxError(message) {
if(!typeof usefancy === 'undefined' && usefancy){
jQuery.fancybox.showActivity();

jQuery.fancybox({
"titlePosition" : "inside",
"transitionIn" : "elastic",
"transitionOut" : "elastic",
"type" : "html",
"autoCenter" : true,
"closeBtn" : false,
"closeClick" : false,
"content" : message
});
} else {
jQuery.facebox.settings.closeImage = closeImage;
jQuery.facebox.settings.loadingImage = loadingImage;
jQuery.facebox({ text: message }, 'my-groovy-style');
}

emptyQuantity();
if (jQuery(".vmCartModule")[0]) {
Virtuemart.productUpdate(jQuery(".vmCartModule"));
}
}

And change function prepareMessage (datas,product_name,quantity):

function prepareMessage (datas,product_name,quantity) {
message_final = datas.msg.replace(/<h4>[^>]*>/g,"");
for(i=gr_length-1;i>=0;i--){
if(quantity[i]>0){
message_final += "<H4>" + product_name[i] + ' ' + vmCartText.replace("%2$s x %1$s","") + "</H4>";
}
}
}

- catproduct-radio.js:

at top of file add:

if (typeof vmCartText == 'undefined') vmCartText = 'was added to your cart.' ;

Change  function faceboxShow(datas) :

function faceboxShow(datas) {
var form = jQuery("#catproduct_form");
var id = find_selected();

if(datas.stat ==1){
var message_final = datas.msg;
} else if(datas.stat ==2){
var message_final = datas.msg +"<H4>"+form.find(".pname").val()+"</H4>";
} else {
var message_final = "<H4>"+vmCartError+"</H4>"+datas.msg;
}
if (Virtuemart.addtocart_popup ==1) {
if(!typeof usefancy === 'undefined' && usefancy){
jQuery.fancybox.showActivity();

jQuery.fancybox({
"titlePosition" : "inside",
"transitionIn" : "elastic",
"transitionOut" : "elastic",
"type" : "html",
"autoCenter" : true,
"closeBtn" : false,
"closeClick" : false,
"content" : message_final
});
} else {
jQuery.facebox.settings.closeImage = closeImage;
jQuery.facebox.settings.loadingImage = loadingImage;
jQuery.facebox({ text: message_final }, 'my-groovy-style');
}

emptyQuantity(); // for Catproduct 2.0.10 or newer
if (jQuery(".vmCartModule")[0]) {
Virtuemart.productUpdate(jQuery(".vmCartModule"));
}
} else {
window.location.replace(vmSiteurl+'index.php?option=com_virtuemart&view=cart');
}
}

 
License PDF Print E-mail
Monday, 10 September 2012 00:00

GNU GENERAL PUBLIC LICENSE

Version 3, 29 June 2007

Read more...
 
Copyright © D.K.pictures