News:

Looking for documentation? Take a look on our wiki

Main Menu

Custom field type property

Started by lindapowers, February 07, 2017, 14:26:16 PM

Previous topic - Next topic

lindapowers

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.


Milbo

NO, read the description. You can enter the digits to round it. I also explained that often here in the forum.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

lindapowers

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.

Milbo

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." ????
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Jörgen

Hello

SKU and alias does seem to only accept digits:

SKU = 90-9010-01

Displays as: 90

regards

Jörgen @ Kreativ Fotografi

Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

lindapowers

#5
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.






Jörgen

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
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

Milbo

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.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Jörgen

#8
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
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

lindapowers

#9
Exactly what Jorgen explained :)

Milbo

Thank you, I fixed it by adding another param
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/