osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

How to not show a product as New?

This is a discussion on How to not show a product as New? within the osCMax v2 Features Discussion forums, part of the osCMax v2.0 Forums category; Anyone have an easy way if you add a product that it does not show as new? Everytime I add ...



Find us on Facebook
Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Features Discussion

Connect with Facebook Register FAQDonate Members List Calendar Mark Forums Read


Closed Thread

 

LinkBack Thread Tools
  #1  
Old 07-23-2007, 06:07 PM
osCMax Testing Team
 
Join Date: Sep 2004
Posts: 355
Thanks: 27
Thanked 40 Times in 38 Posts
Rep Power: 8
bkpie has a spectacular aura aboutbkpie has a spectacular aura aboutbkpie has a spectacular aura about
Default How to not show a product as New?

Anyone have an easy way if you add a product that it does not show as new?
Everytime I add a product it shows as new however sometimes in my case it is not new but will end up on the front with the other ones that are new.

Thanks in advance.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 07-23-2007, 07:03 PM
met00's Avatar
osCMax Development Team
 
Join Date: Oct 2005
Location: wherever I happen to be at the moment
Posts: 639
Thanks: 12
Thanked 111 Times in 102 Posts
Rep Power: 10
met00 is a name known to allmet00 is a name known to allmet00 is a name known to allmet00 is a name known to allmet00 is a name known to allmet00 is a name known to all
Default Re: How to not show a product as New?

new products are determined by the now() that is used to add them to the database. There is no way to edit this field from within osc, but you can use phpadmin or another tool to access the database and change the date after you have added the product to change the date the product was added to the store and that will remove it from the New Products listing (ie: backdate the products addition by a year).

the table is products
the field is products_date_added
__________________
so endith the lesson
<think>sometimes I just sit's and thinks</think>
"Here you are with a hand full of holes, a thumb up your ass, and a big grin to pass the time of day with." - TWB
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
The Following User Says Thank You to met00 For This Useful Post:
bkpie (07-24-2007)
  #3  
Old 07-24-2007, 06:52 AM
osCMax Testing Team
 
Join Date: Sep 2004
Posts: 355
Thanks: 27
Thanked 40 Times in 38 Posts
Rep Power: 8
bkpie has a spectacular aura aboutbkpie has a spectacular aura aboutbkpie has a spectacular aura about
Default Re: How to not show a product as New?

Met00

I did that and it shows a year earlier in the database but not on the site for some reason. ???
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 07-24-2007, 03:38 PM
met00's Avatar
osCMax Development Team
 
Join Date: Oct 2005
Location: wherever I happen to be at the moment
Posts: 639
Thanks: 12
Thanked 111 Times in 102 Posts
Rep Power: 10
met00 is a name known to allmet00 is a name known to allmet00 is a name known to allmet00 is a name known to allmet00 is a name known to allmet00 is a name known to all
Default Re: How to not show a product as New?

Here is the query from /includes/modules/new_products.php

Code:
 $new_products_query = tep_db_query("select p.products_id, p.products_image, p.products_tax_class_id, p.products_price as products_price from " . TABLE_PRODUCTS . " p where products_status = '1' and month(p.products_date_added) = month(now()) order by p.products_date_added desc limit " . MAX_DISPLAY_NEW_PRODUCTS);
Interesting, the code has a crap component, it doesn't check for the month and year, just the month. I would consider this a major defect in the code (or as some people refer to it... a bug). My suggestion is that someone fix the sql query as this is a major "bug" if you don't add any new products for that month it will pick up the last years new products added in that month.
__________________
so endith the lesson
<think>sometimes I just sit's and thinks</think>
"Here you are with a hand full of holes, a thumb up your ass, and a big grin to pass the time of day with." - TWB
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 08-02-2007, 12:45 AM
Lurker
 
Join Date: Jun 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
ezkawan
Default Re: How to not show a product as New?

i Also Have this problem. How to resolve this problem??
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 08-02-2007, 08:08 AM
michael_s's Avatar
osCMax Developer


 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 15,706
Thanks: 139
Thanked 606 Times in 519 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default Re: How to not show a product as New?

read the stickies:
products_new.tpl.php

It is original osC code and hardly a major bug. Very simple to change, thus the sticky in the forums. It is on the list of things to do and will make it into the 2.0 full release (probably the next RC, but no promises)
__________________
Michael Sasek
osCMax Developer

*** Do not PM me requesting paid help. The only paid work I do is for AABox Web Hosting customers ***

Stay Up To Date with everything osCMax:
Free osCMax Newsletters - Security notices, New Releases, osCMax News
osCMax on Twitter - Up to the minute info as it happens. Know it first.

