VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: rezaei.m.p on April 10, 2020, 13:18:00 PM

Title: custom filed Display
Post by: rezaei.m.p on April 10, 2020, 13:18:00 PM
Hello every one
I want to have custom filed like this:

General
color: red
size: large

Engine type and class
Number of wheels: 4
Ring material: steel
Title: Re: custom filed Display
Post by: pinochico on April 11, 2020, 01:28:38 AM
Find on documentation:
https://docs.virtuemart.net

and inside demo eshop:
http://demo.virtuemart.net/administrator/

It very easy, you must use your brain :)
Title: Re: custom filed Display
Post by: rezaei.m.p on April 11, 2020, 14:47:11 PM
Quote from: pinochico on April 11, 2020, 01:28:38 AM
Find on documentation:
https://docs.virtuemart.net

and inside demo eshop:
http://demo.virtuemart.net/administrator/

It very easy, you must use your brain :)



I read:https://docs.virtuemart.net/manual/products-menu/custom-field-edit.html
I try to use a group but do not show titles and do not work for me.
do you have another idea?
Title: Re: custom filed Display
Post by: GJC Web Design on April 11, 2020, 14:59:38 PM
do u mean these are just labels or are meant to be selected?

if labels use a text custom field
Title: Re: custom filed Display
Post by: pinochico on April 11, 2020, 15:08:10 PM
If you don't find product with customfields on VM demo, then better you send sketch as you want or eshop URL.

Show Title from group of customfields or show label of customfield you can setup in admin and override in template for customfield.

There is custom override for customfields - TAB Parametry - https://www.archivbox.cz/archivni-krabice-cz-prior-r007
Title: Re: custom filed Display
Post by: rezaei.m.p on April 11, 2020, 15:10:47 PM
Quote from: GJC Web Design on April 11, 2020, 14:59:38 PM
do u mean these are just labels or are meant to be selected?

if labels use a text custom field

I want to like this:
I attached the picture of it.



Title: Re: custom filed Display
Post by: pinochico on April 11, 2020, 15:19:05 PM
yep, then you must develop override for this view :)

this is my override.
Title: Re: custom filed Display
Post by: GJC Web Design on April 11, 2020, 15:25:20 PM
and use text customs ..
Title: Re: custom filed Display
Post by: Studio 42 on April 12, 2020, 22:33:51 PM
This plugin https://shop.st42.fr/en/products/shortcodes.htm (https://shop.st42.fr/en/products/shortcodes.htm) can display group of fields(specifications)
For your case you declare 2 custom fields.
Memory
Memory type
Screen
Screeen
Screeen spécification
.....

You are not limited of numbers of specifications.
See doc https://shop.st42.fr/en/shorcodes-english-doc#specification (https://shop.st42.fr/en/shorcodes-english-doc#specification)