Catproduct - Installation and Configuration

Posted in Catproduct

Installation:

Install plugin with Extension Manager in Joomla and enable it in Plug-in Manager.

Basic custom field settings:

Go to VirtueMart and configure plugin in Custom Fields page. Choose New and then at Custom Field Type choose Plug-ins. Type Title and at Select a plug-in choose VM - Custo - Catproduct. Here you can also config which field you want to show. You can choose to always use default configuration. Click Save.

Some templates doesn't have [empty] layout position so you'll need to input Layout position. Those layout names as different but mostly tamplates uses normal, ontop or onbot. Try it if Catproduct doesn't show up. Also you can try those positions if you want to have Catproduct on different position then default.

Cart Attribute must be set to "No"!

There are two more fields to pay attention for: Use attached as an Array and Enable custom configuration inputs.

First one is only for compatibility with older version, so enable it. With this you'll have option to add more attached products groups with own titles.

Second field is for custom developers. It adds 5 more input fields for custom uses, so you can add your own parameters to Catproduct. For example to use it ass additional columns in a table, or to add some text etc. But by default those fields does nothing

Adding custom field to product and set it:

Adding to product

Go to parent (or main) product and go to Custom Fields tab. At Custom Fields Type choose plug-in which you created.

Basic settings

You'll see lots of Catproduct settings. In first fieldset there are basic settings:

Table fields to display

If you didn't choose "Always use default" you can set visible fields here. There are 3 fieldsets of fields, first for products values, second for rows sums and last one for total values.

One thing about displaying images - Catproduct supports multi images. If child (or attached) product has several images, only first is displayed but other can be seen in modal window. But for this, you need to have fancybox enabled in your VM -> Configuration -> Template.

Attached products

One great thing is that with Catproduct you can also add additional products to children or main product. Or you can make page only with group of attached products. You can add ass many products ass you want.

Custom configuration inputs

If you enabled this in basic settings, you will see additional fieldset of 5 input fields. You can use it to add your own parameters to Catproduct. For example to use it ass additional columns in a table, or to add some text etc. But by default those fields does nothing, so you'll need to add your own code to use it.

Finish it

And finally - Click SAVE! and you're done

| Print |