Product availability mod

Do you have an idea for a feature you would like to see included in a future release? Post it here, and your ideas may be in the next release.

Moderators: Koibito, Stefko, Randy

Product availability mod

Postby muscovy1617 » Wed Dec 02, 2009 5:15 pm

Is there any way that you can have one big PHP file that lists all of your products and has a space you can type availability by date? I have no concept of how that would work, but this code gave me the idea:
Code: Select all
<tbody><tr>
            <td>
             <span id="availdate1">12/2/2009</span>
            </td>
            <td>
             <span id="availdate2">12/9/2009</span>
            </td>
            <td>

             <span id="availdate3">12/16/2009</span>
            </td>
            <td>
             <span id="availdate4">12/21/2009</span>
            </td>
            </tr>
            <tr>
            <td>

             <span id="availability1">Available</span>
            </td>
            <td>
             <span id="availability2">Sold Out</span>
            </td>
            <td>
             <span id="availability3">Available</span>

            </td>
            <td>
             <span id="availability4">Available</span>
            </td>
            </tr>
            </tbody>
muscovy1617
WebMaster
 
Posts: 11
Joined: Thu Oct 01, 2009 3:46 pm

Re: Product availability mod

Postby Koibito » Thu Dec 03, 2009 8:46 pm

It is something you could put in 'ADDTLINFO'.
John
Koibito
Site Admin / Guru
 
Posts: 918
Joined: Sun May 28, 2006 1:59 am
Location: New Jersey, USA

Re: Product availability mod

Postby muscovy1617 » Thu Dec 03, 2009 10:18 pm

I would rather have a 'control panel' that I could update from, that would change it on each page, rather than going to each page (several hundred of them) and updating.

something like,
Code: Select all
                               cokeavailability  12/1/09 availability = "available"
                                                 12/2/09 availability = "available"
                                                 12/3/09 availability = "sold out"
                                                 12/4/09 availability = "available"


and on the page, you could just post something like:

Code: Select all
cokeavailability= " "


and it would show up similar to this:

12/1/09 12/2/09 12/3/09 12/4/09
available Available Sold out Available

just like posting a jargon of code creates the table that shows up on the checkout page- Something like that, only with editable text instead of price, qty, item #, etc.

Thanks!
muscovy1617
WebMaster
 
Posts: 11
Joined: Thu Oct 01, 2009 3:46 pm

Re: Product availability mod

Postby Koibito » Fri Dec 04, 2009 2:42 am

I think you need a database. I'm doing something similar with the number of items in stock. During checkout, a script reads the article ID's (SKU's) from the cookies, and compares the numbers of items ordered with what's in stock. When a customer ordered something that's not in stock, or when the customer ordered more than what's in stock, the script gives a message, so that the customer can change the order. I don't see how you can solve your issue without a database or CSV file.

For about two years we have used Stefko's Inventory Add-on. [http://www.nopdesign.com/forum/viewtopic.php?f=18&t=3711]. That is something else you could look at.
John
Koibito
Site Admin / Guru
 
Posts: 918
Joined: Sun May 28, 2006 1:59 am
Location: New Jersey, USA


Return to Future Enhancements

Who is online

Users browsing this forum: No registered users and 1 guest

cron