Jump to content

Manufacturer List Problem


Recommended Posts

Hi,

 

I have a problem with manufacturer list. I've added 22 manufacturers, however at list view there are only 12 of them listed despite the fact, that in total it shows 22.

 

What is more, it shows that there are no products assigned to manufacturers, despite that products are assigned, for example Ray-Ban - 78 products.

 

Moreover descriptions are not displayed too and headings are not clickable.

 

Link ->

 

http://www.okularowy.pl/producenci

 

Thanks for help in advance.

 

Regards.

Link to comment
Share on other sites

Well the # listed is correct if you look at bottom of page you will see page 2 this is the same as the product page.

You can change this in Preferences, products but would also effect the products pages.

 

As to why products are not displayed are you sure that when you enter the products in the Association tab you selected the Manufacturer for each product.

The Headings are not clickable because there are no products associated at least that what it thinks.

 

As a test I changed your manufacturers_list.tpl with mine using Google inspector and my Manufacturers showed so either there is an issue with the tpl file or the associations were not made or not recorded to the database.

 

Add an image to the first couple and see if that shows in the FO.

 

Please double check the associations, you could also look at the database ps_manufacturer, ps_manufacturer_lang & pr_manufacturer_shop and see if all info is correct.

 

You could also turn on error reporting go to config folder and edit defines.inc.php and change false to true save the file load the Manufacturer page and see if an error appears.

 

/* Debug only */
if (!defined('_PS_MODE_DEV_')) {
define('_PS_MODE_DEV_', true);
Link to comment
Share on other sites

I have checked the associations of the products in presta panel and sql. It looks good. However I have changed view from 12 to 25 objects and now i can see the rest. The description, photos are visible. However every single products seems to be assigned to ray-ban category (id 2) which is first manufacturer id number in my store.

 

When you go to ray-ban manufacturer, there are only 62 elements and thats right.

 

http://www.okularowy.pl/okulary/2_ray-ban

 

When you go to any other manufacturer, there are products assigned to the category and it that works fine too.

 

http://www.okularowy.pl/okulary/6_vogue

 

But... in manufacturers_list.tpl as you can see. Every single product (including disabled products) are assigned to first manufacturer id.

 

I tried to look at this in debug mode and there are no errors listed.

 

Have you got any other ideas? Thank you for your reply.

 

So te main problem is that all products in this view are assigned to one manufacturer. I've tried to use default tpl and didn't help.

 

http://oi66.tinypic.com/2zyzxx4.jpg

Edited by Cebrzyna (see edit history)
Link to comment
Share on other sites

Check the database ps_products the third row is the manufacturer_id see if the products have the correct ID for the manufacturer they are assigned to.

 

Look at the structure of the table it should show how the entries are defined in case your is different.

 

Export the Products table and post the .sql here if you have to, if forum wont let you upload .sql change to .txt.

Link to comment
Share on other sites

  • 2 weeks later...

Sorry for my late response. I have missed your reply. Unfortunately the problem still occurs and drivin me crazy...

 

I have checked products database and everythning seems to be fine, because products are assigned to different manufacturers. However in this single view (manufacturer.tpl) the number of products are wrong.

 

I have uploaded txt database file here:

 

http://okularowy.pl/ps_product_sql.txt

 

Couple of the products from the beginning are assigned to 2 (ray-ban ID), but there are products with different manufacturers id.

 

It would be great if you have any other ideas.

 

Thank you in advance.

Link to comment
Share on other sites

  • 9 months later...

I have the same problem. In DevMode and trying to throw {$manufacturer.nb_products} it shows this error:

 

Notice: Undefined index: nb_products in /home/.../domains/.../public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 159

 

Therefore all conditions using $manufacturer.nb_products are always false. Trying to find a fix...

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...