Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to change default radio button for Products Copy Method ?


sheepiedog

Recommended Posts

in 2.3x - on admin/categories php - the default Copy Method is Link Product.  I vary rarely ever use Link Product but 99.9% of the time I use Duplicate Product.

 

Would anyone be able to tell me the code to change the default from Link Product to Duplicate Product ?

 

 

Link to comment
Share on other sites

Ok 

 

From my 2.3.4 admin/categories.php file

 

Find (line 1017 for me)

$contents[] = array('text' => '<br />' . TEXT_HOW_TO_COPY . '<br />' . tep_draw_radio_field('copy_as', 'link', true) . ' ' . TEXT_COPY_AS_LINK . '<br />' . tep_draw_radio_field('copy_as', 'duplicate') . ' ' . TEXT_COPY_AS_DUPLICATE); 
and change to

$contents[] = array('text' => '<br />' . TEXT_HOW_TO_COPY . '<br />' . tep_draw_radio_field('copy_as', 'link') . ' ' . TEXT_COPY_AS_LINK . '<br />' . tep_draw_radio_field('copy_as', 'duplicate', true) . ' ' . TEXT_COPY_AS_DUPLICATE);
Just tested and it works fine for me
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...