Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2012
    Posts
    45
    Plugin Contributions
    0

    Default Products Model Movement

    In the admin area, when you setup your product, at first or when you go and update pricing, description etc. I have noticed that the product model is down the bottom of the page.

    What I am wondering is, as the product model is near the bottom of the page, under products description and quantity, it is a more important pieve of information then even quantity, is there a way to get this box moved up to before or right after products name.

    In my opinion this would make editing much faster in general....

    Tankx much

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

    Default Re: Products Model Movement

    Its open-source, you can do what you like with anything.
    I moved all that stuff around too. Just remember to clearly comment where you have moved the code from and to help you when you have to compare your modified file to the new version when you are upgrading.
    Steve
    github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

  3. #3
    Join Date
    Aug 2012
    Posts
    45
    Plugin Contributions
    0

    Default Re: Products Model Movement

    I thought you could and I am wondering which file to edit? I would assume it is a regularly used file, and my url indicates new_product. When I search for this there is no listing. Any Idearz? Thanks again so much

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

    Default Re: Products Model Movement

    my url indicates new_product
    no, the url is
    /product.php?cPath=1_9_1993&product_type=1&pID=2950&action=new_product
    so the file is product.php, the rest of the stuff are parameters passed to the page so it knows what product to deal with and what you are doing with it.

    But this file is just the start, and doesn't have the product editing layout code...it just pulls that in from the /module directory depending on your product type.

    So, for the default product type, the file you want to play with is /modules/product/collect_info.php

    My recommended way of working for me is (obviously you are doing this on your local development server and not ever playing with your production site...)
    - copy the file you are going to hack and rename it like collect_info.ORIGINALphp i.e. break the php file extension to guarantee it never gets loaded
    - hack away
    - when you are 100% done, compare it to the original vanilla zc file and comment every bit that differs.
    - make a note in your mods spreadsheet about what you have done
    Steve
    github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

 

 

Similar Threads

  1. mass movement of products to a new category
    By beverly53 in forum General Questions
    Replies: 3
    Last Post: 22 Jul 2011, 08:20 PM
  2. Search box movement
    By jmercier76 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 23 Jan 2010, 04:53 AM
  3. Couple of movement questions
    By julia44 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 11 Feb 2009, 02:56 PM
  4. Page Movement!
    By Demon in forum General Questions
    Replies: 3
    Last Post: 5 Oct 2006, 01:57 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