Jump to content

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

Change Return Period for ALL Products at Once? Rate Topic   - - - - -

 

Posted 24 August 2009 - 10:48 PM #1

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.

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

Posted 24 August 2009 - 11:24 PM #2

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

 

Posted 24 August 2009 - 11:39 PM #3

Searching using various terms brings up nothing.

 
  • pbannette
  • Senior Member
  • Members
  • Join Date: 09-Aug 07
  • 1036 posts

Posted 24 August 2009 - 11:55 PM #4

Search "return policy"
I found this:
http://forum.cs-cart...t=return policy

Bob

 

Posted 25 August 2009 - 12:04 AM #5

OK I ran the SQL query suggested and got this:

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

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

Posted 25 August 2009 - 01:12 AM #6

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

 
  • hostquattro
  • Junior Member
  • Members
  • Join Date: 17-Sep 10
  • 2 posts

Posted 19 February 2011 - 05:57 AM #7

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. :)

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

Line 13:
<input type="text" id="return_period" name="product_data[return_period]" value="{$product_data.return_period|default:"10"}" class="input-text" size="10"  {if $product_data.is_returnable != "Y" && $mode != "add"}disabled="disabled"{/if} />

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

 
  • xeryus
  • Junior Member
  • Members
  • Join Date: 31-Mar 11
  • 15 posts

Posted 05 June 2011 - 02:30 PM #8

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

Line 13:

<input type="text" id="return_period" name="product_data[return_period]" value="{$product_data.return_period|default:"10"}" class="input-text" size="10"  {if $product_data.is_returnable != "Y" && $mode != "add"}disabled="disabled"{/if} />

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


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.

 
  • jomaa.sy
  • Member
  • Members
  • Join Date: 13-Nov 13
  • 27 posts

Posted 02 April 2014 - 07:30 AM #9

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

 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 20765 posts

Posted 02 April 2014 - 10:26 AM #10

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


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

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

Thanks
GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

 
  • haktel
  • Advanced Member
  • Members
  • Join Date: 21-Feb 17
  • 117 posts

Posted 24 October 2017 - 05:23 PM #11

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

 

Regards



 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 11652 posts

Posted 24 October 2017 - 06:50 PM #12

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

EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.


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

Posted 24 October 2017 - 06:51 PM #13

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


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



 
  • victorb
  • Senior Member
  • Members
  • Join Date: 29-Oct 12
  • 183 posts

Posted 10 November 2017 - 01:43 PM #14

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...



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 20765 posts

Posted 10 November 2017 - 02:00 PM #15

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


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

 
  • victorb
  • Senior Member
  • Members
  • Join Date: 29-Oct 12
  • 183 posts

Posted 10 November 2017 - 02:04 PM #16

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; 



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 20765 posts

Posted 13 November 2017 - 06:25 AM #17

Yes, you are right


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)