News:

Looking for documentation? Take a look on our wiki

Main Menu

Custom Field Types (Explained)

Started by PRO, March 07, 2012, 18:04:25 PM

Previous topic - Next topic

PRO

Quote from: B4rZAg0nE on December 17, 2012, 05:26:44 AM
It's possible to set position layout of custom fields in category view to filter specific custom fields?

http://breakdesigns.net/extensions/cat-filters

B4rZAg0nE

Quote from: PRO on December 17, 2012, 18:44:14 PM
Quote from: B4rZAg0nE on December 17, 2012, 05:26:44 AM
It's possible to set position layout of custom fields in category view to filter specific custom fields?

http://breakdesigns.net/extensions/cat-filters

i mean:
<?php $custom_title null
if (!empty(
$product->customfields)) {
foreach (
$product->customfields as $field) {
if (
$field->is_hidden //OSP http://forum.virtuemart.net/index.php?topic=99320.0
continue;
if (
$field->display) { ?>

<span class="product-field-display"><?php echo $field->display ?></span>
<?php ?> <?php ?> <?php }  ?>


but   customfieldssort[something]
(layout position on category view)

PRO

Quote from: B4rZAg0nE on December 17, 2012, 21:12:39 PM
Quote from: PRO on December 17, 2012, 18:44:14 PM
Quote from: B4rZAg0nE on December 17, 2012, 05:26:44 AM
It's possible to set position layout of custom fields in category view to filter specific custom fields?

http://breakdesigns.net/extensions/cat-filters

i mean:
<?php $custom_title null
if (!empty(
$product->customfields)) {
foreach (
$product->customfields as $field) {
if (
$field->is_hidden //OSP http://forum.virtuemart.net/index.php?topic=99320.0
continue;
if (
$field->display) { ?>

<span class="product-field-display"><?php echo $field->display ?></span>
<?php ?> <?php ?> <?php }  ?>


but   customfieldssort[something]
(layout position on category view)

I dont think you can do this

what do you want to display?


B4rZAg0nE

Quote from: PRO on December 17, 2012, 21:41:08 PM
Quote from: B4rZAg0nE on December 17, 2012, 21:12:39 PM
Quote from: PRO on December 17, 2012, 18:44:14 PM
Quote from: B4rZAg0nE on December 17, 2012, 05:26:44 AM
It's possible to set position layout of custom fields in category view to filter specific custom fields?

http://breakdesigns.net/extensions/cat-filters

i mean:
<?php $custom_title null
if (!empty(
$product->customfields)) {
foreach (
$product->customfields as $field) {
if (
$field->is_hidden //OSP http://forum.virtuemart.net/index.php?topic=99320.0
continue;
if (
$field->display) { ?>

<span class="product-field-display"><?php echo $field->display ?></span>
<?php ?> <?php ?> <?php }  ?>


but   customfieldssort[something]
(layout position on category view)

I dont think you can do this

what do you want to display?

I have some custom fields mmm maybe 7 or 8 string and i want to see only 3 strings of 8 in category view
2) but with this solution custom field description can't show label?

B4rZAg0nE

Quote from: B4rZAg0nE on December 17, 2012, 21:46:17 PM
Quote from: PRO on December 17, 2012, 21:41:08 PM
Quote from: B4rZAg0nE on December 17, 2012, 21:12:39 PM
Quote from: PRO on December 17, 2012, 18:44:14 PM
Quote from: B4rZAg0nE on December 17, 2012, 05:26:44 AM
It's possible to set position layout of custom fields in category view to filter specific custom fields?

http://breakdesigns.net/extensions/cat-filters

i mean:
<?php $custom_title null
if (!empty(
$product->customfields)) {
foreach (
$product->customfields as $field) {
if (
$field->is_hidden //OSP http://forum.virtuemart.net/index.php?topic=99320.0
continue;
if (
$field->display) { ?>

<span class="product-field-display"><?php echo $field->display ?></span>
<?php ?> <?php ?> <?php }  ?>


but   customfieldssort[something]
(layout position on category view)

I dont think you can do this

what do you want to display?

I have some custom fields mmm maybe 7 or 8 string and i want to see only 3 strings of 8 in category view
2) but with this solution custom field description can't show label?

i have followed this
if (!empty($product->customfields)) {
    foreach ($product->customfields as $k => $custom) {
if (!empty($custom->layout_pos)) {
    $product->customfieldsSorted[$custom->layout_pos][] = $custom;
    unset($product->customfields[$k]);
}
    }
    $product->customfieldsSorted['normal'] = $product->customfields;
    unset($product->customfields);
}

the problem is inculde this in precedent code to reach a read of layout position oh customfield
but i dn't know how...


InvitesCouture

I am trying to add an option to my products to add personalization. for example. I sell invitations. the block stock price is set, but I want to add an option to check a box to add personalization for $5.00 per box. I was able to do this in vm1 but can not figure it out in VM2
I would prefer a check box or a button selection for yes or no and not a drop down screen.

Thanks in advance for your time

noblefx

Quote from: PRO on December 19, 2012, 21:36:54 PM
look at this thread
http://forum.virtuemart.net/index.php?topic=100191.0

Hello
You are really doing a great job help us here... I have gone through the thread but i want the details view to be tabbed like the one below:
http://www.boohoo.com/restofworld/sale/dresses/icat/saledresses/dresses/florence-lace-trim-shift-dress/invt/azz58820
I also want to change the positions of "related products" and "Recently viewed" as it is in the link above.
Thanks

Scargo

Hy All!

I'm building a site for my mobile phone collection. I use custom field. NAme: NETWORK/HÁLÓZAT. The value may be 900 mhz; 1800 mhz; 1900 mhz; CDMA; etc...
How I can select multiple options - probably spam -ample 900 and 1800 mhz in network custom field, on admin site/product/custom fields and not just one?

Thx.

Scargo
Joomla 2.5; Virtuemart  2.0.18a
The old: gsmmuzeum.hu
The under construction: gsmmuzeum.hu/gsmnew/

PRO

Quote from: Scargo on January 30, 2013, 17:19:38 PM
Hy All!

I'm building a site for my mobile phone collection. I use custom field. NAme: NETWORK/HÁLÓZAT. The value may be 900 mhz; 1800 mhz; 1900 mhz; CDMA; etc...
How I can select multiple options - probably spam -ample 900 and 1800 mhz in network custom field, on admin site/product/custom fields and not just one?

Thx.

Scargo

this thread is not for questions like this.

You will get more help starting a new thread

Scargo

Joomla 2.5; Virtuemart  2.0.18a
The old: gsmmuzeum.hu
The under construction: gsmmuzeum.hu/gsmnew/

juanfer2k

this is for the backend. and adds fields to the items Great.

¿What if the items need a custom message to be printed or embraced?
¿can the user choose a product and add his/her name to it?

This is what we need-

Thanks in advance[/b][/size]

PRO

Quote from: juanfer2k on February 07, 2013, 01:07:08 AM
this is for the backend. and adds fields to the items Great.

¿What if the items need a custom message to be printed or embraced?
¿can the user choose a product and add his/her name to it?

This is what we need-



yes thats called "text input"


There is a plugin that comes with vmart that does this


Seltsian-Void

#74
Quote from: InvitesCouture on January 08, 2013, 19:56:17 PM
I am trying to add an option to my products to add personalization. for example. I sell invitations. the block stock price is set, but I want to add an option to check a box to add personalization for $5.00 per box. I was able to do this in vm1 but can not figure it out in VM2
I would prefer a check box or a button selection for yes or no and not a drop down screen.

Thanks in advance for your time

Hello,

I'm from Czech republic, sorry for my English :-)

I'm looking for the same function in VM 2.0.18a. I have salad shop and I need to add custom field for adding for example "moreover onion" "moreover pepper" etc..Like for example in pizza shop. Is it possible to do that in VM2?

This is great example, what I need (czech pizza website)


Thank You very much