This issue isn't really caused by SBA, more a case of Edit Orders following a different process to the norm.
I've resolved it by editing the functionality of Edit Orders module and variant quantities are now updated correctly.
This issue isn't really caused by SBA, more a case of Edit Orders following a different process to the norm.
I've resolved it by editing the functionality of Edit Orders module and variant quantities are now updated correctly.
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.
I'm well aware of this. What i was referring to as "the norm" is that when adding a product to a customer order via Edit Orders, it does not go through the normal shopping cart process where the SBA code is followed, so in that respect, yes, Edit Orders does follow a different process.
my comment was not directed to you as much as it was making sure it was clear for those following this thread.. your prior post implies something that's not completely true. edit orders follows the stock check out & inventory path. when editing an order... and that is what I was trying to make clear. SBA's inventory management is not the norm and it is not the stock inventory path..SBA is a modification to the stock inventory process..
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.
Ok, I've searched all over and can't find an answer.
When I try uploading "products_with_attributes_stock.php" into my renamed admin folder I get a "226 ***MALWARE DETECTED***" error.
I'm using FileZilla and my hosting is with GoDaddy.
v1.5.1
Hi,
First let me say there is not any malware in this plugin that I am aware of. I have looked through most of the code while making updates and nothing seemed out of place to me from that respect. If you have a specific piece of code identified please let us (the forum) know so it can be looked at.
There are 6 files with the name you identified that are placed into the admin in different directories, I will assume at this point that the file in question is in the main admin folder and not a sub-directory of admin.
In the past I have heard from a user that GoDaddy did not like the eval() (php statement) that was used in this file as part of a loop, I rewrote that section to remove the eval(). It is possible that GoDaddy does not like the way the new loop works. Since I have never used their service I can not test this, but if you want to try this and let us know if it resolves the warning here is my suggestion.
Try to upload the same file from version 1.5.2. The primary change to this file was the loop for adding all variables at the same time, there are also some cleanup / sanitation of user provided variables to try and protect your input.
I should note that the version of the file from 1.5.2 does have the eval() code in it that GoDaddy complained about to another user of this mode.
If this resolves the malware warning, you might consider just using that file version, it will not provide the newer options but I think is will still work as long as GoDaddy does not complain about the eval(). Remember to thoroughly test you site to ensure things work as they should.
As a note, I also use FileZilla, and have not seen this kind of warning while using it. What local antivirus are you using, that may be what is flagging the file.
Backup Files and Databases First. GitHub
Suggestions, Plugins, etc. used at your own risk.
I’ve tried both FileZilla and CuteFTP – once the file gets loaded onto the server, it’s then immediately deleted. I did however try GoDaddy’s built in FTP program and the file loaded fine. Attached is a screen capture (of only the relavent info) of CuteFTP’s log which is the same as FileZilla.
I apologize, when I said 1.5.1 – that’s my Zen Cart version. I’m using SBA version 1.5.3. I’m also running Symantec Endpoint Protection, however I ran both that and Malwarebytes on my system and they didn’t detect anything. So it’s strange that I can’t upload using any FTP, but I can using GoDaddy’s built in FTP program.
![]()
Hi all,
first thanks to potteryhouse, great job man :-)
I found an issue (no big deal really) but i'm not able to understand if it's related to just me or is "common" (searched the thread but didn't found anything).
If you use "sync quantity" on a product that doesn't have any quantity variant defined it will put the grand total to 0, so basically if You have mixed articles, some with SBA defined and sone not, and You use the "sync all quantity" function all the articles without SBA defined will have the Grand quantity set to 0.
It doesn't generate any log error so I assumed it's some sort of result out of ordinary...
If some one walked into this and have any info to share it will be appreciated :-)
SBA: 1.5.3
ZenCart: 1.51
I'm, 99.9% sure this is an issue with GoDaddy. I've use CuteFTP and FileZilla on two different computers and get the same message. However when I use GoDaddy's built in FTP, everything works fine.
Also, it was NOT ONLY this module, it happened with MANY other modules and even the Zen-Cart install.
BTW, this module is EXCELLENT! Thanks for the hard work!
Backup Files and Databases First. GitHub
Suggestions, Plugins, etc. used at your own risk.
Bookmarks