Results 1 to 9 of 9

Hybrid View

  1. #1
    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!

  2. #2
    Join Date
    Apr 2010
    Posts
    4
    Plugin Contributions
    0

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

    Hi Guys,

    I have tried editing the file:
    C:\wamp\www\admin\includes\modules\product_music\collect_info.php

    I changed the default product name to:
    $parameters = array('products_name' => 'xxxx',

    and I changed the default sort order to 7:
    'products_sort_order' => '7'


    However, when I try add a new music product in Admin:
    'new product' button clicked and select 'Product - Music' , then these modified default values I set are not there?

    I also tried editing all the other collect_info.php files but it makes no difference when I try adding a new product, the default values are not changing!

    Please help?

  3. #3
    Join Date
    Mar 2008
    Posts
    13
    Plugin Contributions
    0

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

    There is a file called collect_info.php under /admin/includes/modules/product

    At the start of the file an array of all the form values is initialized.

    I think you can just add default values there. I added one I needed and it seems to work.

    If anyone knows why this is a bad idea let me know by replying to this posting.

    I do think that you should be able to do this within the admin menu structure but I cant find this option. If anyone knows how to do it in the admin back-end also let me know.

 

 

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