osCMax User Manual - osCMax Templates - Advanced Template Tutorial

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 08-02-2007, 09:01 AM
met00's Avatar
osCMax Development Team
 
Join Date: Oct 2005
Location: wherever I happen to be at the moment
Posts: 639
Thanks: 12
Thanked 111 Times in 102 Posts
Rep Power: 10
met00 is a name known to allmet00 is a name known to allmet00 is a name known to allmet00 is a name known to allmet00 is a name known to allmet00 is a name known to all
Default Re: How to not show a product as New?

Interesting, but I disagree. If every time you turned on the right turn indicator in your car it indicated that you were going to make a left turn, that would be a minor defect?

Major defects are those that either (1) stop operation or (2) provide significant misinformation from correct operation. I believe listing products that are a year old as "new" classifies as (2) in much the same way as the turn indicator on your car telling other drivers misinformation would be a major defect.

Minor defects deal with stylesheet and look and feel issues that present information poorly. Think again of the car and a window that when closed doesn't seal properly and whistles at you. It doesn't affect the operation of the vehicle and doesn't misinform others.

If you look at the original Recover Carts I released. There were no "major defects". But, the entire project blew off all the standard OSC look and feel requirements for the admin. This was one big "minor defect". Thus over time people have tweaked the basic application adding a very few new features, but in fact have not done much to the basic application and have made no "fixes" to any major defects that I had introduced in the code. Almost all of the changes that were made had to do with fixing minor defects and making it work like a part of OSCs admin.
__________________
so endith the lesson
<think>sometimes I just sit's and thinks</think>
"Here you are with a hand full of holes, a thumb up your ass, and a big grin to pass the time of day with." - TWB
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #8  
Old 08-02-2007, 10:14 AM
michael_s's Avatar
osCMax Developer


 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 15,706
Thanks: 139
Thanked 606 Times in 519 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default Re: How to not show a product as New?

It is considered a minor issue in that it in no way causes the cart to stop functioning and is a secondary or some would argue tertiary feature. We at oscmax define major bugs as those that cause the application to fail to function, fail to allow sales, or as critical security issues. Information issues of this nature or not considered major or critical and would be classified as a minor issue or a tweak.

Your example of the turn signal does not really apply since this is such a non-critical feature when compared to a turn signal. Nobody can be killed if a product is marked as new when it really isn't (or in e-commerce terms, your site will not stop functioning because you show a product that is not new as new). Also, this issue does not do the exact opposite of what is expected as your turn signal example, rather it simply does something extra (more like every twelfth blink of the turn signal it flashes both left and right at the same time).

While I agree that the function leaves something to be desired, it is hardly a major issue. In fact some have posited that this actually creates interest in products that would otherwise not be displayed, and like having it.
I can guarantee as soon as this 'issue' is 'fixed', I will get no less than 5 emails complaining about how I broke this 'feature' and they want it back.
__________________
Michael Sasek
osCMax Developer

*** Do not PM me requesting paid help. The only paid work I do is for AABox Web Hosting customers ***

Stay Up To Date with everything osCMax:
Free osCMax Newsletters - Security notices, New Releases, osCMax News
osCMax on Twitter - Up to the minute info as it happens. Know it first.

osCMax User Manual - osCMax Templates - Advanced Template Tutorial

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #9  
Old 08-02-2007, 11:24 AM
met00's Avatar
osCMax Development Team
 
Join Date: Oct 2005
Location: wherever I happen to be at the moment
Posts: 639
Thanks: 12
Thanked 111 Times in 102 Posts
Rep Power: 10
met00 is a name known to allmet00 is a name known to allmet00 is a name known to allmet00 is a name known to allmet00 is a name known to allmet00 is a name known to all
Default Re: How to not show a product as New?

That's why at the same time it's "fixed" we should add a new module called "random products" that does what happens now, but with a bit more randomization.

a defect that does something that is serendipitous should be a feature on its own.
__________________
so endith the lesson
<think>sometimes I just sit's and thinks</think>
"Here you are with a hand full of holes, a thumb up your ass, and a big grin to pass the time of day with." - TWB
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
how to show product number for affiliates soibaal osCMax v2 Features Discussion 1 07-18-2007 01:32 AM
Show All Product Results michael_s New osCommerce Contributions 0 04-12-2007 03:00 PM
show/hide product attributes limpduck osCommerce 2.2 Modification Help 0 03-02-2005 10:36 PM
Problem w/ product show on msmx1.7 knullhund osCMax v1.7 Installation 1 11-18-2004 09:20 AM


All times are GMT -8. The time now is 08:15 PM.


Powered by vBulletin®
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO
Copyright 2009 osCMax
Inactive Reminders By Icora Web Design