Hi,
how can i in my override from shop frontpage get shop title? Something like "VmConfig::get('...?
Thanks in advance...
If you only have 1 vendor, you can get the vendor store name like such:
<?php
$db = JFactory::getDBO();
$db->setQuery( 'SELECT vendor_name FROM #__virtuemart_vendors WHERE virtuemart_vendor_id=1' );
$store_name = $db->loadResult();
?>
To get the global site name:
<?php
JFactory::getConfig()->get('sitename');
?>
I think
Hi,
thank you, i want to have this, and i think the second solution is that what i need: http://prntscr.com/4db5qu :)
Many thanks.
You actually want the first solution then.
The second solution is for the field admin->global configuration->Site Name field. This is the name of the site, not the store name within Virtuemart.