Forums / Setting Up Categories, Products, Attributes / Turning off "This product was added to our catalog on..."

Turning off "This product was added to our catalog on..."

Locked

Started by meltdown on 30 Jun 2007, 11:26 AM · Views: 9,607

Results 1 to 17 of 17
This thread is locked. New replies are disabled.
30 Jun 2007, 11:26 AM
#1
meltdown avatar

meltdown

Totally Zenned

Join Date:
Jun 2006
Location:
My family and I live in Brighton, England
Posts:
947
Plugin Contributions:
0

Turning off "This product was added to our catalog on..."

I've turned this option off in a couple of different places in the admin (New Listing, Featured Listing, All Listing) but it still shows. Any idea what I missed?

Thanks!

30 Jun 2007, 1:42 PM
#2
madmumbler avatar

madmumbler

Zen Follower

Join Date:
Dec 2005
Location:
SWFL
Posts:
450
Plugin Contributions:
0

Re: Turning off "This product was added to our catalog on..."

Catalog --> Product Types --> click on the product type (ie General, etc.) there's an option in there you can turn it on or off.

HTH,

Lesli in SW Florida ~ writer, teacher, and dodging hurricanes!

30 Jun 2007, 1:56 PM
#3
meltdown avatar

meltdown

Totally Zenned

Join Date:
Jun 2006
Location:
My family and I live in Brighton, England
Posts:
947
Plugin Contributions:
0

Re: Turning off "This product was added to our catalog on..."

madmumbler:

Catalog --> Product Types --> click on the product type (ie General, etc.) there's an option in there you can turn it on or off.

HTH,

That did it - Thanks. I always forget about that one!

31 Jan 2009, 3:17 AM
#4
moes581 avatar

moes581

New Zenner

Join Date:
Jan 2009
Posts:
2
Plugin Contributions:
0

Re: Turning off "This product was added to our catalog on..."

how do you remove 'This product was added to our catalog on"? i do not want that displaying on the page. please help, thanks

31 Jan 2009, 3:28 AM
#5
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,189
Plugin Contributions:
0

Re: Turning off "This product was added to our catalog on..."

moes581:

how do you remove 'This product was added to our catalog on"? i do not want that displaying on the page. please help, thanks

Mo,
Admin Panel --> Catalog --> Product Types --> click on the product type (ie General, etc.) there's an option in there you can turn it on or off.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

27 Jul 2011, 3:45 AM
#6
rajoo_sharma avatar

rajoo_sharma

Zen Follower

Join Date:
Aug 2009
Posts:
137
Plugin Contributions:
0

Re: Turning off "This product was added to our catalog on..."

Hi,

How do I remove from product info page "This product was added to our catalog..."

I didn't find the option for the same in Admin->Configuration->Product Info

Do I have to comment it in the template "tpl_product_info_display.php"?

Thanks

27 Jul 2011, 3:49 AM
#7
ajeh avatar

ajeh

Oba-san

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

Re: Turning off "This product was added to our catalog on..."

Did you look in the Catalog ... Product Type ... EDIT LAYOUT ... and try the:

Show Date Added
Display Date Added on Product Info 0= off 1= on

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!

27 Jul 2011, 3:50 AM
#8
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Turning off "This product was added to our catalog on..."

Most text can be edited in the file(s) that it appears in

This is

define('TEXT_DATE_ADDED', 'This product was added to our catalog on %s.'); 

You can make it

define('TEXT_DATE_ADDED', '');

Do not omit the pair of single quotes

To locate
https://www.zen-cart.com/tutorials/index.php?article=38
https://www.zen-cart.com/tutorials/index.php?article=39

Best to use the switch as Ajeh has pointed out

Zen-Venom Get Bitten

27 Jul 2011, 4:55 AM
#9
rajoo_sharma avatar

rajoo_sharma

Zen Follower

Join Date:
Aug 2009
Posts:
137
Plugin Contributions:
0

Re: Turning off "This product was added to our catalog on..."

@Ajeh, yes, the option exists there, I could turn it off. Thanks

@Cobra, Thanks for the prompt reply.

29 Dec 2012, 5:20 AM
#10
zmtak avatar

zmtak

New Zenner

