Author Topic: Custom Fields prices are not shown in Checkout  (Read 995 times)

alphadan

  • Beginner
  • *
  • Posts: 5
Custom Fields prices are not shown in Checkout
« on: December 07, 2013, 05:56:47 am »
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

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3533
  • using Matomo instead of Google Analytics
Re: Custom Fields prices are not shown in Checkout
« Reply #1 on: December 08, 2013, 10:33:04 am »
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

  • Beginner
  • *
  • Posts: 5
Re: Custom Fields prices are not shown in Checkout
« Reply #2 on: December 09, 2013, 01:33:48 am »
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

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3533
  • using Matomo instead of Google Analytics
Re: Custom Fields prices are not shown in Checkout
« Reply #3 on: December 09, 2013, 08:12:04 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