Page 43 of 65 FirstFirst ... 33414243444553 ... LastLast
Results 421 to 430 of 647
  1. #421
    Join Date
    Aug 2005
    Posts
    26
    Plugin Contributions
    0

    Default Re: Product Type Book (by moku)

    Is this module not available anymore? The download site seems to be, well... down?

  2. #422
    Join Date
    May 2006
    Posts
    80
    Plugin Contributions
    0

    Default Re: Product Type Book (by moku)

    Quote Originally Posted by dgcdesign View Post
    Is this module not available anymore? The download site seems to be, well... down?
    There is a lot of links to where the mod used to be. The latest is available here:

    http://www.jphuk.co.uk/zc/index.php?...roducts_id=490

  3. #423
    Join Date
    Nov 2004
    Location
    U.K. South Wales
    Posts
    501
    Plugin Contributions
    0

    Default Re: Product Type Book (by moku)

    Hi
    The email advices are not working for me yet again, so I don't know what posts are solved without trekking back through the list.. I moved house recently so its a bit chaotic here. And I'm slightly out of touch with book product..
    However
    tHis is my test site for book product in single language
    http://www.jphuk.co.uk/zc138a_t1/

    I seem to remember probs with authors search were possibly originally due to not having a manufacturer in the book product item.. other than that, it works om my demo site?

    The prob with the 'extra' data still showing with a disabled item, I agree, it shows the 'extra' data still, -if there isn't extra data the book item correctly disappears. I will look into this, but did anyone find the code solution?

  4. #424
    Join Date
    Nov 2004
    Location
    U.K. South Wales
    Posts
    501
    Plugin Contributions
    0

    Default Re: Product Type Book (by moku)

    Hi
    It seems to me that the music product does the same thing, shows the extra data, rather than disappearing completely when the item is disabled in admin.

    http://www.jphuk.co.uk/zc138a_t1/ind...&products_id=6
    The above link is my demo site with a music product, the product you see is disabled (red) in my admin, note it has no title

    Would someone check this out on a 1.3.8 zencart by putting a music product in and then disabling it, , see if I'm right

    I'm not saying it isn't a book product bug, but music product seems to have the same thing?
    Reason I checked out music product, is that I compared the book php files code with music product files code, they have similar code in terms of what the coding does.

    Let me know..
    btw of course, add the artist etc extra data into the music product, for the testing..

  5. #425
    Join Date
    Oct 2005
    Location
    Germany
    Posts
    60
    Plugin Contributions
    0

    Default Re: Product Type Book (by moku)

    Hello hareslade,
    this is from the header.php in includes/modules/pages/

    I take it from product_info and it it to product_book_info
    Code:
     
     // if specified product_id is disabled or doesn't exist, ensure that metatags and breadcrumbs don't share inappropriate information
      $sql = "select count(*) as total
              from " . TABLE_PRODUCTS . " p, " .
                       TABLE_PRODUCTS_DESCRIPTION . " pd
              where    p.products_status = '1'
              and      p.products_id = '" . (int)$_GET['products_id'] . "'
              and      pd.products_id = p.products_id
              and      pd.language_id = '" . (int)$_SESSION['languages_id'] . "'";
      $res = $db->Execute($sql);
      if ( $res->fields['total'] < 1 ) {
        unset($_GET['products_id']);
        unset($breadcrumb->_trail[sizeof($breadcrumb->_trail)-1]['title']);
        header('HTTP/1.1 404 Not Found');
    It seems not to work full, but the extras are not shown.

  6. #426
    Join Date
    Nov 2004
    Location
    U.K. South Wales
    Posts
    501
    Plugin Contributions
    0

    Default Re: Product Type Book (by moku)

    HI michaelhl
    The code setup you used from the standard product header isn't the same as the code in the music product file..

    It looks to me like the http 404 header has been added to zencart standard product, but not for music product,
    which explains the posts about search engines not liking book product, which copies the music code.

    The music code probably doesn't allow a 404 header to be written, (where the ordinary product does allow), because the 404 standard product code instructions are in the header, not in main_template_vars.php. You can't write a header after any html is output.

    Technically the separate problem seen with extras data showing, is because the main_template_vars_product_type.php in both music and book product, is running when it shouldn't, i.e its getting 'extras' data.

    main_template_vars.php switches to the 'noproduct' template when there is no product found to display (i.e when it detects the red 'disabled' setting for the product is present). But I don't yet understand why the extras data are apparently showing on the 'info' template - it should have switched to the noproduct template.

    Has anyone tested the music product for the same extras data problem when disabled, yet, as I suggest?

    If it turns out music product is faulty, then really a post should be put in a new main thread, asking for solutions for music product.

  7. #427
    Join Date
    Nov 2007
    Posts
    9
    Plugin Contributions
    0

    Default Re: Product Type Book (by moku)

    Hey Hareslade,

    Have you had any difficulties with your Zen Cart or mod when a shop has upwards 2,000 products?

    I'm in a bit of a bind, which is detailed here: http://www.zen-cart.com/forum/showth...865#post604865

    You don't need to read my entire problem, but I am curious about where I can go for answers in fixing the Zen Cart.

  8. #428
    Join Date
    Nov 2004
    Location
    U.K. South Wales
    Posts
    501
    Plugin Contributions
    0

    Default Re: Product Type Book (by moku)

    the ocarina
    There must be a processing time, or other limit somewhere on every sql request, you found it..
    Either Hostgator has a type of sql processing limit which other hosts may not have,
    or
    the book sql might be proving too unwieldy because of the number of products

    Or if you're showing 'product count' in categories menu links on the pages, turn that off it reduces sql requests.

    Theres also a zencart global debug setting I think, that can show the sql process time period used, at bottom of each page, once you see it, if it says more than say 6 seconds its having trouble

    I think all hosts limit the sql 'power' available per hosted site, as they are normally on servers with say 50 websites, and if one takes all the sql time up, the other sites will grind to a halt.

  9. #429
    Join Date
    Nov 2004
    Location
    U.K. South Wales
    Posts
    501
    Plugin Contributions
    0

    Default Re: Product Type Book (by moku)

    generally... is anyone going to test the music product to see if it behaves the same as book product regarding the 'extra data' see several posts back?

    Without confirmation I'm unable to post in the main forum regarding music product..

    (The book product still shows up on its original url, even if the product has been disabled in admin.. does music product do exactly the same ?)

  10. #430
    Join Date
    Aug 2006
    Posts
    166
    Plugin Contributions
    2

    Default Re: Product Type Book (by moku)

    hi
    the link to download doesn't work. is there any other place where we can find the zip file?
    oops; in between I found it:
    http://www.jphuk.co.uk/zc/index.php?...roducts_id=490
    Last edited by reza; 3 Sep 2008 at 10:48 PM.

 

 
Page 43 of 65 FirstFirst ... 33414243444553 ... LastLast

Similar Threads

  1. Using Book Product Type Extra fields (Book DD2)
    By Beau91324 in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 15 Nov 2009, 08:07 PM
  2. Help Product Type Books (by Moku) broken
    By cshart in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 31 Mar 2007, 03:19 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR