New Zenner
- Join Date:
- Feb 2013
- Posts:
- 45
- Plugin Contributions:
- 0
Post #201 by beyond_dreams
HI,
I followed the instructions in the readme, and it does not say anything about running an sql and i do not see any sql file.
Started by creinold on 27 Oct 2010, 6:34 PM · Views: 69,996
New Zenner
HI,
I followed the instructions in the readme, and it does not say anything about running an sql and i do not see any sql file.
Totally Zenned
Here is the download...is this what you got? If so.....
http://www.zen-cart.com/downloads.php?do=file&id=202
Here is the folder in that package with the sql files - I would read carefully in the instructions for this part of the install:
stock_by_attribute\legacy\
This must be the issue...especially if this is your first time installing an SBA mod.
New Zenner
ty for your reply according to his instructions the legacy file is for the people upgrading and for those who want to upgrade the database manually whatever that means. There are no instructions for these files under his clean install instructions. But what does concern me are the instructions to rename includes/modules/your_template to my template name. The only file under this is the pages folder. Was i really supposed to change the name of the pages folder to my template name?
now in my template are 2 folders that have to do with the cart, that seem to be new. However these folders are shown under includes/modules/pages in my main directory. Should these files have been placed in the main includes/modules/pages as they are originally? Or will my system recognize the new folders under my template as the ones they need to use that are not under a pages directory?
Totally Zenned
I wish I had more time...but I'd recommend you read the zencart template over-ride information in your docs folder within your zencart installation files.
yeah, it seems he has it covered with > Once you have backed up your database and all files are uploaded, go to http://your_store_url/stock_by_attr_install.php to update the database.
so if you have done that it should take care of the sql issue.
New Zenner
Thanks again for your reply. I did run that file and as per the guy above also got a msg the install was successful, but obviously it wasn't. Because I got the same results he did no stock by attributes option in the catalog menu in the admin panel. But thank you soo much for trying to help, it is very sweet of you. Maybe the plugin writer will eventually look at this support thread.
Totally Zenned
Its ok...been there done that.....and have learned so much here.
If you know how to look at your database with MySql-Front or another sql program....and see if the table: products_with_attributes_stock was created.
If not there...tables should be alphabetical - you can run the sql through the zencart admin > tools > Install SQL Patches.
Normally I run SQL through MySql-Front but his instructions says you can use this zen admin tool to do it.
New Zenner
Beyond Dreams:
Thanks again for your reply. I did run that file and as per the guy above also got a msg the install was successful, but obviously it wasn't. Because I got the same results he did no stock by attributes option in the catalog menu in the admin panel. But thank you soo much for trying to help, it is very sweet of you. Maybe the plugin writer will eventually look at this support thread.
I recommend that you use this one instead:
http://www.robophung.net/zencart/creinold_SBA5.1_alpha_version1.5_for_zencart_V1.5.0.zip
I feel like this is one of the greatest and almost essential addon features of zen-cart, but current state of this plugin module is messy and frustrating to say the least. There are way too many versions going around and shoddy implementations of the code that probably shouldn't have been done or put up in the plugin section, but regardless, it is what we are stuck with.
Creinold provided a very beta initial version where he integrated with another plugin (dynamic dropdowns). But dynamic dropdowns itself was also a very poor and beta release with a ton of bugs, which are still presenting themselves in the above SBA plugin link in its current state. I believe the single dropdown option and the multi dropdown are broken and are not practical to be used. Only sequential dropdowns is functional.
However, the above link I provided restores the ability to use radio button options.
I've also addressed most major bugs that have persisted with SBA in the past in the above release, most importantly, the RESTOCK items feature when deleting an order actually works.
It's generally agreed upon that checkboxes, files, and textbox attributes should be options that store owners can integrate into their product listings, but that they should not affect stock levels. I'm still investigating a viable solution to be able to make this ability functional.
As far as the dynamic dropdown bugs, I'll try to address those issues ASAP, and if I can't, then I will simply just rerelease a version of SBA that takes out the dynamic dropdowns completely. Also, I am going to integrate product attribute grids into SBA. Meanwhile, if you need a functional SBA, use the link I provided. I've tested it, and it's the version I use in my live store, so it works. Just be aware of the issues concerning dynamicdropdowns if that's the style of attributes you need to implement in your store.
Totally Zenned
RoboPhung:
It's generally agreed upon that checkboxes, files, and textbox attributes should be options that store owners can integrate into their product listings, but that they should not affect stock levels. I'm still investigating a viable solution to be able to make this ability functional.I agree that textbox, text, and file type of attributes should be excluded from SBA.. However, with regards to checkboxes, I'm not sure that is a completely true statement for all shopowners.. at the VERY least a shopowner should be able to decide when a checkbox, radiobox, or dropdown attribute is created whether or not there will be stock associated with the that particular attribute.. (Some attributes may be OPTIONAL or have a default value and may not have a stock level associated with it) This IMHO would provide a shopowner with GREATER flexibility when managing SBA..
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
Totally Zenned
DivaVocals:
I agree that textbox, text, and file type of attributes should be excluded from SBA.. However, with regards to checkboxes, I'm not sure that is a completely true statement for all shopowners.. at the VERY least a shopowner should be able to decide when a checkbox, radiobox, or dropdown attribute is created whether or not there will be stock associated with the that particular attribute.. (Some attributes may be OPTIONAL or have a default value and may not have a stock level associated with it) This IMHO would provide a shopowner with GREATER flexibility when managing SBA..
Nods in agreement :yes:
Zen cart installation / maintenance / customisation / hosting
Supported Modules: Dutch language pack, Multi site, Dynamic Price Updater and more.
Totally Zenned
I am really hoping that someone has a beta copy of Ceon's Product Variants that can be finished testing and released in some way. It has most/all of the missing features this module needs to be indispensable for those of us using attributes.
Totally Zenned
RoboPhung:
I recommend that you use this one instead:
http://www.robophung.net/zencart/creinold_SBA5.1_alpha_version1.5_for_zencart_V1.5.0.zip
I appreciate your work on this.
I'm wondering if what you are saying here is that the version uploaded to the plugin area here is not a working mod?
here: http://www.zen-cart.com/downloads.php?do=file&id=202
I'm doing a clean install of zencart V1.5.1 then upgrading from 1.3.9h in order to correct alot of problems with an old active store and the ability to use a mod like this is essential. Is the version you are working on in your link based on your experience the best shot I've got? Thanks for any insight.
Totally Zenned
RoboPhung:
I recommend that you use this one instead:
http://www.robophung.net/zencart/creinold_SBA5.1_alpha_version1.5_for_zencart_V1.5.0.zip
I'm in tears.....THANK YOU....I just installed this on zencart 1.5.1....whew!....can't believe it works!
INCIDENTALLY....I LEFT OUT THE BOXES...NOT SURE WHAT THAT IS FOR BUT ADMIN>INCLUDES>BOXES ARE NOT USED IN 1.5.1
Totally Zenned
OH....have to take that back....everything looks great in the admin but my storefront disappeared. Blank. back to the drawing board....
Totally Zenned
just a file edit in functions_lookups.php.....thanks to the logs > mydebug for pointing that out.
Totally Zenned
Does this plugin work Easy Populate 4?
Using Zen Cart 1.5.1
New Zenner
athena:
I appreciate your work on this.
I'm wondering if what you are saying here is that the version uploaded to the plugin area here is not a working mod?
here: http://www.zen-cart.com/downloads.php?do=file&id=202
I'm doing a clean install of zencart V1.5.1 then upgrading from 1.3.9h in order to correct alot of problems with an old active store and the ability to use a mod like this is essential. Is the version you are working on in your link based on your experience the best shot I've got? Thanks for any insight.
I can't say whether the one uploaded really works or not since I've never bothered testing it.
But I know that the one I uploaded in my server works. It's the version I use in my live store which runs 1.5.1, and it addresses all the bugs as stated in my previous post.
Like you, I basically did a clean install of my store on 1.5.1 and added on all essential plugin mods.
Then I ran a database patch from the zen-cart upgrade feature (explained in more detail in the zen-cart docs) to patch my database from 1.3.9h to 1.5.1. Then i went through each of my plugins sql patches and compared them with the 1.3.9h version of that plugin's sql patch. For the most part, the sql commands for the 1.5.1 plugins are the same as 1.3.9h version of the plugins, which is good, minimal work involved.
Concerning SBA in particular...if you compare the sql patch for the 1.3.9h version of SBA to this one, it's quite different, but for my store, it was okay to to run the 1.5.1 sql patch over my existing database without uninstalling the sql patch for the old SBA first. You'll see some errors, but that's due to the fact that some of the tables already exist and the sba 1.5.1 patch is simply trying to create them again, so it's no big deal.
You can get a very clean upgrade path if you do it that way, and of course, my advise is to of course do all this on a test install first, over a test duplicate database.
Totally Zenned
I have gotten used to some features not working in SBA but this new install does allow me to "save" a change and then sync the quantities.
PROBLEMS: I guess you are aware of this, or maybe it is the sql thing. I'm not sure what the dynamic drop down feature was...never installed that mod...but when I try and use the search I can not get back to the stock by attributes list. I have to log out and back in to get back the list. Otherwise it just shows me what I searched for. If I hit the reset button I just get an empty result and have to log out and in to admin to get my list back.
Also, when I Add Quantity For Product Variant it does not show me the existing stock levels.
Totally Zenned
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.
New Zenner
athena:
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.
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).
Totally Zenned
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.
Tell staff why this post should be reviewed.