Another problem: It is putting the item back in stock but not by attribute from Edit Orders Mod. It does sync the stock back in if I delete an entire order from the customers orders page and choose the check box to restock.
Another problem: It is putting the item back in stock but not by attribute from Edit Orders Mod. It does sync the stock back in if I delete an entire order from the customers orders page and choose the check box to restock.
Last edited by athena; 14 Mar 2013 at 08:36 PM.
I think you can hit the "search" button again when the textbox is empty and it will show all your items.
Yes when you delete an order it should sync back all attribute quantities. It never worked in prior versions of SBA, but I addressed that issue in this version.
The edit orders mod itself is entirely separate, so it wasn't coded to restock quantities by attributes. That would require editing the code in the edit orders mod files itself, rather than anything to do with SBA files.
There's a laundry list of things to do with this SBA mod as it is, all of which I won't even be able to work on anytime soon as I have my actual zen-cart business to run...so unfortunately I don't think I'll ever be able to address the Edit Orders problem. My only suggestion is that if you have to manually adjust an order's quantities with edit orders, it is to also manually adjust SBA quantities in the SBA menu. I don't imagine this to happen quite often with your business does it? Where you have to manually adjust quantities with edit orders...
Meanwhile, I'll add the "Reset" link bug to the things I'll fix along with the other SBA stuff....with no timetable to complete (sorry).
I did some further comparisons as I have both shops running and you are right, most of that was a problem that has been being worked around already, except for the have to log out thing. If we just avoid those functions and stay on the SBA page the "save" buttons do work, unlike the mod as I had it for 1.3.9h
I'm wondering if you have the stock quantities showing for the item attributes that are out of stock? That does work on the old mod when Configuration > Stock > "Show available stock level in cart when less than order" is set to true. This is not working with the new mod. Wondering if there is some other setting I'm missing?
I do like that the drop downs do not offer an attribute that is out of stock, (new feature in Config > Stock?...awesome!) but will find a way to make sure that is clear to the customer.
Last edited by athena; 15 Mar 2013 at 02:03 PM.
That is working now....once a started a new session the stock quantities for the out of stock attribute is working when Configuration > Stock > "Show available stock level in cart when less than order" is set to true.
But I wonder if the old coding that provided that feature to not show the attributes that are out of stock in SBA is overriding my admin setting to show them?
Last edited by athena; 15 Mar 2013 at 02:23 PM.
Is there a way to mass populate to SBA?
Using Zen Cart 1.5.1
If you are upgrading you should be able to retain your attributes and stock by importing the stock by attributes table into the new database
If you are looking for a way to batch populate your store look through the forum for a tool called "easy populate"
So, my answer may not be liked as it is not code, but if I understand the question you are wondering about a process that may actually assign the desired attributes to the desired product(s).
I would think that this would be an almost serious undertaking as a result of the following:
1. Would need to address adding defined/existing attributes to an existing product without an attributes.
2. Would need to address adding new attributes to an existing product without an attributes.
3. Would need to address adding defined/existing attributes to a new product without an attributes.
4. Would need to address adding new attributes to a new product without an attributes.
5. - 8. Repeat the above 4 with consideration that each has one or more existing attributes.
Each of these may have some equivalency to the other (Ie., overall process of adding a new product and a new attribute); however, consideration would need to be given to each of the tables that make up the characteristic being added/modified.
Perhaps someone else may correct me, this question is along the lines of using an alternate plugin such as mass populate, but could also inspire a brand new plugin/modification to this one.
It would seem that once each of the above four/eight routines were addressed, that any combination of those routines could be run based on a query of the database when acting on the data. The next thing to consider is what would feed this mass populate utility, is it a file or a series of onscreen selection? Would one want to add one attribute to multiple products, combinations of attributes to multiple products, etc...
It may be that other mods closely approach (or perform) this action and can be expanded upon to incorporate feeding into stock by attributes (keeping in mind any differences between the various stock by attributes addins that are out there), or at least they may provide a template to do so.
RoboPhung
Now that I have completely finished all my installations, you are right:
In the old store, you could NOT check out with insufficient stock. Now you can with only the warning to give the customer a heads up....no available stock quantity is showing. Now that I'm done with my installations that feature does not work, even with it selected in Admin >Conf > Stock.I think you can hit the "search" button again when the textbox is empty and it will show all your items.
Yes when you delete an order it should sync back all attribute quantities. It never worked in prior versions of SBA, but I addressed that issue in this version.
The edit orders mod itself is entirely separate, so it wasn't coded to restock quantities by attributes. That would require editing the code in the edit orders mod files itself, rather than anything to do with SBA files.
I am still hesitant to go live with my nice shiny new 1.5.1 shop for this reason but I just have to risk it and try a fix later as we've been down too long.
I believe it has something to do with the order in which I imported the old db as this was working during my test install. I could not run the db upgrade on my old server so I ran it on the new and I've been round and round uninstalling, re-installing the SBA sql and reimporting my db tables trying to get that to work.
I'm tempted to go back to my old SBA version. You are a new zenner? so you don't know if the old ones are compatible. The code looks very similar. Really hate going back to the drawing board. So tired of this mod but it so essential to running a modern cart.
Last edited by athena; 18 Mar 2013 at 04:42 PM.