News:

Support the VirtueMart project and become a member

Main Menu

custom fields (hide the additional cost product details page)

Started by goldenprizm, February 11, 2013, 02:55:52 AM

Previous topic - Next topic

goldenprizm

Joomla:  2.5.8
Virtuemart:  2.0.18a

I created a custom field with a value and a price.  I need hide the custom field price until checkout.  Can anyone lead me in the right direction.
Right now it is adding the custom price on the product details.

so it looks like this:
Original price 25.00
Custom Field +4
total price is 28.00

I need it to look like this
Original price 25.00
Custom field will be displayed only when product is added to cart then the total will be 28.00

Snostar

I would love to know the answer to this also....been trying to figure it for awhile.

GJC Web Design

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

Snostar

what is a page dependant css?   Would I have to creat a new css?

goldenprizm

Not a css issue....   

I already tried to hide the custom field in the product detail page but when you do that it does not add the custom field to the cart.  There got to be something in the php where we can make the adjustment.

goldenprizm

we'll this it what i did and it seems to work

try using this as a price on you product details....

<?php  echo number_format($this->product->prices['salesPrice'], 2, '.', '.');  ?>
Still testing