News:

Looking for documentation? Take a look on our wiki

Main Menu

Manufacturer Problems

Started by CreativeDesigns, September 13, 2012, 17:14:46 PM

Previous topic - Next topic

CreativeDesigns

Hi Guys,

Please assist me..
URL: http://www.stylenouveau.co.za/
On the top of the page is a link for BRANDS. Click that and it shows you the different Manufacturers. That's great!
The problem now comes in when you select one of those brands.

It takes you to a page that asks you to click another link to view that particular brand.. (which we don't want it to do)

Then for fun, let's click that link.. And now it takes us to all the different categories. (which it shouldn't do)..
But let's humour the system and click on a category anyways..

Now it brings up Sub-Categories..
so click on a sub category and it brings up the entire product list that falls under the sub category - not even the manufacturer!

So essentially what im saying is that this is completely screwed up.

How can this be fixed?

ivus

Hi CreativeDesigns,

Lets break this down...

Quote
On the top of the page is a link for BRANDS. Click that and it shows you the different Manufacturers. That's great!
The problem now comes in when you select one of those brands.
-- so far so good.

Quote
It takes you to a page that asks you to click another link to view that particular brand.. (which we don't want it to do)
-- is this set as the MANUFACTURER DEFAULT LAYOUT? if so then this is correct as it should display all manufacturers in that specific category

Quote
Then for fun, let's click that link.. And now it takes us to all the different categories. (which it shouldn't do)..
But let's humour the system and click on a category anyways..
-- The categories at the top part of your page is your standard categories. NOT specific to the manufacturer
-- The manufacturer specific products are listed in the bottom half of your page. If there are no products assigned to that manufacturer then no products will appear
-- You can remove the category list by editing your template.

Quote
Now it brings up Sub-Categories..
so click on a sub category and it brings up the entire product list that falls under the sub category - not even the manufacturer!
-- You just clicked on a standard category, so this is the correct action/path the system should take.

So you see it's not really a bug.


CreativeDesigns

#2
Hi Ivus

Thank you so much for your response.
Firstly, you say that I can remove the Category List by editing my template.
Would you be able to tell me how to do that?

My client swore to me that she had updated all the manufacturers on VM, but clearly she hasn't, so I apologise for wasting your time.
You really have shed a lot of light on this subject for me :)

I guess I tested on a really crummy category! lol!

ivus



ivus

gonna need to see the template code for the following:

/manufacturer/default.php
/manufacturer/details.php

CreativeDesigns

Hi Ivus,

I have attached a zip with the 2 files in it.
I hope they are the correct files.
I have located them in components/com_virtuemrt/views/manufacturer/tmpl



[attachment cleanup by admin]

ivus

Nope..

they should come from your templates folder.

/templates/YOUR_TEMPLATE/html/com_virtuemart/manufacturer/

CreativeDesigns

There is no Manufacturer folder within /templates/YOUR_TEMPLATE/html/com_virtuemart/

In that com_virtuemart folder, I've got the following folders:
-askquestion
- cart
- category
- orders
- productdetails
- user
- virtuemart


I have opened all of them, and none of them have any reference to manufacturer.

Do you want me to PM you the FTP details. Would that help?

ivus

ok i need this file

/templates/YOUR_TEMPLATE/html/com_virtuemart/category/default.php

CreativeDesigns

Sure thing. It's attached :)

[attachment cleanup by admin]

ivus

Try that for size.

[attachment cleanup by admin]

CreativeDesigns

YAY! It looks great!
Is there a way of bypassing this link when clicking the brand?
http://www.stylenouveau.co.za/brands/manufacturers/aldo-brue.html

ivus

only if you have one manufacturer category and all your brands are in that category.

CreativeDesigns

We have a number of Parent categories with all their products in them.
Is there any way around this?