Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

NewProducts for 4.4.2

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #21  
Old 06-18-2012, 11:57 AM
  ADDISON's Avatar 
ADDISON ADDISON is offline
 

X-Man
  
Join Date: Jan 2008
Posts: 2,613
 

Default Re: NewProducts for 4.4.2

Here is my comment added into the Bugtracker where someone reported this issue with "add_date" field:

"My first advice to QT maintenance team for this issue is inserting a new field in [xcart_products] table called "update_date".

- add_date = date of product creation, this should remain always the same
- update_date = date when product information was updated
- (optional) avail_date = date when a new product starts being available (for coming soon module)

Modules like "The Newest Products" or customizations like "Sort by Date" depend of "add_date" field. As Tech Team reported there is an issue with this field. It is updated to current time after any modification in product data.

My second advice is letting shop administrator to change in back-end the "add_date" field. I already did it for you here: http://forum.x-cart.com/showthread.php?t=63608&highlight=add_date

If someone wants to show them in front-end could use these values (add_date, update_date, avail_date) according to own needs. For example you can let your customers know in product page when the product was created or when product information was updated, or when it will be available (coming soon feature)."

So folks, we have a Program Logic issue here ...
__________________
X-Cart Next: Business 5.2 (learning and testing)
X-Cart Classic: Gold and Gold Plus 4.7
Lots of Modules and Customizations
OS in use: Red Hat Enterprise, Fedora, CentOS, Debian, Ubuntu, Linux Mint, Kali Linux
Ideas for Server configuration (basicaly): Nginx/Pound (reverse proxy), Apache/Nginx (webserver), Squid/Varnish (cache server), HHVM or (PHP-FPM + PHP 5.6 + opcache), MariaDB/Percona MySQL Server, Redis (storing sessions)

You can catch my ideas here: http://ideas.x-cart.com
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions



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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 02:05 AM.

   

 
X-Cart forums © 2001-2020