Results 1 to 10 of 10
  1. #1
    Join Date
    May 2011
    Location
    Tennessee
    Posts
    506
    Plugin Contributions
    0

    Default Products table dosnt have a column to store product cost?

    The products table doesn't have a field to store the product cost.

    Is it safe to use the product products_price_w table column to store product cost?

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,686
    Plugin Contributions
    95

    Default Re: Products table dosnt have a column to store product cost?

    Quote Originally Posted by jodean View Post
    The products table doesn't have a field to store the product cost.

    Is it safe to use the product products_price_w table column to store product cost?
    it is not; that's a text field where the wholesale price bands are stored. You'll need custom code to (a) add that field and (b) enable its update when editing/adding a product in the admin.

  3. #3
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,430
    Plugin Contributions
    327

    Default Re: Products table dosnt have a column to store product cost?

    ... and adds it to any reports you use, such as Sales Report.

    Info on adding a field like cost to the products table:

    https://docs.zen-cart.com/dev/code/add_field_products/
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  4. #4
    Join Date
    Jan 2013
    Posts
    943
    Plugin Contributions
    0

    Default Re: Products table dosnt have a column to store product cost?

    get numinix product fields and you can add that field in, plus any other you need

  5. #5
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,570
    Plugin Contributions
    11

    Default Re: Products table dosnt have a column to store product cost?

    I haven't been able to get Numinix working with 2.1.0, much less 2.2.0a. It states 1.5.8 as the latest compatibility.
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  6. #6
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,861
    Plugin Contributions
    0

    Default Re: Products table dosnt have a column to store product cost?

    Quote Originally Posted by dbltoe View Post
    I haven't been able to get Numinix working with 2.1.0, much less 2.2.0a. It states 1.5.8 as the latest compatibility.
    They supposed to be working on it...
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  7. #7
    Join Date
    Jan 2013
    Posts
    943
    Plugin Contributions
    0

    Default Re: Products table dosnt have a column to store product cost?

    im running 2.10 havent tried it in a while but it is how i set up some of my fields

  8. #8
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,570
    Plugin Contributions
    11

    Default Re: Products table dosnt have a column to store product cost?

    Quote Originally Posted by barco57 View Post
    They supposed to be working on it...
    May have to slow their marketing program down to have time.
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  9. #9
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,861
    Plugin Contributions
    0

    Default Re: Products table dosnt have a column to store product cost?

    I got an email this morning - "There's an update for Numinix Product Fields"
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  10. #10
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,570
    Plugin Contributions
    11

    Default Re: Products table dosnt have a column to store product cost?

    The only difference between 3.16 and 3.1.7 is the addition of two install.sql files to the catalog directory.

    catalog\YOUR_ADMIN\includes\npf_includes\prebuilt_fields\exclude_from_google_fee d\install.sql

    Code:
    ALTER TABLE products ADD exclude_from_google_feed int(1) NULL default 0;
    and

    catalog\YOUR_ADMIN\includes\npf_includes\prebuilt_fields\products_date_added\ins tall.sql

    Code:
    ALTER TABLE products ADD products_date_added DATETIME DEFAULT CURRENT_TIMESTAMP;
    And, the site still says it's for 1.5.8

 

 

Similar Threads

  1. v139f Re: Have Cost column in data and want an add on to generate a profit report
    By osdparts in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 27 Feb 2013, 08:56 PM
  2. tried to add a column to products table but got an error
    By tcarden in forum Code Collaboration
    Replies: 0
    Last Post: 19 Dec 2012, 08:56 PM
  3. Product Page Listing - Column/Table layout style?
    By Ren3gade in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 15 Mar 2011, 02:05 AM
  4. products_cost column in the products table?
    By creativearc in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 14 Mar 2008, 06:40 PM
  5. change column layout product listing to 3 table cells
    By tbrides in forum Templates, Stylesheets, Page Layout
    Replies: 20
    Last Post: 27 Feb 2007, 03:07 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