Product Drop Down List for Virtuemart 
Version
2.0 (last update on Mar 6, 2009)
Rating
Compatibility
Votes
7
Favoured
8
License
GPL
Non-Commercial
Type
Views
19520
Date Added
17 October 2008
It is loosely based upon Ken Wong's "Products in list form" and modified by ourselves to make it SEF friendly and by Max Guglielmino to make it truncate to fit left/right hand columns. This module now works in native mode on Joomla 1.5 & VM 1.1 as well as Joomla 1.0 and VM 1.0. You can get both versions from my download site. The module works in conjunction with Artio's JoomSEF to generate human-friendly URLs to make your shop much more search-engine-friendly.
The features for the module are : When user selects a product or a category they will be redirected to product or category detail page. Categories and products can be ordered by name, SKU &c. You may choose to show only published products, all products, or products entered by date (from and to date)
See Joomla 1.0 example here: http://www.hypnosisbookshop.co.uk//on-line-shop.html
See Joomla 1.5 example here: http://www.sugarclothing.co.uk
It will take the width of your widest product name so please bear in mind that it will not fit the left or right hand columns if your product names are long!
IMHO this should be part of core VM.
Download the Joomla 1.5 version by clicking on the usual download button or follow this link:
http://lightquick.co.uk/virtuemart-downloads/virtuemart-drop-down-product-list-sef-joomla-1.5.html
The Joomla 1.0 version is here:
http://lightquick.co.uk/virtuemart-downloads/mod-product-list-sef.html
If you are going to use this module on your site then please do so, all we ask is that you give us a little positive feedback here on the JED. It is nice to know we are not working in a vacuum and that our small effort is appreciated!
Yereverluvinunclebert
byuntisump on February 12, 2010
This is a great module and works fine until there's only one published.
If two are published at once site stops at error.
Is there a possibility to fix the module to allow two or more on the same site?
Thank you! Great work!
If two are published at once site stops at error.
Is there a possibility to fix the module to allow two or more on the same site?
Thank you! Great work!
bymxgs on December 7, 2009
hi
if anyone is interested, i've implemented a little tweak to shorten the list names. maybe the value it's set to could be made part of the module params?
this is the hack:
before the line outputting the tag html:
$html .= "\n\t" . $t . "";
i've inserted a call to a function:
if (strlen($t) > 20) {
$t = truncstring($t, 20);
$t = $t."...";
}
where 20 is my chosen numbers of characters after which i wanted 3 dots "..."
i've placed the function truncstring() right after the ending of the selectList() function (which reads
" return $html;
}"
):
function truncstring($string, $length){
settype($string, 'string');
settype($length, 'integer');
for($a = 0; $a
if anyone is interested, i've implemented a little tweak to shorten the list names. maybe the value it's set to could be made part of the module params?
this is the hack:
before the line outputting the tag html:
$html .= "\n\t" . $t . "";
i've inserted a call to a function:
if (strlen($t) > 20) {
$t = truncstring($t, 20);
$t = $t."...";
}
where 20 is my chosen numbers of characters after which i wanted 3 dots "..."
i've placed the function truncstring() right after the ending of the selectList() function (which reads
" return $html;
}"
):
function truncstring($string, $length){
settype($string, 'string');
settype($length, 'integer');
for($a = 0; $a
Owner's reply
Thanks Max, your efforts are appreciated.
byMackavi on April 17, 2009
I downloaded this as an after thought to using their live search box and landed up keeping this instead. It was simple to install and by placing above the main body of the VM allows users to easily access your products. I can see that the list would be too long for a large shop, but then perhaps an option to select which categories are listed might be a possibility in future. Great work!
Owner's reply
I will work on ensuring this has a width control in future - keep an eye out here
bybingbangbong on October 19, 2008
Great product, works well with minimum of fuss. It is too wide for my template column and I don't seem to be able to adjust the width however. Nice job however & a very handy mod
Owner's reply
Quite right, it is too wide if your products have long names as it takes its width from your longest product name.
Therefore, the best place for it is in a module at the top of your content page rather than in the left hand or right hand columns. See it being used like this here:
http://www.goodwoodantiques.co.uk/
On one site I had to reduce the width of some of my product names to make it fit. As soon as I get the chance I will introduce a width control. Keep an eye open here.
Yereverluvinunclebert









