VirtueMart Forum
VirtueMart 1.1.x [ Old version - no longer supported ] => Attributes, Child Products VM 1.1 => Topic started by: alatak on March 01, 2011, 09:40:58 am
-
Hello,
There are problems when using quotes in attributes.
There value are not added into the cart.
The solution is :
in file ps_product_attribute.php
line 993, after
$pagevar = $encodefunc( $pagevar ) ;
to add the following line
$pagevar=addslashes($pagevar);
-
Tried your suggestion but the price doesn't update, it remains the same.
-
Are we sure we are all talking about the same "attributes"? Are we on "Product attributes" (i.e. Parent / Child items) or on "Advanced and Custom Attributes" (i.e. Product Status Tab)?
-
I am referring to Product -> Product Status (tab)-> Attribute List - > Property
-
Hello,
sorry ... I did not ask for notification....
Yes you are right, the price is not updated in that case.
I was talking about :Product -> Product Status (tab)-> Attribute List - > Title
-
The VM 1.1.8 version that I am testing doesn't allow quote in title of Attribute, 'Error: At least one attribute name contains invalid characters (":",".").'
Only in Property of the attribute but then the price is not updated.
-
Hello all,
I've just upgraded to v1.1.9. It appears that in the course of fixing Bug #364, the character validation routine now prohibits the input of decimal point/comma in the property field. As a result, I can no longer enter fractions in decimal form for my properties.
Does anyone have a quick fix to the problem?
-
Hello all,
I've just upgraded to v1.1.9. It appears that in the course of fixing Bug #364, the character validation routine now prohibits the input of decimal point/comma in the property field. As a result, I can no longer enter fractions in decimal form for my properties.
Does anyone have a quick fix to the problem?
Hi,
i have this same problem, answer is in line 181 in file \administrator\components\com_virtuemart\classes\ps_product.php
i comment this line:
// strpos( $property, "." ) or
and now everything looks ok :)
p.s.
sorry for my english
p.s.2
this is a very stupid bug, because i can't use shoes number in atributes:
if i use . (dot) i have an unrecognized error, if use , comma i have a two new atributes (4,5 -> 4 and 5)
-
Absolutely lovely, how can it be that simple?
Anyway, it worked wonderfully.
I hope it doesn't create new troubles when using this decimal point now.
Thanks anyway.