Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2004
    Posts
    818
    Plugin Contributions
    0

    Default Can Two Separate Products Share Same Inventory?

    Here's the scenario. You have Product A and Product B. Is there a way to have both share the same product quantity value?

    As an example, we two companies that put out the same item, but each have their own way of describing it. We would like to list this item twice in our store like this:

    Product A from Company A
    Product B from Company B

    Where Product A and B are basically the same thing, only they may differ in manufacture model numbers or something. Since from a store perspective, these items are identical, is there anyway to have these two separate products listed in our store, but when something sells from Product A, it will also subtract one from Product B?

  2. #2
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Can Two Separate Products Share Same Inventory?

    An observer hooked into the NOTIFY_CHECKOUT_PROCESS_AFTER_ORDER_CREATE_ADD_PRODUCTS or maybe even the NOTIFY_ORDER_DURING_CREATE_ADDED_PRODUCT_LINE_ITEM notifier could be used to decrement the inventory of the "other" product when a certain product is saved into a live order.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Dec 2008
    Posts
    12
    Plugin Contributions
    0

    Default Re: Can Two Separate Products Share Same Inventory?

    dr byte. could you clarify this response. i really need this two work.

    i would like to list the same product twice on my store but with different prices. the prices would be dependent on the section of the store you click on. not all sections would be available for the general public.

    i need though the inventory count to be linked together.

    i could either do what you suggested above if you clarify please.

    another option that would work for me would be is if there is a way to set a different salemaker price for a linked category than the master category.

    the 2nd option might be better and easier if it is possible.

  4. #4
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Can Two Separate Products Share Same Inventory?

    I think the notifier/observer approach I mentioned above is likely the best if you really need to have 2 separate products but keep their inventory set at the same amount.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. v139h Two shops on one server - Can I share the database?
    By hyperion12 in forum Installing on a Linux/Unix Server
    Replies: 0
    Last Post: 18 Aug 2012, 01:28 AM
  2. multi-products share same Details images,possible? and how?
    By zihaizi in forum Setting Up Categories, Products, Attributes
    Replies: 9
    Last Post: 18 May 2011, 02:55 AM
  3. Replies: 10
    Last Post: 2 Dec 2009, 12:57 PM
  4. Two stores that share inventory but differnt prices
    By abcgiftcards in forum Installing on a Windows Server
    Replies: 1
    Last Post: 15 Jan 2009, 07:31 AM
  5. Two Products That Share a Quantity
    By whitnelson in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 5 Jul 2007, 10:33 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