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

Default Product Return Time

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 08-24-2011, 05:42 AM
 
GINJ GINJ is offline
 

Member
  
Join Date: Feb 2011
Posts: 25
 

Question Default Product Return Time

Hi,

I'd like to have a default product return time on the add product page for our providers.

I've tried entering a default value directly into the template however it keeps adding an additional value everytime the page is loaded so eg...

14

becomes

1414

Any ideas?

Cheers

G
__________________
X-Cart Pro 4.4.3
Reply With Quote
  #2  
Old 08-24-2011, 05:50 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: Default Product Return Time

Modify products table - set default value for return_time field to 14. No need to modify templates
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote

The following user thanks cflsystems for this useful post:
GMarler (08-24-2011)
  #3  
Old 08-24-2011, 05:57 AM
 
GINJ GINJ is offline
 

Member
  
Join Date: Feb 2011
Posts: 25
 

Default Re: Default Product Return Time

Great stuff,

Cheers Steve.
__________________
X-Cart Pro 4.4.3
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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 09:24 AM.

   

 
X-Cart forums © 2001-2020