Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

amanda,

 

I am having the same problem that the person whom just posted to your contribution encountered. It finds products, but doesn't display them.

 

Any Ideas?

Posted

I am using the SEF contribution w/ a few mod_ tweaks. I see that someone added a fix and I installed it. I works now, but I cannot get the manufacturers to show up.

Posted
amanda,

 

I am having the same problem that the person whom just posted to your contribution encountered. It finds products, but doesn't display them.

 

Any Ideas?

 

 

the query change for speed is the one in this mod, so in products_info, not in seo_cache.

 

it means change this query which gets to much info :

 

// the requested product could not be found. But we do not give up.

// Check if it was disabled and get the category id of that product

$product_check_query = tep_db_query("select pc.categories_id

from " . TABLE_PRODUCTS . " p,

" . TABLE_PRODUCTS_DESCRIPTION . " pd,

" . TABLE_PRODUCTS_TO_CATEGORIES . " pc

where p.products_status != '1' and

p.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and

pd.products_id = p.products_id and

pd.products_id = pc.products_id and

pd.language_id = '" . (int)$languages_id . "'");

 

 

into this query as we only want the category id:

 

// the requested product could not be found.

// Check if it was disabled and get the category id of that product

$product_check_query = tep_db_query("select categories_id

from " . TABLE_PRODUCTS_TO_CATEGORIES . "

where products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "'");

Treasurer MFC

Posted
I am using the SEF contribution w/ a few mod_ tweaks. I see that someone added a fix and I installed it. I works now, but I cannot get the manufacturers to show up.

 

 

to display the manufacturers, add this to the queries select clause:

 

m.manufacturers_name,

Treasurer MFC

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...