Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2011
    Location
    Brighton UK
    Posts
    27
    Plugin Contributions
    0

    Default Make Duplicate Product the default copy method

    Hi all,
    I want to make the "duplicate product" copy method the default (or even remove the 'link product' option all together.

    Does anyone know which admin page I would need to edit for this?

    Or preferably a way of doing it without editing a core file?

    Thanks,

    Reb

  2. #2
    Join Date
    Aug 2011
    Location
    Brighton UK
    Posts
    27
    Plugin Contributions
    0

    Default Re: Make Duplicate Product the default copy method

    Ok I found it,

    it is in the product handler. So for the default product type it is in
    /admin/product.php

    line 249

    PHP Code:
    $contents[] = array('text' => '<br />' TEXT_HOW_TO_COPY '<br />' zen_draw_radio_field('copy_as''link') . ' ' TEXT_COPY_AS_LINK '<br />' zen_draw_radio_field('copy_as''duplicate',true) . ' ' TEXT_COPY_AS_DUPLICATE); 
    Add the third boolean argument of true to the radio button you want to be selected by default. (and just pass two params to the one you don't want to be selected)

 

 

Similar Threads

  1. v150 BULK copy functionality using the "Duplicate Product" "Copy Method"
    By Zean in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 28 Jun 2012, 12:57 AM
  2. Can I make "Duplicate Product" the default copy method?
    By rhodanight in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 21 Oct 2009, 08:22 AM
  3. copy default template to make my own?
    By varnco in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 12 Mar 2009, 05:05 PM
  4. Change COPY TO default to Dup. Product?
    By LilleyPadGifts in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 18 Apr 2007, 03:49 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg