Advertisement:

Author Topic: Installing multiple custom attributes plugin  (Read 403 times)

Swanpro

  • Newbie
  • *
  • Posts: 5
Installing multiple custom attributes plugin
« on: November 07, 2018, 01:50:27 am »
Hi everybody, I'm not IT literate so I would like to know if I can use Custom attributes plugin for different items. Idea is to change the name of the plugin : 2_custom_attributes and install it again in admin. And 3 or 4 if needed. Is it something possible ?
I've done one with all motorbikes brands, now i'd like to do the same for snowmobiles, sail boats, power boats...
Thanks

atomo

  • Newbie
  • *
  • Posts: 6
Re: Installing multiple custom attributes plugin
« Reply #1 on: November 08, 2018, 01:14:18 am »
I don't know if that is possible in the way you want.
But there is some interesting plugins that allow you to create different atributes, according to items category.

Take a look on this one (has admin demo):
https://market.osclass.org/osclass-plugins/extra-fields-and-other/multilanguage-attributes-plugin_i77

There's some more at the Osclass market:
https://market.osclass.org/plugins/attributes

Swanpro

  • Newbie
  • *
  • Posts: 5
Re: Installing multiple custom attributes plugin
« Reply #2 on: November 08, 2018, 03:33:18 am »
Thanks for your answer, could be an idea to trick other attributes.
Just found this on the help section of custom attributes :

Help

A PHP template function is provided for showing custom attributes in another location.
This function shows attributes for the current item and category.

if (function_exists('custom_attributes'))
custom_attributes();

Add arguments if you want to show attributes for another item and category.

if (function_exists('custom_attributes'))
custom_attributes(itemID, categoryID);

But in which file or fileS do we have to change the line ? That is the question.. and can we do it without uninstalling the plugin ? just by FTP ?

I replaced Real estate plugin by adjusting Categories & Custom fields, but for all the cars and models it would be crazy.
Thanks again