Join Date:
Apr 2011
Location:
Roseburg, OR
Posts:
37
Plugin Contributions:
0

Re: Turning off "This product was added to our catalog on..."

I turned off "Product was added to our catalog ...." from product listing but it still is appearing on each listing. Am I missing something? Another option that I missed? Help would be greatly appreciated.

Have a safe and happy new year.

marty
29 Dec 2012, 5:26 AM
#11
zmtak avatar

zmtak

New Zenner

Join Date:
Apr 2011
Location:
Roseburg, OR
Posts:
37
Plugin Contributions:
0

Re: Turning off "This product was added to our catalog on..."

Thanks to someone else who had this problem, I found his solution and it worked for me.

marty

29 Dec 2012, 12:34 PM
#12
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Turning off "This product was added to our catalog on..."

zmtak:

I found his solution and it worked for me.

marty

So let us know what it was, in case someone else experiences this... :smile:

20 years a Zencart User

17 Jan 2013, 11:59 PM
#13
zollster avatar

zollster

New Zenner

Join Date:
Dec 2008
Posts:
22
Plugin Contributions:
0

Re: Turning off "This product was added to our catalog on..."

find tpl_product_info_display.php and delete

 <!--bof Product date added/available-->
<?php
  if ($products_date_available > date('Y-m-d H:i:s')) {
    if ($flag_show_product_info_date_available == 1) {
?>
  <p id="productDateAvailable" class="productGeneral centeredContent"><?php echo sprintf(TEXT_DATE_AVAILABLE, zen_date_long($products_date_available)); ?></p>
<?php
    }
  } else {
    if ($flag_show_product_info_date_added == 1) {
?>
      <p id="productDateAdded" class="productGeneral centeredContent"><?php echo sprintf(TEXT_DATE_ADDED, zen_date_long($products_date_added)); ?></p>
<?php
    } // $flag_show_product_info_date_added
  }
?>
<!--eof Product date added/available -->

then put it back in your CUSTOM template folder

26 Jan 2013, 12:46 AM
#14
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Turning off "This product was added to our catalog on..."

Hmmmm

Hacking in this manner may achieve the desired result, but is just masking the real issue.

When a CORE FUNCTION does not work as it was designed to work, it is quite important to find out WHY it is not working. When a FUNCTION is faulty, it can mean that something is broken that shouldn't be broken... and maybe OTHER FUNCTIONS are also not operating properly.

By simply deleting some lines of code, you are preventing the DISPLAY of the data, but you are not addressing the MAIN REASON why is was not behaving as it should have done.

20 years a Zencart User

3 Aug 2016, 5:30 PM
#15
ron44124 avatar

ron44124

New Zenner

Join Date:
Nov 2015
Location:
Ohio
Posts:
20
Plugin Contributions:
0

Re: Turning off "This product was added to our catalog on..."

I am having the same problem with the new version 1.5.5A

Do I need to delete code or is there a fix for this? Thank you.

3 Aug 2016, 5:37 PM
#16
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,123
Plugin Contributions:
56

Re: Turning off "This product was added to our catalog on..."

No need to mess with code (unless the person who designed your template has changed built-in Zen Cart behavior).

I'm "assuming" that you're talking about "normal" products, i.e. those displayed using the main_page=product_info page:

  1. Log into your admin
  2. Click Catalog->Product Types
  3. Click the "Edit Layout" button that's associated with the ***Product - General ***type.
  4. Change the configuration value for Show Date Added from 1 to 0
9 Jul 2020, 5:52 AM
#17
hookedondecals avatar

hookedondecals

New Zenner

Join Date:
Jun 2020
Location:
Bairnsdale, VIC
Posts:
15
Plugin Contributions:
0

Re: Turning off "This product was added to our catalog on..."

lat9:

No need to mess with code (unless the person who designed your template has changed built-in Zen Cart behavior).

I'm "assuming" that you're talking about "normal" products, i.e. those displayed using the main_page=product_info page:

  1. Log into your admin
  1. Click Catalog->Product Types
  1. Click the "Edit Layout" button that's associated with the ***Product - General ***type.
  1. Change the configuration value for Show Date Added from 1 to 0

Thank-you :)