Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    May 2006
    Posts
    76
    Plugin Contributions
    0

    Default How to change default values on "create new product"-page?

    I did a bit searching in the Tutorials and in the forums but wasn't able to find anything related. I'm a bit unsure about what terms to search for, so I start this thread.

    I'd love the possibility to change the default calues whilst creating new products.
    For example add a default value to some of the fields, have other radio buttons checked as default, and so on.

    I guess there is 1 file that can be edited, or it is a combination of files?
    Which files are these? Is it as easy as to simply change true to false or 0 to 1?

    Being able to do this easily would help me save time when adding many new products that require similar settings.

    Any pointer is greatly appreciated!

  2. #2
    Join Date
    Jun 2005
    Location
    Cheney WA
    Posts
    1,134
    Plugin Contributions
    0

    Default Re: How to change default values on "create new product"-page?

    I don't know for sure what page to edit either. so we'll have to work through it together.

    what program do you use to edit php code?

    I use dreamweaver, or notepad++

    To figureout what to search for i use Firefox browser with the web developer addon from www.mozilla.com

    bring up the page to add a product, and then us the information menu in the web developer, and choose display id & classes

    This will give you the name of the div, or class that makes everything show up.

    now search for one of the id's that pop up near one of the fields.

    that should lead you to the right page to add the default value. now all we have to do is find out what code to use in order to have that default value to show up.

  3. #3
    Join Date
    May 2006
    Posts
    76
    Plugin Contributions
    0

    Default Re: How to change default values on "create new product"-page?

    Quote Originally Posted by birdoasis View Post
    I don't know for sure what page to edit either. so we'll have to work through it together.

    what program do you use to edit php code?

    I use dreamweaver, or notepad++
    Until now I used any editor I could get hold off, but I'm always looking for better alternatives.

    To figureout what to search for i use Firefox browser with the web developer addon from www.mozilla.com
    Yeah I use this extension for FireFox as well, and just love it. It saves you loads of time, and I highly recommend this tool to any webdesigner.


    I managed to change some of the fields that I mentioned previously very easily
    in the file
    called: collect_info.php
    that resides in: admin/includes/modules/product/

    I'm still trying to find out how I can change the default Tax Class in the drop down to something else. Anyone achieved this yet?

  4. #4
    Join Date
    Dec 2006
    Posts
    12
    Plugin Contributions
    0

    Default Re: How to change default values on "create new product"-page?

    Hi

    Thanks for this post - i've been trying to work out for ages if its possible to 'preset' to Product Qty field to a value...

    Also thanks for the FF addon for developers... how good is that!

    thanks alot

  5. #5
    Join Date
    Oct 2004
    Location
    Southport, UK
    Posts
    4,244
    Plugin Contributions
    20

    Default Re: How to change default values on "create new product"-page?

    Quote Originally Posted by crosswraith View Post
    Yeah I use this extension for FireFox as well, and just love it. It saves you loads of time, and I highly recommend this tool to any webdesigner.
    Get Firebug as well - THAT is as brilliant as the Developer Tool Kit; even better for quickly locating what class is where.

    I'm still trying to find out how I can change the default Tax Class in the drop down to something else. Anyone achieved this yet?
    admin > catalog > product types > product general ... edit layout ... Product Price Tax Class Default - When adding new products? Set accordingly (it's a bit "trial and error" while you find out what the numerical value of your required tax class is)

    PS Buy the manual unless my sig applies...which it clearly doesn't!
    Last edited by Ryk; 9 Apr 2007 at 11:44 AM.
    Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
    20 years with Zencart !

  6. #6
    Join Date
    Mar 2005
    Location
    Helsinki
    Posts
    570
    Plugin Contributions
    0

    Default Re: How to change default values on "create new product"-page?

    umm could someone still explain to me how to edit collect_info...

    I'd need to set up Products Quantity Box Shows to false by default..

    I'm trying to hide all the fields I don't need from the product add page since we don't need them and they are confusing to our other admin users..
    basicly I'd need to set every radio button to default and hide them... also manufacturer etc since we have only one.. Can it be done?

    many thanks!

  7. #7
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: How to change default values on "create new product"-page?

    You could just flip the switch in the Customization ... Product Info ...
    Product Quantity Box Status - Adding New Products
    What should the Default Quantity Box Status be set to when adding New Products?

    0= off
    1= on
    NOTE: This will show a Qty Box when ON and default the Add to Cart to 1
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. Replies: 3
    Last Post: 15 Feb 2013, 03:17 PM
  2. How to: new/featured main page - "buy now/details" change to "design" with attributes
    By ladybugmom in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 18 Jan 2011, 11:23 AM
  3. How to change the default quantity values of "add to cart"
    By xuxinunuon in forum General Questions
    Replies: 5
    Last Post: 7 Jun 2010, 01:22 PM
  4. How to remove ellipses ("...") after "All Products" and "New Products" on home page?
    By jthurman in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 18 May 2010, 03:30 PM
  5. Need to change the default quanity for "each" to "Set" on certain products
    By whiskermouse in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 24 Apr 2010, 02:46 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