VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: lindapowers on February 07, 2017, 14:26:16 PM

Title: Custom field type property
Post by: lindapowers on February 07, 2017, 14:26:16 PM
Hi

Please check the custom field of type property.

Some weird acting on our installation at least,

the weight is correctly displayed but there is a box next to it where only numeric values are allowed so I assume is to override the value taken from the product weight.

For the SKU and the alias it returns no value.

Regards

VM.3.0.19.4 J 3.6.5

I tried testing it at vm demo to make sure is not an issue on my installation but there is no custom field of this type created.

Title: Re: Custom field type property
Post by: Milbo on February 07, 2017, 21:01:22 PM
NO, read the description. You can enter the digits to round it. I also explained that often here in the forum.
Title: Re: Custom field type property
Post by: lindapowers on February 08, 2017, 11:49:35 AM
Can't read description cause the keys are showing (even in english)

COM_VIRTUEMART_CUSTOM_PARAM_ROUND

COM_VIRTUEMART_CUSTOM_PARAM_ROUND_DESC

The only value that works for us is the weight which is the one we need but check sku or alias by adding the custom field in a product.
Title: Re: Custom field type property
Post by: Milbo on February 08, 2017, 12:31:36 PM
COM_VIRTUEMART_CUSTOM_PARAM_ROUND
okey, but ROUND gives a hint. Just use for example 2, to get for example 2.00 kg

"but check sku or alias by adding the custom field in a product." ????
Title: Re: Custom field type property
Post by: Jörgen on February 08, 2017, 12:54:08 PM
Hello

SKU and alias does seem to only accept digits:

SKU = 90-9010-01

Displays as: 90

regards

Jörgen @ Kreativ Fotografi

Title: Re: Custom field type property
Post by: lindapowers on February 08, 2017, 13:29:34 PM
I think is my fault that I didn't explain myself correctly.

First we have the custom field itself at VM with the rounding that you showed me and then the custom field applied in the product details tab.

The number 1 appears by default when adding those fields with rounding selected but the report is that in frontend some of the selected properties show value 0.

I noticed it by mistake when I added the weight that works fine for us and is the only one we use and then tested a few which returned 0 value.

(https://s28.postimg.org/xn7hjqx4d/vm_property.jpg)


(https://s23.postimg.org/cxvb58igb/vm_property2.jpg)
Title: Re: Custom field type property
Post by: Jörgen on February 08, 2017, 14:17:53 PM
Hello lindapowers

This is probably what I see to.

SKU displays as: 90 (should be 90-9010-01)
sef alias displays as: 0

I thought the first time was clear enough :)

Jörgen @ Kreativ Fotografi
Title: Re: Custom field type property
Post by: Milbo on February 08, 2017, 14:21:55 PM
yeh because you should not enter anything in the value field. Property sku, takes the SKU of your product, you must not enter anything.

Create a product pattern and you set the sku one time for all products.

The value field is for rounding. for numbers.
Title: Re: Custom field type property
Post by: Jörgen on February 08, 2017, 15:00:37 PM
Hello I do not enter anything in the rounding field. I actually tested delete the data, but it is autofilled with 0 again.

This happens as soon as You tick either NO or Yes for the rounding box. I don´t think this is very clear. If both the NO AND the YES are left unticked it works. But as soon as You tick either it can not be undone.

regards

Jörgen @ Kreativ Fotografi
Title: Re: Custom field type property
Post by: lindapowers on February 08, 2017, 16:30:31 PM
Exactly what Jorgen explained :)
Title: Re: Custom field type property
Post by: Milbo on February 09, 2017, 00:53:57 AM
Thank you, I fixed it by adding another param