Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Responsive Joomla Virtuemart Template - LightMart (SKU# FLEX-00012)

TOPIC: Two steps to go to certain Manufacturer

Two steps to go to certain Manufacturer 10 years 10 months ago #4856

When I click on a manufacturer in left hand menu (Shop by Manufacturer) I am first brought to a page that asks me if I want to view all xxx-products. This middle step is so unnecessary and quite annoying. Isn't there a way to skip this extra step and go directly to f ex www.flexiblewebdesign.com/virtuemart-2-template-lightmart/index.php?option=com_virtuemart&view=category&virtuemart_manufacturer_id=10&Itemid=540

I have searched the Virtuemart forum for a solution, found one, and it seemed to work before the upgrade from LightMart 1.0 to 1.1.
...
forum.virtuemart.net/index.php?topic=101528.0
...
Am I doing something wrong or is it not possible to achieve this at the moment?

Cheers
/Dodo
The administrator has disabled public write access.

Two steps to go to certain Manufacturer 10 years 10 months ago #4864

It is the standard VM manf module... just redo the hacks as per the VM Forum post

Cheers
The administrator has disabled public write access.

Two steps to go to certain Manufacturer 10 years 10 months ago #4873

Hi,

Try this:

Open this PHP file:
ROOT/modules/mod_virtuemart_manufacturer/tmpl/default.php

Look at the 48th line:
$link = JROUTE::_('index.php?option=com_virtuemart&view=manufacturer&virtuemart_manufacturer_id=' . $manufacturer->virtuemart_manufacturer_id);

Replace it with this:
$link = JROUTE::_('index.php?option=com_virtuemart&view=category&virtuemart_manufacturer_id=' . $manufacturer->virtuemart_manufacturer_id);

Then, this will skip the "manufacturer" page, and products from that manufacturer will be listed directly once any manufacturer link is clicked. (no need to click 2nd time to "show all XXX products")

I am sure this is what you are looking for.

Regards.
Support & Development.
The administrator has disabled public write access.

Two steps to go to certain Manufacturer 10 years 10 months ago #4895

Hi.
Sorry, but have done that already, but it doesn't work after upgrade from LightMart 1.0 to 1.1 - I suspect, not sure...

This is the code in this (my) default.php file


Attachment Skrmavbild2013-05-29kl.19.54.31.jpg not found




Attachment Skrmavbild2013-05-29kl.19.55.27.jpg not found



Any ideas why it doesn't work?
The administrator has disabled public write access.

Two steps to go to certain Manufacturer 10 years 10 months ago #4917

again sorry for delays

as I can't reach the test server is there an over-ride in

templates/flexible_lightmart/html/mod_virtuemart_manufacturer/default.php
The administrator has disabled public write access.
Time to create page: 0.121 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo