chuckrey:
I am using 1.5.7d
westminster_new
Installed: SBA Github Combined w/ 1.5.7 https://github.com/mc12345678/Stock_By_Attributes_Combined
Install appeared to go well as the site is in place and the menus as described are displaying. I have added a quantity update via Catalog>Products with Attributes (aka SBA). I clicked on the Add Quantity variant for Product Variant, then selected the option value as listed (attributes names and values are installed), then entered the unique Description, Custom ID and Quantity, the Submit. I received a message at the top reading: "Product successfully updated". It then displays the Stock ID, Unique Combo, etc... I clicked save It then reverts back to the screen as if nothing was entered. I then attempted to export the data via the export option on the SBA menu, but when opening the file, there is only the headers. I checked EP4 and exported the file and there is no data there either.
I checked the logs and I received the following error......
PHP Fatal error: Cannot declare class products_with_attributes_stock, because the name is already in use in /home/xxxxxx/public_html/xxxxxx/includes/classes/products_with_attributes_stock.php on line 0.
Not sure if they are related, but I assume so and I have no idea how to resolve. The plugin is perfect for what I need and it appears strait forward, but there is obviously something I have missed. Any help will be greatly appreciated as this is something I really need to work.
Thank you and I hope to hear back.
While I might be able to track down some things based on the above provided info, it would be that much more helpful to get a little more data if possible.
When selecting the attribute dropdown adjacent to each attribute, how did it read?
Could you describe your intended conditions for the stock quantities you're trying to achieve? For example, some strive to identify a single variant of attributes to represent their stock such as a quantity of shirts that are a given size and color as compared to having a quantity of object one, a quantity of object two and a quantity of object three where each object is optionally available with the main product.
Third question, the error message in the logs is expected to contain more information leading to that final error, could you please provide all of that information and continue to obscure what looks like to have been the admin directory?
For report back on your observations, depending on how the product was attempted to be generated the export from within this module may not be expected to provide the desired results. To that, EP4 would provide that information, if the information was still on the database.
It does look like and for some reason I recall that there was a condition or situation that has resulted in the behavior described, but at the moment I can't recall what that was and I thought that problem had been addressed.
It also would be suggested to attempt to repeat the sequence and after each operation to take a look at which causes the logged issue. Yes, I can assume that providing all of the log information would likely also identify when, but doesn't hurt to do double duty in the event it doesn't.
Another question, are you aware of an older version of SBA has ever been installed to what is now your current/updated database?
When on the SBA screen to view the stock, then at the bottom of the screen, is there a table break with information about other existing variants?
Does your database/store support more than one language?
Lastly, in the back of my mind I have a question about the file installation where the concern is if only the files intended for the admin are in the admin and only the files for the catalog are in the catalog. I believe that addressing the above will help identify if there might be a mix up, but one step at a time. :)
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...