News:

Support the VirtueMart project and become a member

Main Menu

Custom Fields prices are not shown in Checkout

Started by alphadan, December 07, 2013, 05:56:47 AM

Previous topic - Next topic

alphadan

Using
Virtuemart 2.0.25d
Joomla 2.5.11
PHP 5.4.19
Windows 8

The custom fields are added even the names are shown but the prices are missing, they are taken in account cause the total price reflects it.

also tried the fixes in this post:

https://forum.virtuemart.net/index.php?topic=103126.45

when I tried to patch this:

foreach($variantmods as $selected=>$variant){

I noticed that this line is already replaced with the old line commented

and when i tried replace the Customfields.php with the one provided by Milbo it makes things worse since it just shows

coulnt be found...
custom field1
coulnt be found...
custom field2
coulnt be found...
custom field3


these fixes were for the version 2.0.7, I think could be somethign else generating a very similar problem.


This is my live site made for tests so you can check the problem by yourself

http://tuwebprofesional.net/Taller/

jjk

Looks like you found your problem meanwhile. The price is correctly shown in the cart when I add some product options which have an additional charge. VM2 does not show the individual additional prices for each option in the cart, just the accumulated total price. It's probably possible to display the additional price for each option with a few changes in the php code of the cart view, but I never tried that.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

alphadan

Ohh k,  I though it was a bug but it doesnt seen to be very hard to do since the the prices are taken in to account they just need to be displayed, I think this changes have to be done in the invoice creation also in the order view.

this feature has to be useful for everyone, Ill try to do that but my php skills are not that good.


Also is there another way to do this?

May be with parent and child products or somethign?

Thx for your time.

jjk

Quote from: alphadan on December 09, 2013, 01:33:48 AM
this feature has to be useful for everyone...
I suppose you are the first one who asked for this.  ;)
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations