News:

Support the VirtueMart project and become a member

Main Menu

child variants / generic child variants

Started by Christosking, December 22, 2014, 21:23:36 PM

Previous topic - Next topic

Christosking

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

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Christosking

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

balai

Hi Christos

Try to lower the error reporting level.

Go to Global Configuration > Server and set Error Reporting to "System Default"

bluezeyes

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]

balai

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)

Christosking

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.

sandstorm

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]
J3.6.4 / PHP7.0.12
VM3.0.16

GJC Web Design

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
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation