RMA Default Value Change

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

hi you can run[color=#282828][font=arial, verdana, tahoma, sans-serif] a query in phpmyadmin[/font][/color]



[color=#282828][font=arial, verdana, tahoma, sans-serif]
UPDATE cscart_products
SET return_period = '30',
is_returnable = 'Y'
[/font][/color]



[color=#282828][font=arial, verdana, tahoma, sans-serif]this works on versions 3 to 4.0.2[/font][/color]

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.

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

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

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!

Thank You The Tool - That got it done.

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

Where/how do I do this?

Hello Moh

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

Best regards

Robert

awesome thanks

Hello

You are welcome :)

Best regards

Robert