VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: djanael on July 12, 2013, 00:33:07 AM

Title: how to set the Custom fields as boolean?
Post by: djanael on July 12, 2013, 00:33:07 AM
Existe algum tutorial para todos os diferentes tipos de campos personalizados?
Title: Re: how to set the Custom fields as boolean?
Post by: Maxim Pishnyak on July 12, 2013, 09:22:59 AM
Bienvenido al foro de Inglés!
Title: Re: how to set the Custom fields as boolean?
Post by: djanael on July 12, 2013, 15:44:15 PM
Quote from: djanael on July 12, 2013, 00:33:07 AM
Existe algum tutorial para todos os diferentes tipos de campos personalizados?

I use google translate... my english is very poor.  :-\

"Is there any tutorial for all different types of custom fields?"
Title: Re: how to set the Custom fields as boolean?
Post by: Maxim Pishnyak on July 12, 2013, 17:23:31 PM
Perfect. You could navigate through current forum in your google translator.

Regards.
Title: Re: how to set the Custom fields as boolean?
Post by: djanael on July 12, 2013, 19:37:11 PM
Sure, but I did not find instructions on this type of custom field could direct me to the topic please?
Title: Re: how to set the Custom fields as boolean?
Post by: Maxim Pishnyak on July 12, 2013, 22:16:42 PM
Well, if you would try at least to do what I advised to you, you would see sticked threads or FAQs that could help you.
Do you really think that current project of your online shop will be your last and this forum wouldn't help you anymore?
Wish you long webmaster career.
Title: Re: how to set the Custom fields as boolean?
Post by: djanael on July 13, 2013, 14:19:27 PM
Actually I'm working with a project that does not need this feature to ask. I want to meet you at least need to know when to run on other future projects, I come with all humility and spirit of co-operation which have the support of the Brazilian portal joomla, Joomla Club.

I have searched a lot and did not find examples on creating custom fields of type boolean and others found rather on the primary (group!), Plugins, dropbox (plugin!) variants cart.

I ask you to kindly give me a link to the topic that contains such examples.

I want to actively participate in this forum ... 'm challenging my knowledge the Virtuemart order to work with it and so can give support to other colleagues. My English is horrible or no, yes I know, but read and translate I know thanks to google translate.

Please only want to help and be helped, without further ado.  :-[
Title: Re: how to set the Custom fields as boolean?
Post by: Maxim Pishnyak on July 13, 2013, 15:41:35 PM
Nice!
I wish you to spend on this forum more time then you spent on the VM forum of your native language.

Some basic instructions exist:
https://dev.virtuemart.net/projects/virtuemart/wiki/Product_custom_fields_without_stock_control
https://dev.virtuemart.net/projects/virtuemart/wiki/Product_custom_fields_with_stock_control
http://docs.virtuemart.net/tutorials/32-product-creation/81-product-custom-fields-without-stock-control.html
http://forum.virtuemart.net/index.php?topic=99225.0
http://forum.virtuemart.net/index.php?topic=90833.0

Still I can't understand why you have problems with using custom field as boolean.
Could you post here screen shot where you have troubles?
Title: Re: how to set the Custom fields as boolean?
Post by: djanael on July 13, 2013, 16:14:48 PM
Thanks for the links from different directions my dear!

Here's the screenshot like you asked ...

(http://aureo-joomla.zz.mu/media-vm/screenshot-01-vm.png)
Title: Re: how to set the Custom fields as boolean?
Post by: djanael on July 13, 2013, 16:28:34 PM
Ah! Support for Virtuemart in Brazil is best done at this http://virtuemartpro.com.br/ (http://virtuemartpro.com.br/), to be theme specific.
Title: Re: how to set the Custom fields as boolean?
Post by: Maxim Pishnyak on July 13, 2013, 21:40:02 PM
Quote from: djanael on July 13, 2013, 16:28:34 PM
Ah! Support for Virtuemart in Brazil is best done at this http://virtuemartpro.com.br/ (http://virtuemartpro.com.br/), to be theme specific.
So your problem is solved, I hope?

If not, what your next step after this screen shot was not successful?
Title: Re: how to set the Custom fields as boolean?
Post by: djanael on July 13, 2013, 22:05:09 PM
The value for the field 'Default' appears wrong to me ... I have two radio buttons and only one appears in the frontend ..
Title: Re: how to set the Custom fields as boolean?
Post by: Maxim Pishnyak on July 13, 2013, 22:35:31 PM
Could you provide here link to your website?

As for me it's typical behavior of Boolean custom field. It could show customers either "Yes", or "No".

Maybe you need to use not Boolean type, but maybe something more regular type of custom field?
Title: Re: how to set the Custom fields as boolean?
Post by: djanael on July 13, 2013, 22:48:09 PM
See this: http://www.lembrancasdeluxo.com.br/novo/index.php/component/virtuemart/agua-personalizada/product-test-detail?Itemid=0 (http://www.lembrancasdeluxo.com.br/novo/index.php/component/virtuemart/agua-personalizada/product-test-detail?Itemid=0)

I'm curious how this type of custom field values ​​that can be used for example in default, etc..
Title: Re: how to set the Custom fields as boolean?
Post by: Maxim Pishnyak on July 15, 2013, 22:21:23 PM
So boolean couldn't help you. Maybe you could use "Cart Variant" type?
Title: Re: how to set the Custom fields as boolean?
Post by: djanael on July 16, 2013, 00:11:53 AM
My question is how and what the value of the field's default Boolean?
Title: Re: how to set the Custom fields as boolean?
Post by: Maxim Pishnyak on July 16, 2013, 12:52:56 PM
The most fast and proper way to know this is to check specific database row.
Title: Re: how to set the Custom fields as boolean?
Post by: djanael on July 16, 2013, 16:11:07 PM
Wonder! Thank you for the reply!  ::)