News:

Looking for documentation? Take a look on our wiki

Main Menu

Is there a way to do a price list like in VM1 like in VM2?

Started by Cholent MT, March 03, 2014, 02:51:33 AM

Previous topic - Next topic

Cholent MT

On my VM1 one site there in a menu item for VM1 and it is a full price list.
I don't see the option for this in VM2
any ideas?

jenkinhill

If I remember correctly, that was a hack for VM1.1 to show the price list, but it is a long, long time since I used that old version.

We do not support hacks for VM2, as extra or different functions can be achieved by plugins or overrides.
With VM2.x the url to display all products is yoursite.com/index.php?option=com_virtuemart&view=category&virtuemart_category_id=0 - all the data is there, you just need to make an override for the normal category default.php so that only the data you need (eg Product Name & sales price) is displayed. Rename the original default.php and use that file as an override for normal category display.

http://docs.virtuemart.net/tutorials/33-templating-layouts.html and http://www.ostraining.com/blog/joomla/overrides
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Cholent MT

Thank you!

I have not resolved the issue yet, but this does seem to be a good lead.

Cholent MT

Where do I find the default.php for categories?

And how do I implement that, for the specific link you sent without changing it for everything on the site?

The link about PHP override does not seem to tell me much but they are there. Maybe you have a link a lil more relevant to this topic and a bit more technical?

Thank you!

Cholent MT

For example I have a products page which uses the category layout. I need to make it separate for the price list, also needs to be a downloadable pdf + printable + viewable on web.