Change Return Period for ALL Products at Once?

When I enable the RMA addon, it sets the return period for all products at 10 days. My return policy is 30 days for all products. Do I have to go and manually change each individual product or is there a way to change them all at once?



Thanks in advance for your consideration.

You can easily do it via phpMyadmin. I posted it somewhere so do a search.

Searching using various terms brings up nothing.

Search “return policy”

I found this:

[url]http://forum.cs-cart.com/showthread.php?t=12206&highlight=return+policy[/url]



Bob

OK I ran the SQL query suggested and got this:



Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 888941 bytes)

Either your server doesn’t have enough memory or you don’t have it configured to use more memory.

Thank you for the link. I have CS-cart Version: 2.1.3 and I did the following:


  1. I used phpmyadmin and executed this sql command

    UPDATE cscart_products SET return_period=30;


  2. Adjusting the table cscart_products default value for return_period did not work.

    ALTER TABLE cscart_products MODIFY return_period int(11) unsigned NOT NULL default 30;


  3. Finally, I ended up editing the following file to change the default return_period from 10 days to 30 days. Please make a back up before making any changes. :slight_smile:



    YOUR_WEB_ROOT_FOLDER/skins/basic/admin/addons/rma/hooks/products/detailed_content.post.tpl



    Line 13:






I replaced “10” with “30” above. I re-save the file and re-upload it.

[quote name=‘hostquattro’]YOUR_WEB_ROOT_FOLDER/skins/basic/admin/addons/rma/hooks/products/detailed_content.post.tpl



Line 13:






I replaced “10” with “30” above. I re-save the file and re-upload it.[/QUOTE]



Hi, This helps for 2.1.4. The other methods with phpmyadmin does not helps. It works only for setting the added products. For new products as default you have to edit the given file. Thanks for posting.

how i can change a default Return period ? use cs-cart version 3

[quote name='jomaa.sy' timestamp='1396423807' post='180722']

how i can change a default Return period ? use cs-cart version 3

[/quote]



Please open the “skins/basic/admin/addons/rma/hooks/products/detailed_content.post.tpl” and change the following part of code:



...|default:"10"...




Thanks

where i can find this in version 4.6.2. MVE??

Regards

Change skins/basic/admin to design/backend and you should find it.

where i can find this in version 4.6.2. MVE??

Regards


/design/backend/templates/addons/rma/hooks/products/detailed_content.post.tpl

where i can find this in version 4.6.2. MVE??

Regards

Hi,

Do you figured out how to do change it ?

doesn't work for me just changing period on detailed_content.post.tpl.... still 10 days remain...

Please use points 1 and 2 from post #7 as well

Please use points 1 and 2 from post #7 as well

thanks

you mean below ones ?

1. I used phpmyadmin and executed this sql command
UPDATE cscart_products SET return_period=30;

2. Adjusting the table cscart_products default value for return_period did not work.
ALTER TABLE cscart_products MODIFY return_period int(11) unsigned NOT NULL default 30;

Yes, you are right