Author Topic: How do you change path for Manufacture links  (Read 611 times)

spyderwebdesign

  • Jr. Member
  • **
  • Posts: 131
How do you change path for Manufacture links
« on: June 16, 2012, 19:39:31 PM »
Under manufactures, when you click a manufacture, you are taken to a manufacture page. How can I change this link so that the use goes to the page where all of the manufacture's products show. It is the link as "View all 'manufacture' Products" that is on the manufacture information page.

spyderwebdesign

  • Jr. Member
  • **
  • Posts: 131
Re: How do you change path for Manufacture links
« Reply #1 on: June 19, 2012, 19:50:57 PM »
someone has to know the answer to this.

For extra clarification... When you click a manufacture you are taken to a page similar to this
http://www.likdancewear.com/component/virtuemart/manufacturers/the-highest-heel2012-05-24-06-56-291100574325.html?Itemid=0

I would like to change this link to just show the user all of the products from that manufacture like this.
http://www.likdancewear.com/component/virtuemart/manufacturer/the-highest-heel2012-05-24-06-56-291100574325.html

dsrpmedia

  • Full Member
  • ***
  • Posts: 234
Re: How do you change path for Manufacture links
« Reply #2 on: June 19, 2012, 20:12:33 PM »
it is this link

index.php?option=com_virtuemart&view=manufacturer&virtuemart_manufacturer_id=

in modules/mod_virtuemart_manufacturer/tmpl/default.php

lines 13  & 48 
$link = JROUTE::_('index.php?option=com_virtuemart&view=manufacturer&virtuemart_manufacturer_id=' . $manufacturer->virtuemart_manufacturer_id);

should be

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

aadilk4

  • Beginner
  • *
  • Posts: 6
Re: How do you change path for Manufacture links
« Reply #3 on: June 24, 2012, 07:25:00 AM »
ive tried changing lines 13 and lines 48, i still have the same problem, i would like it to display the products under the manufacturers page, how do i go about changing it so that when i click the manufacturer, it shows me all the products under that manufacturers link!

spyderwebdesign

  • Jr. Member
  • **
  • Posts: 131
Re: How do you change path for Manufacture links
« Reply #4 on: June 24, 2012, 08:01:42 AM »
ive tried changing lines 13 and lines 48, i still have the same problem, i would like it to display the products under the manufacturers page, how do i go about changing it so that when i click the manufacturer, it shows me all the products under that manufacturers link!

I followed dsp instructions and it works for me. Check out my site as proof. www.likdancewear.com If you click the manufacture name, then all of the products for that manufacture show.

Did you upload your file back to your server? Does your hosting server take a few minutes for the changed file to take effect?

rhb1972

  • Beginner
  • *
  • Posts: 1
Re: How do you change path for Manufacture links
« Reply #5 on: June 27, 2012, 12:25:40 PM »
Sorry for my bad English, I write from Chile and I tell them that the solution proposed by dsrpmedia worked perfectly.

I am very grateful because I was breaking my head for some time with this.

Thanks!!

dsrpmedia

  • Full Member
  • ***
  • Posts: 234
Re: How do you change path for Manufacture links
« Reply #6 on: June 27, 2012, 12:35:11 PM »
Glad to help!  ;)

VirtueMart Forum

Re: How do you change path for Manufacture links
« Reply #6 on: June 27, 2012, 12:35:11 PM »