Results 1 to 10 of 16

Hybrid View

  1. #1
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: Show Date Added

    Your URL?
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  2. #2
    Join Date
    Jan 2009
    Posts
    59
    Plugin Contributions
    1

    Default Re: Show Date Added

    My URL is

    www.f u n a d u l t c o s t u m e s .co.uk

    Do you need the URL? I have managed to remove the statemenet - i am just wondering why it needs to be turned off in 2 places - if indeed it does?

    Kev

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

    Default Re: Show Date Added

    Settings in Configuration -> New Listing, Featured Listing and All Listing will affect only those pages. The Product Types setting affects the product info page.

  4. #4
    Join Date
    Jan 2009
    Posts
    59
    Plugin Contributions
    1

    Default Re: Show Date Added

    Thanks gjh,

    perhaps this is a stupid question, but what is the difference between the poduct info page and all listing page?

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

    Default Re: Show Date Added

    "Product info" is the name for the individual product details page.
    I recall that it confused me when I first started working with Zen Cart.

  6. #6
    Join Date
    Jan 2009
    Posts
    59
    Plugin Contributions
    1

    Default Re: Show Date Added

    Thanks Glenn,

    good news and bad news. I have found the "All Listings", "New Listings" and "Product Info" pages now, so I appreciate they are different.

    However, with Admin -> Catalog -> Product Types -> Edit Layout -> SHow Date Added set to 0 (off) and Admin -> Configuration -> New Listings -> Display Date Added set to 2601 (left aligned, order 60, 1 break), the "New Listing" page does not display the date added.

    "New Listing" only shows date added when it is set to 2601 and Catalog -> Product Types -> Layout is 1. Is this correct? A bug maybe?

    Kev

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

    Default Re: Show Date Added

    Hmm, I don't know. One of the first things I ever did with my shop was turn that completely off, so I haven't investigated its behavior.

  8. #8
    Join Date
    Jan 2009
    Posts
    59
    Plugin Contributions
    1

    Default Re: Show Date Added

    Well the logic for it is in here:

    includes\functions\function_lookups.php
    function zen_get_show_product_switch

    First off it gets the product_type (id) from TABLE_PRODUCTS using the appropriate product_id. Lets say it returns id 1, typically "Product - General"

    Next it gets the type_handler (???) from TABLE_PRODUCT_TYPES for the product type id found above. Lets say it finds the handler "product".

    So, so far, even though we are loading the "New Listings"page it still hasn't looked at the settings in Configuration => New Listing -> ....

    Next a string is generated which is (take this on trust, for this example): SHOW_PRODUCT_INFO_DATE_ADDED

    ok - will stop my explanation now....was it helping anyway - I will post the PHP.

    K

 

 

Similar Threads

  1. Show product Added by date
    By dmagic in forum General Questions
    Replies: 1
    Last Post: 26 Dec 2010, 04:29 PM
  2. Easy Populate and the Date added updated to todays date issue.
    By cyphercys in forum All Other Contributions/Addons
    Replies: 5
    Last Post: 9 Mar 2010, 04:26 AM
  3. Do not want to show product quantity or the date it was added ??
    By tanyaleann in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 25 Sep 2008, 12:23 AM
  4. Quick Question: Date Expected vs Date Added
    By ymbd in forum Setting Up Categories, Products, Attributes
    Replies: 14
    Last Post: 16 Aug 2008, 05:00 PM
  5. Date added will not show (or turn on to display)
    By jeffmic in forum General Questions
    Replies: 10
    Last Post: 12 Oct 2007, 08:40 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