Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Is it possible for one product to be in multiple categories?


fubu

Recommended Posts

Posted

In the Categories/Products is a Copy button ... you have the choice of Copy as Duplicate or Copy as Linked.

 

Linked means that when changed in one Category it is changed in the other as it is the same product.

 

Duplicate makes an identical product but it is now its own product and has no effect on the original.

Posted

but when you link product (in mine at least), it actually duplicates the product number...

 

See my thread. I really need help someone.

 

Kind Regards

Patrick

Posted

A linked product is the same products_id as there is only 1 products_id in the table with that number. But, in the products_to_categories table there are two entries for the product one for each category.

Posted

How can I fix this problem? So that my product appears 2 twice, but only counts as one...?

 

Kind Regards

Patrick

Posted

What snapshot of osCommerce are you using and where do you see the double number of products listed?

Posted

Category counts are how many products in a category.

 

Your categories technically have 68

 

You could turn off the counter in the top level categories so they do not count the linked products. You would have to edit the categories.php box to turn off the counts in just one area.

 

Or just turn off the category counter all together as it's a speed savings.

 

Your counts under What's New are displayed correctly, as it is counting products.

  • 3 years later...
Posted
You could turn off the counter in the top level categories so they do not count the linked products. You would have to edit the categories.php box to turn off the counts in just one area.

 

 

 

Hi..

 

i'm also having the same problem. Currently i have turn the Category Counts to False, but what if i really need the counter? How do i change the code in categories.php so that it wouldn't count the duplicated products?

 

Thanks!

Posted

hi, you don't need the counter, it adds extra DB queries that are unneeded and slows down your site... Can you think of any 1 reason why it should be turned on?

  • 5 months later...
Posted

I just added a number of products to my store.. its about 300 different product codes but the file was about 2500 different because many of the same part number fit into different categories, ie printer models..some of the inks are in as many as 20 different categories or more.

 

 

So after i uploaded all the products via easypopulate.. the store is insanely slow its bearly even a crawl would having the same product in different categories cause this?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...