Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2011
    Posts
    29
    Plugin Contributions
    0

    Default Are Sequential Products?

    Here's an interesting question that I haven't come across anywhere...

    I have a client who want to start a site where people can "Adopt a Tree. We are thinking of doing it in ZenCart as a normal shopping cart. The problem is that they want to have a database of all the trees (with photos and numbers), but they do NOT want the customers to pick the tree...they want the NEXT tree in the list to be available and that is the one that can be adopted and paid for.

    Is there a way to have Sequential Products so that after one product is sold that the customer sees just one product (the next one in the list) to be available for purchase?

    If this isn't possible in ZenCart does anyone know how it could be done or what software would allow it?

    Thanks,
    Greg

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Are Sequential Products?

    It's not something Zen Cart does by default, but ought to be achievable with a bit of custom coding. I think something hooking into th order class after payment is completed and just before the database is updated, to also update the next product id from inactive to active, would take care of it. You would want to make sure that whatever you did directly in the db covered all the actions that doing this in the regular admin page would do. It is probably only one field in one table that needs to be touched.
    Last edited by gjh42; 19 Nov 2013 at 06:25 AM.

 

 

Similar Threads

  1. some products are listed alphabetically and others are not
    By Dale Dugas in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 21 Feb 2010, 07:50 PM
  2. sequential numbers
    By jncshop in forum Basic Configuration
    Replies: 3
    Last Post: 24 Sep 2008, 02:22 AM
  3. My products are enabled. Why are they showing as disabled?
    By theresajb in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 28 Aug 2008, 04:29 PM
  4. Sequential Order Number Skipped?
    By kaos in forum Managing Customers and Orders
    Replies: 1
    Last Post: 24 Aug 2007, 05:03 PM

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