Author Topic: How to configure customs fileds ?  (Read 3888 times)

jczanoni

  • Beginner
  • *
  • Posts: 3
How to configure customs fileds ?
« on: December 21, 2011, 14:49:21 pm »
Hi all,

 I would like to add some customs fields, for example a list off shop where i can find my product.
 How could i configure VM2 to have in the administrator side a checkbox list with the list off my magazine
and in the front side only the text list off them ?

Tanks for your help.
JC

jczanoni

  • Beginner
  • *
  • Posts: 3
Re: How to configure customs fileds ?
« Reply #1 on: December 27, 2011, 11:39:31 am »
Nobody know ? :(

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 28308
  • Always on vacation
    • Jenkin Hill Internet
Re: How to configure customs fileds ?
« Reply #2 on: December 27, 2011, 12:51:37 pm »
I would guess that like me, nobody can understand the description of what you are trying to do. It does not seem about custom fields, but about adding/extending functionality for which you will need to write a plugin.
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VirtueMart 3.8.9.10473 on Joomla 3.9.28 PHP 7.4.14

jczanoni

  • Beginner
  • *
  • Posts: 3
Re: How to configure customs fileds ?
« Reply #3 on: December 28, 2011, 13:41:41 pm »
ok so i try to explan better (sorry i'm french)

I would like to add some custom fields on my product.
I would like to see on the front end some sticker like 'Promotion', 'Last pieces', 'oddment' ...
so i need in the back end a new filed where i have to select this sticker

i also want to add a field where i can chose the shop where i can find my article (because i have 4 shop) so i need to ahave a multi selectable list items in the back end
to shose one ore more shop and in the front end i want to see the list off where i can found this article.

Bst rgds

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 28308
  • Always on vacation
    • Jenkin Hill Internet
Re: How to configure customs fileds ?
« Reply #4 on: December 30, 2011, 20:58:17 pm »
Because I am a designer rather than a coder, to add promotional images to a product page I would use a different Product Details Page template with the image already coded in. Create the templates, use template override and select the relevant template for each product. Thus you have full control over where and how the image/banner is displayed.

You could use a custom field of image type, but I found that this will appearat the bottom of the page where custom fields are set to display and would be less obvious.

As for the multi-shop issue, this would need special programming.
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VirtueMart 3.8.9.10473 on Joomla 3.9.28 PHP 7.4.14