cancel order from customer feature in nopcommerce - nopcommerce

I am a newbie to nopcommerce 2.2 which uses mvc framework. In nopcommerce admin backend,there is option for admin to cancel the order. Then the mail goes to the customer saying that his order has been cancelled. I wanted to have the cancel order feature for customer,wherin he can cancel the order placed in his myaccount/orders tab.But the order should only be cancelled after the mail goes to the admin and he approves the cancellation.After the mail is sent to the admin,it should wait for admin's approval.

I'm assuming you're up for coding it because that functionality doesn't exist right now.
Add a "Cancel Order" button to the Order Details page if the order status is not Completed
Add a column to the Order table to indicate that a cancellation was requested.
Send an email to the store owner if the Cancel button is clicked by the customer
Add a field to the Admin/Order/Edit/ screen to show the customer wants to cancel.
The store owner clicks the Cancel Order button that is already there.

Related

What is the best action to be used after a purchase is made on WooCommerce?

I'm experimenting with some hooks, but which one should I use to trigger an action when the client presses the submit button on checkout page?
I'm trying to add a QR for each Order, so when the client goes to the place to get his product, the shop scan the QR and that order puts in a 'completed' status.
I'm using the woocommerce_thankyou, but is the best hook action to do it?
Your question is not clear. You should have given some more details of your requirements. In which context do you actually trigger the hook and for what purpose.
Btw, if you just want to trigger when an order placed, no matter is the order status, then use this one:
Woocommerce_new_order
But if you want to trigger only when the order is completed then use this one
woocommerce_order_status_completed
The woocommerce_payment_complete hook is fired when the payment is completed.

woocommerce custom order request

I am facing problems with custom order request. Actually I want to show 1 form in anywhere of my website and when any customer fill that form then as a admin I will get approve or disapprove option if I do Approve the customer will be get notified by email but if I approve this will be converted as a Order. also if I reject customer will be get notified How can I do this?

Google Analytics (or Tags): With an event, how to trigger an action in another system?

I am looking for something that would enable me to trigger an action in another system (a CRM).
For this, ideally, I would like Google Analytics (or Google Tag Manager) to notify the other system the event of shopping cart abandonment.
Assuming I am using customer tracking id, I would like to know a few parameter values.
How can this be implemented? Is this feature provided by GA or GTM?
Thanks
Technically you could do that with GA, if your CRM have support for incoming email as notification option.
Basically you could give an event value of -1 for your abandonment event and set up a Custom alert firing on negative value of your event (for example - set alert for Action "Abandon" and condition - value less than 1). Anyhow, this is just example setup, there are many option.
Set email notification for your alert (don't forget to set it for daily) and you are done.

Drupal Entity Registration module - List of deleted registrations

I have events (sport trainings), created manually. Users can register for that events with Entity Registration module.
What I need is a list of deleted registrations. I can create a rule "after deleting a registration create a new entity" with a date field (when registration was deleted) and a field contains user. But problem is... I don't know, how to store name of that related event.
Is there a way to store a name or date of related event, when registration was deleted? How can I do it?
It has been a while since I have messed with entity registration, but if I am not mistaken, isn't there a registration state option?
This may be a bit of a workaround, but could you disable the ability for users to delete a registration outright, but allow them to change the state of their registration to a state called "Deleted"? That way you would still have the registration and still have all of the data associated with it.
For a more streamlined method, you could add a button or something that runs an action that changes that user's registration to state "Deleted" but no button to change it back, so they cannot un-delete (assuming you don't want them to be able to un-delete).

how to continue the session from the client side using FLEX

I'm using FLEX for front side of my web application. My task now is to handle session timeout. I can capture session timeout now. What I want to do is let the user continue the session, meaning that let the user stay on the current page (for example, current menu selection or current table selected) and restore every content that users have put in the text field.
For example, there are four division in my menu: Front page,management,events and setting. When the user click "management", there would be some text fields like user name, address or other info. When the session is expired, the user can continue the session, staying on "management" state and regain what they have typed in the text fields. How to do that? Thank you for your reviewing!
You can create a in Flex component that periodically calls the back-end to keep the session opened.
You just need to display the login panel or whatever in front of the current "management" panel.
As soon as the user re logged in, just switch back to the previous configuration by hiding the the login panel and the user will be able to continue working without loosing anything.
HIH
M.

Resources