VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: Christosking on December 22, 2014, 21:23:36 PM

Title: child variants / generic child variants
Post by: Christosking on December 22, 2014, 21:23:36 PM
Hallo!
Nice to see you everybody! May I ask for little help with something?

I am using the latest VM version and I have the following problem:
I try to create a parent product and add a list of different choises (for example to choose between different weights of the same product). I manage to create the list but when I choose a child product from the list, nothing would happen. I mean that the price of the product does not change, but remains stuck to the parent product's price.
I try to do this by choosing "child variant" or "generic child variant" in the "custom fields" but the same happens with both. The price always remain stuck.
I don't know if anything has to do with this but in "custom fields" I have always appeared this message:
Warning: SimpleXMLElement::xpath(): Unfinished literal in C:\Inetpub\vhosts\xxxxxxxxxx.com\httpdocs\joomla\libraries\joomla\form\form.php on line 1545 Warning: SimpleXMLElement::xpath(): xmlXPathEval: evaluation failed in C:\Inetpub\vhosts\xxxxxxxxx.com\httpdocs\joomla\libraries\joomla\form\form.php on line 1545.
I would appreciate every idea that you might have and maybe would be helpful if I tell you that I am very new to all these stuff.
Thank you very much!

Christos
Title: Re: child variants / generic child variants
Post by: jenkinhill on December 22, 2014, 23:25:50 PM
Please specify what you mean by "Latest VM" - http://forum.virtuemart.net/index.php?topic=79799.0
Title: Re: child variants / generic child variants
Post by: Christosking on December 22, 2014, 23:40:50 PM
I mean the virtuemart 3.0.2 (downloaded the zip file from here: http://dev.virtuemart.net/projects/virtuemart/files)  which installed on joomla 3.3.6.
I have tried also other custom field types (string for example) but nothing... The price remains frozen, like there is no connection between the price and the list.
Title: Re: child variants / generic child variants
Post by: balai on December 23, 2014, 16:48:19 PM
Hi Christos

Try to lower the error reporting level.

Go to Global Configuration > Server and set Error Reporting to "System Default"
Title: Re: child variants / generic child variants
Post by: bluezeyes on December 24, 2014, 03:07:30 AM
Thanks for the tip balalai,  that help for me,  but isn't this just another  .. If I don't see it it don't happen... thing?

Better it would be,  the should be not happen those errors..  Mhh will wait n hope that the Devs will fix it without just blend it out..  [emoji6]
Title: Re: child variants / generic child variants
Post by: balai on December 24, 2014, 10:49:40 AM
Yes i agree but in that stage it is better to avoid hacks.
Also they are not errors but php warnings (much lower level than errors)
Title: Re: child variants / generic child variants
Post by: Christosking on December 24, 2014, 20:48:23 PM
Thank you! I got rid of those php warnings!...
But still "cart attribute" does not work for me...The price does not change...  ??? If you could also help me with that I would be gratefull.
Title: Re: child variants / generic child variants
Post by: sandstorm on January 09, 2015, 15:00:56 PM
I'm using joomla 3.3.6, VM3.02 on a test site with only virtuemart sample data installed and am getting the same errors.

I went into global config > Server and set error reporting to none. but I still see them

[attachment cleanup by admin]
Title: Re: child variants / generic child variants
Post by: GJC Web Design on January 09, 2015, 15:07:51 PM
is fixed on 3.0.3  - to released shortly

try error_reporting( E_ERROR | E_PARSE | E_CORE_ERROR | E_CORE_WARNING | E_COMPILE_ERROR | E_COMPILE_WARNING );

in both index.php