Forums / General Questions / Link issue - main_page=product_info / main_page=_info

Link issue - main_page=product_info / main_page=_info

Locked

Views: 15,547

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
29 Nov 2006, 7:23 AM
#1
chrome_orange avatar

chrome_orange

Totally Zenned

Join Date:
Jun 2004
Posts:
457
Plugin Contributions:
0

Link issue - main_page=product_info / main_page=_info

Ok, new one on me!

basically I bulk added 150 something products to a shop (8 categories) and it all worked fine. I have done another 80 odd this morning using exactly the same method and got a strange problem.

the first link is what is shown when I click to see the product details of any of the products from the first batch. The second is the link for the new category of products.

If I modify the address bar manually then the product shows properly, although the next and previous links use _info instead of product_info.

Given that I haven't messed with any of the files that display products yet does anyone have any ideas as to what I have done?

index.php?main_page=product_info&cPath=1&products_id=5

index.php?main_page=_info&cPath=9&products_id=157

If anyone desperately needs to see the site its here - vaseslondon.co.uk/index.php it's still very much a work in progress and, no, I'm ot a fan of the blue either.

The problem category is 'Glass'

3 Dec 2006, 5:47 AM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Link issue - main_page=product_info / main_page=_info

Sounds like the products do not have the products_type set in the products table ...

The table product_types should have 5 Product Types defined ... all Products in the products table should have a products_type that matches the type_id from the products_type table ...

Without this, the proper product _info page name cannot be built from the handler ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

3 Dec 2006, 8:45 AM
#3
chrome_orange avatar

chrome_orange

Totally Zenned

Join Date:
Jun 2004
Posts:
457
Plugin Contributions:
0

Re: Link issue - main_page=product_info / main_page=_info

genius!

You were, of course, correct.

Thanks

3 Dec 2006, 6:29 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Link issue - main_page=product_info / main_page=_info

Thanks for the update and glad you found that the missing products_type was the cause of the incorrectly built filename ... :smile:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

7 May 2010, 4:11 AM
#5
web_shop avatar

web_shop

New Zenner

Join Date:
May 2010
Posts:
2
Plugin Contributions:
0

Re: Link issue - main_page=product_info / main_page=_info

Hello,

I too have the same Issue

index.php?main_page=product_info&cPath=1&products_id=5

index.php?main_page=_info&cPath=9&products_id=157

I have the products_types table loaded with data and products Table has product_types but still the problem is not solved

Can any one help me with this

7 May 2010, 4:34 AM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Link issue - main_page=product_info / main_page=_info

The spelling of the handle is important and you cannot just make them up without creating a full set of files to run them ...

If you have not created a full set of files to run them, then change the Product Type handle back to the original values ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!