DragonflyCMS Projects > Storez > [fixed] ModifyUser Function Doesn't Exist > Community Forums > Phoenix Netology
Forum Index > eCommerce > Storez

[fixed] ModifyUser Function Doesn't Exist Reply to topic


Storez version 9.2.5.
- General Setting: Guests Can Add Items to Cart: No; Guests Can Checkout: No.
- Go to Storez admin panel, click on "Orders" link. On the next page, in the Order List, I click on "View" link on of the "Active Orders". On the next page, there is an order belong to a certain customer (the customer is not Guest; but he is a registered member). Click on Username's link (modifyUser), but on the next page, there is no modifyUser page.

Initiated by Bugger (Original Entry) - Comments Here Please.

Please enter your server specs in your user profile! 😢


Correct - doesn't exist, never existed in any version Sad

Only possibility that springs to mind is to have the ability to edit the user's account details from admin, similar to nukebiz.com/Storez/account/

I can add a function to do that - your thoughts?

Also, whilst in that Orders area, there is currently no ability to edit order item details, or even to totally delete an order item - I could also fix that.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):


Thanks for your response, Phoenix.

I also want to let you know about the "Instant Download" feature. Is there any way to modify an order item, in order the customer can download the product item related to his/her order?

I have checked the code in modules/Storez/orders.php in line about 139 to 167, the logic said: "If payMethodData field in cart_orders table is not equal to blank string, the customer can download the product". But I never seen the form to update this field from Storez Admin panel. CMIIW. Sad

So, my question and request is: "Could you please to add this feature: to update the payMethodData field in cart_orders table from Storez admin panel, in order customer can download the product item after Admin updated this field?". Thanks again.

Best regards,
Masino Sinaga

Please enter your server specs in your user profile! 😢


Correct, it doesn't exist - that is a key part of my intention to provide order edit ability.

I haven't been happy with this area - deciding payment has been made simply by checking if the field is not empty is open to risk, so the check and the edit will be more elaborate than what currently exists.

Still many areas where functionality can be improved - your feedback is greatly appreciated Very Happy

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):


I just realized, this will require coding for every payment method.

Obviously PayPal needs to be done - which one are you using?

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):


Thanks for your response, Phoenix. Smile

Actually, I am not using Paypal. I made and using my own payment method. It is a transfer via bank payment method. The bank itself is one of banks in Indonesia. Let's say it is a Bank Mandiri. I think you don't need writing code in every payment method, especially for payment method which need confirmation manually from customer such as the bank I mentioned above.

I just added a new TextArea field below the Order Notes field in Order Status Storez Admin Panel. The default value for this field is blank. If the customer send his/her payment confirmation to me, than I fill in the Flag Download, I click Update button, then on the Product section, the link for download the product item will appear. And of course, the customer's orders list will updated and the download URL will appear on there. I have implemented this and it works good.

See Flag Download textarea on the screenshot by clicking the URL below (I have uploaded the picture to my coppermine gallery):

nukebiz.com/coppermine...ullsize=1/

How about that? Any comment or suggestion? Thanks. 😉

Best regards,
Masino Sinaga

Please enter your server specs in your user profile! 😢


Pictures are good Smile

There is a Direct Deposit component in Storez that I can update.
The idea was to place an edit link next to payment method in Orders.

Since each payment method has different requirements for payment completion, I just code a standard function name in each class and code that function so the payMethodData field is updated according to those requirements.

I need to do this anyway because I'm not particularly happy with the way PayPal completion is handled, and because there are other payment methods in use.

I also found another small bug so I will have this completed during the next couple of days.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):


Thanks, Phoenix. I am frankly to say that I am the one of your best fans... especially for the Storez module. I really like this module very much. Can't wait to see your last update for this module. Keep up the good work! Very Happy

Best regards,
Masino Sinaga

Please enter your server specs in your user profile! 😢


I now have order payment edit capability, albeit in a different manner to originally intended.

The problem I had, as I mentioned a few weeks ago, was that order status and sub-status codes were not rigidly encoded, so cannot be safely used to establish payment completion without re-writing the whole structure.

So, I have introduced an extra order field called "allowShipment" - this appears in admin order status and when set to "Yes", automatically resets order payMethodData to "Completed" (in the case of PayPal, it updates that string) and this then automatically triggers the download info.

In some ways, similar to your effective solution, but the advantage of applying to all Storez payment methods - I have fixed the Direct Deposit option which effectively is what you are using, and will release an update within the next hour (still haven't added ModifyUser yet).

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):


Storez v9.2.6 now available » nukebiz.com/Downloads/...ils/id=64/

One field added to database orders table.

Hopefully, no issues arising from further code tidying.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):


Thanks for the update, Phoenix. 👏
I will check it out as soon as possible and will let you know if any other issue occurs.

Still wait for "modifyUser" function. Wink

Best regards,
Masino Sinaga

Please enter your server specs in your user profile! 😢


modifyUser function now completed - just a little testing to do, and the code tidying that I do whenever I work on a file.

Actually that function is also required for reviews admin.

v9.2.7 » nukebiz.com/Downloads/...ils/id=64/

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):


Again... I have to say: Thank you very much for this wonderful job, Phoenix!
I have tested it, and it works very good. 👏

Best regards,
Masino Sinaga

Please enter your server specs in your user profile! 😢

All times are Australia/Adelaide


Jump to: