News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Show customfields in the productlist?

Started by be, October 28, 2012, 02:36:14 AM

Previous topic - Next topic

be

Hi,
how could show some of the customfields in the product list, gladly through overrides?
And if is there a possibility to control which of theese will be displayed?

BR

PS: Joomla 2.5.7 and Virtuemart 2.0.12f

PolishedGeek

Don't quite follow your question. Can you give an example?
~ Deb Cinkus, CEO
Polished Geek, LLC   |    www.PolishedGeek.com

Creators of JoomLister - eBay Lister for Joomla!

be

#2
Hi,
I have a customfield ,,author", it is a bookshop.
And now I´ll show this also on the categorylist.
I have added a screenshot.

BR

EDIT: I have done it now with a DB-query:

$db2 = JFactory::getDBO();
$db2->setQuery("SELECT custom_value FROM #__virtuemart_product_customfields WHERE virtuemart_product_id=".$product->virtuemart_product_id." and virtuemart_custom_id=17 ;"); 
$db2->query();
$resultauthor = $db2->loadResult();


[attachment cleanup by admin]