Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2006
    Location
    Chicago
    Posts
    1,162
    Plugin Contributions
    0

    Default Prduct formed out of a group of products

    I am modifying the zen cart so that I can add some products which are group of other products
    Existing product A, B, C, D

    New product can be defined as

    Product E = 1xA + 2XB + 5XC + 3XD

    So, when a customer is purchasing product E, the inventory of A gets reduced by 1, B by 2, C by 5 and D by 3
    Also, if there are only 20 units of C available, then only 4 units of E should be shown in stock

    Is it possible to do so using attributes or changing the code would be the best way to do it?

    I was thinking of adding one more column to the products table known as special_products = yes or no
    and then one more table with master product id and child product id and quantity

    Any suggestions?
    Tutorials on Zen Cart
    http://tutorials.zen-cart.com/index.php
    ---------------
    advanced.programmer at gmail dot com
    In love with Zen Cart!!

  2. #2
    Join Date
    Feb 2006
    Location
    Chicago
    Posts
    1,162
    Plugin Contributions
    0

    Default Re: Prduct formed out of a group of products

    Anyone care to put their comments?
    Tutorials on Zen Cart
    http://tutorials.zen-cart.com/index.php
    ---------------
    advanced.programmer at gmail dot com
    In love with Zen Cart!!

 

 

Similar Threads

  1. XML prduct feed?
    By redpanda in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 31 Aug 2009, 08:54 AM
  2. new prduct for month
    By bigum in forum Customization from the Admin
    Replies: 1
    Last Post: 11 Jul 2008, 05:39 AM
  3. How do I restrict a category to a prduct type?
    By PaulRiedel in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 16 Aug 2007, 03:26 AM
  4. All Prduct set on Special
    By Tom_Ace in forum Setting Up Specials and SaleMaker
    Replies: 1
    Last Post: 22 Apr 2007, 07:58 PM
  5. How is the opening page formed?
    By roaryg in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 26 Jan 2007, 03:03 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR