Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

RMA Default Value Change Rate Topic   - - - - -

 
  • EagleRose
  • Member
  • Members
  • Join Date: 21-Feb 07
  • 63 posts

Posted 17 October 2013 - 05:47 AM #1

Where is the default value "10" stored for the RMA addon.
It is not in the database, nor anywhere else I can find to change that number.

I need to change it to 30, as we have a 30 day exchange, refund period for our products.

I have been making the changes in the DB or at the product level. I know I can make the change manually, but often times it gets over looked. So, it would be real nice to have it set to 30 as the default.

Thanks for any pointers.

EagleRose
Eagle Rose Lingerie
"Bringing Spice to Your Life"
www.eagleroselingerie.com

1.34 sp2

 
  • BaDTaG
  • Senior Member
  • Members
  • Join Date: 01-Jul 11
  • 188 posts

Posted 17 October 2013 - 06:27 PM #2

hi you can run a query in phpmyadmin

UPDATE cscart_products
SET return_period = '30',
is_returnable = 'Y'


this works on versions 3 to 4.0.2
VPS Hosting whit easy VPS control panel no technical skills required.
EDB Eksperten din online it forhandler

 
  • EagleRose
  • Member
  • Members
  • Join Date: 21-Feb 07
  • 63 posts

Posted 17 October 2013 - 11:20 PM #3

Thank you - that is where I have been making the change in the DB, However, that does not solve the current issue of making the default 30 not 10.
Eagle Rose Lingerie
"Bringing Spice to Your Life"
www.eagleroselingerie.com

1.34 sp2

 
  • Ausy
  • Advanced Member
  • Trial users
  • Join Date: 07-Mar 12
  • 56 posts

Posted 17 October 2013 - 11:55 PM #4

Looks like you can set it when you add each product. When editing the product its under add-ons.

 
  • The Tool
  • Been Here Way Too Long Member
  • Members
  • Join Date: 30-Mar 07
  • 3954 posts

Posted 18 October 2013 - 01:29 AM #5

ALTER TABLE `cscart_products` CHANGE `return_period` `return_period` INT( 11 ) UNSIGNED NOT NULL DEFAULT '30';


 
  • Magpie Don
  • Senior Member
  • Members
  • Join Date: 01-Apr 09
  • 838 posts

Posted 18 October 2013 - 04:56 AM #6

Great tweak! I've been offering a 30 day return policy for years and never thought to change the default value on the database.
Thanks for that!

CS-Cart Ultimate ver 4.11.3


 
  • EagleRose
  • Member
  • Members
  • Join Date: 21-Feb 07
  • 63 posts

Posted 18 October 2013 - 10:12 PM #7

Thank You The Tool - That got it done.
Eagle Rose Lingerie
"Bringing Spice to Your Life"
www.eagleroselingerie.com

1.34 sp2

 
  • moh
  • Member
  • Trial users
  • Join Date: 21-Dec 18
  • 31 posts

Posted 07 January 2020 - 11:09 AM #8

ALTER TABLE `cscart_products` CHANGE `return_period` `return_period` INT( 11 ) UNSIGNED NOT NULL DEFAULT '30';

Where/how do I do this? 



 
  • soft-solid
  • Junior Member
  • Authorized Reseller
  • Join Date: 19-Apr 10
  • 1352 posts

Posted 07 January 2020 - 11:27 AM #9

Hello Moh

 

You can do it by phpmyadmin, adminer or by console server.

 

Best regards

Robert


Team of SoftSolid
cs-cart.pl, marketplace

We specialize in creating the highest quality addons, safe, useful and flexible


 
  • moh
  • Member
  • Trial users
  • Join Date: 21-Dec 18
  • 31 posts

Posted 07 January 2020 - 03:25 PM #10

awesome thanks



 
  • soft-solid
  • Junior Member
  • Authorized Reseller
  • Join Date: 19-Apr 10
  • 1352 posts

Posted 07 January 2020 - 03:27 PM #11

Hello

 

You are welcome :)

 

Best regards

Robert


Team of SoftSolid
cs-cart.pl, marketplace

We specialize in creating the highest quality addons, safe, useful and flexible