The problem didnt go away...
Printable View
The problem didnt go away...
Looks like either haven't fully installed the plugin or after installation have chosen to remove the dynamic dropdown option. It appears whether somewhat on purpose or through random design those two constants were placed in the configuration menu to help identify the source of a problem based on the error messages.
If that menu is too be absolutely not included but the constants used, then recommend reviewing the installation script portion for dynamic dropdowns and to insert just the needed constants.
I am using 1.5.7d
westminster_new
Installed: SBA Github Combined w/ 1.5.7 https://github.com/mc12345678/Stock_...butes_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.
BTW, the site name is pfcfurnitureindustries.com It is a test site
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. :)
For sanity, because the added content was inserted within existing quoted text (and therefore will not be included in a word reply) and I'm forgoing a bunch of copy and paste, perchance was the failed attempt made with either of the two items at the bottom of the screen capture?
The selection of dropdowns to which I was referring are at the screen that appears when choosing add quantity for product variant.
It sounds like you are wanting to assign a quantity to each individual attribute instead of a combination of attributes. For example you aren't selling a total of 9 sofa lovesear bundles, but instead x loveseats and up to 9 sofas.
As to the convert all SBA dropdowns, that removes the option name selection of the added SBA dropdown selection from all portion names that have been set to use that feature. It is a quick and dirty way to convert those to a plain dropdown configuration.
Also, please forgive me, but I cant tell from the provided information about the lack of the reproduction of the error message if there was any positive progress. Info is always helpful, no matter how painful it may seem to try to explain. :)
No, the two items at the bottom of the screen were not the items that failed.
Yes, you are correct in your understanding of how I will need to use the quantities for inventory.
I did not see any progress with the repeated steps taken. I was trying to reproduce an error log to see when it would trigger, but I was unable to trigger the error again, but no, I did not see progress.
Today, I will attempt to reinstall the plugin to another test site of 1.5.7d and lt you know if I have any success.
Thank you for your patience and time. How can I buy you a cup of coffee or drink?
Follow my signature link. I should make it easier, but... ;) while I'm not directly associated with the Zen Cart project, I'm sure those who support it more directly as an alternative would appreciate the support instead. The choice is always in those of the community.