Results 1 to 6 of 6

Hybrid View

  1. #1
    Join Date
    Oct 2013
    Location
    United States
    Posts
    88
    Plugin Contributions
    0

    Default how can i remove product Preview From admin?

    how can i remove product Preview From admin?

  2. #2
    Join Date
    Aug 2005
    Location
    Vic, Oz
    Posts
    1,905
    Plugin Contributions
    5

    Default Re: how can i remove product Preview From admin?

    Quote Originally Posted by crixus View Post
    how can i remove product Preview From admin?
    Why do you want to do this?
    What business problem are you trying to solve?

  3. #3
    Join Date
    Oct 2013
    Location
    United States
    Posts
    88
    Plugin Contributions
    0

    Default Re: how can i remove product Preview From admin?

    Quote Originally Posted by gilby View Post
    Why do you want to do this?
    What business problem are you trying to solve?
    for quick update product. i want to options on product ,1 update product with preview and 2.update product with preview
    is is possible to do that?

  4. #4
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,826
    Plugin Contributions
    31

    Default Re: how can i remove product Preview From admin?

    You cannot remove it, the new/edit product process has to go through it.
    What you can do is make it auto submit.

    At the end of YOUR_ADMIN/includes/modules/product/preview_info.php

    change
    PHP Code:
            </td>
          </tr>
        </table></form>
    <?php
        
    }
    ?>
    to
    PHP Code:
            </td>
          </tr>
        </table></form>
    <script type="text/javascript">//MOD auto submit form
    document.forms['<?php echo $form_action;?>'].submit();
    </script>
    <?php
        
    }
    ?>
    Steve
    github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

  5. #5
    Join Date
    Oct 2013
    Location
    United States
    Posts
    88
    Plugin Contributions
    0

    Default Re: how can i remove product Preview From admin?

    Quote Originally Posted by torvista View Post
    You cannot remove it, the new/edit product process has to go through it.
    What you can do is make it auto submit.

    At the end of YOUR_ADMIN/includes/modules/product/preview_info.php

    change
    PHP Code:
            </td>
          </tr>
        </table></form>
    <?php
        
    }
    ?>
    to
    PHP Code:
            </td>
          </tr>
        </table></form>
    <script type="text/javascript">//MOD auto submit form
    document.forms['<?php echo $form_action;?>'].submit();
    </script>
    <?php
        
    }
    ?>
    wow! great awesome.
    Thanks man

  6. #6
    Join Date
    Oct 2013
    Location
    United States
    Posts
    88
    Plugin Contributions
    0

    Default Re: how can i remove product Preview From admin?

    Thanks a lot
    Last edited by crixus; 3 Nov 2013 at 08:59 PM.

 

 

Similar Threads

  1. how can i remove zen id From admin login url??
    By crixus in forum General Questions
    Replies: 4
    Last Post: 3 Nov 2013, 09:44 PM
  2. v151 How can I remove all these tables from my product descriptions?
    By DannyVarley in forum General Questions
    Replies: 2
    Last Post: 12 Jul 2013, 02:38 PM
  3. v151 Can't figure out how to remove "HEADING_TITLE" from Product Detail Section
    By westseedfarm in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 7 Feb 2013, 12:32 AM
  4. How can I remove "what new" from product listing?
    By shabizon in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 23 Oct 2010, 05:23 AM
  5. Can't preview template from admin
    By DravenLS in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 29 Nov 2007, 06:39 PM

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