how to show the value of a custom field in the product details page? [solved]

Started by owegen, August 12, 2014, 22:00:16 PM

Previous topic - Next topic

GJC Web Design

If you pay my normal rate no prob - email me if you need me..
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

Milbo

Learn how todo layout overriding http://docs.virtuemart.net/tutorials/templating-layouts/78-introduction-template-system.html

open the default.php, search for


if (!empty($this->product->customfieldsSorted['normal'])) {
$this->position = 'normal';
echo $this->loadTemplate('customfields');
    }


Place that somewhere in your layout. Change the word normal to something like "mypos", or what you want. Give your customfield the position mypos and thats it mainly.

Or ask GJC, or ask me, or jenkinhill
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/