Results 1 to 10 of 11

Hybrid View

  1. #1
    Join Date
    Aug 2008
    Location
    Adelaide
    Posts
    7
    Plugin Contributions
    0

    Default Category Page lost when adding Products

    Hi

    I am trying to set up a site for somebody, and thought I had it all going well until I tried adding in Products.

    When I add in the Category, it all works fine.

    Once I add in the Product, the Category page disappears altogether.

    I was wondering if anybody had experienced this, as I have trawled through the code, but not been able to find what I have done wrong.

    The url is http://drainingthekeg.brinkster.net/Serena/

    Thanks in advance

  2. #2
    Join Date
    Jul 2008
    Location
    India
    Posts
    46
    Plugin Contributions
    0

    Default Re: Category Page lost when adding Products

    Quote Originally Posted by toltec7 View Post
    Hi

    I am trying to set up a site for somebody, and thought I had it all going well until I tried adding in Products.

    When I add in the Category, it all works fine.

    Once I add in the Product, the Category page disappears altogether.

    I was wondering if anybody had experienced this, as I have trawled through the code, but not been able to find what I have done wrong.

    The url is http://drainingthekeg.brinkster.net/Serena/

    Thanks in advance
    Disable your category infobox and try adding products if it's done then there may be some errors in the leftcolumn or categories box files.

  3. #3
    Join Date
    Aug 2008
    Location
    Adelaide
    Posts
    7
    Plugin Contributions
    0

    Default Re: Category Page lost when adding Products

    Thanks for that, it has got me going

    I have found that if I click on the url, I get sent to the page http://drainingthekeg.brinkster.net/...=index&cPath=6

    which displays nothing, but if I add in _11 (the product id) to the end, I get the page, so for some reason, the code is not appending the product id to the url

    If anyone could perhaps point me to where this is located in the files, it would be a great help, as php is a new language to me, and I am not up on it.

    Thanks ofr the help so far Amit001, it at least pointed me in the right direction

    cheers

  4. #4
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Category Page lost when adding Products

    The product id is not supposed to be included in the cPath for the listing (category) page. What you are getting is a notice that there are no products in subcategory 6_11.

    The problem is probably not in left column or sidebox files, but something more fundamental, since there is no output whatsoever on the problem page.

  5. #5
    Join Date
    Aug 2008
    Location
    Adelaide
    Posts
    7
    Plugin Contributions
    0

    Default Re: Category Page lost when adding Products

    This is getting weirder all the time.

    I have chacked the permissions, and the help at Brinkster have done the same

    I have checked the database, and the products_to_categories table shows the correct linking between the category and the product, so I am almost certain it must be in the code where the linking happens at run time.

    If anybody is aware of where this is, could they please let me know.

    I have looked, but as I said php is still a learning language for me, so it is a kind of futile search at the moment.

    I have also done a 'Beyond Compare' on the original code (the downloaded zen-cart-v1.3.8a-full-fileset-12112007 version) and my code, and there is no difference that I can see.

  6. #6
    Join Date
    Aug 2008
    Location
    Adelaide
    Posts
    7
    Plugin Contributions
    0

    Default Re: Category Page lost when adding Products

    Also have just noticed that, while the table products_to_categories looks to be set OK, I do not have any records in the table product_types_to_category

    I do not know if this is required, but I would have been assuming that it would be.

 

 

Similar Threads

  1. Page loads blank when adding products to cart
    By ashjones86 in forum General Questions
    Replies: 1
    Last Post: 25 Mar 2011, 09:16 PM
  2. Adding image landing page when selecting CATEGORY
    By techiegirl in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 18 Apr 2010, 02:27 AM
  3. Problem with Products Page when Adding New Items
    By Tatter in forum General Questions
    Replies: 9
    Last Post: 24 Jun 2008, 06:55 PM
  4. Slow page load times when listing products in a sub-category
    By gluckfs in forum General Questions
    Replies: 9
    Last Post: 26 Feb 2007, 08:18 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg