0

I'm using Drupal commerce Kickstart to create an E-commerce website, I wonder there is no cancel order option if a customer ordered something. I want to know how my customer can cancel their own order if he/she accidentally ordered some wrong product?add cancel order button here

Sampath
  • 153
  • 2
  • 13

1 Answers1

0

based on your screenshot, you are not using the default checkout view. Please go to admin/structure/views/view/commerce_cart_form/edit/default%3Fdestination%3Dcart to see the defaulf view.

With the default view, you will have a remove link to remove items.

The field is called (Line items referenced by commerce_line_items) Commerce Line Item: Delete button (Remove)

Following is the screenshot of the default kickstarter shopping cart view

If you don't find this, please install a fresh version of kickstarter and compare you setup with the default one, you will find what you are looking for.

I hope it helps.

Cheers

Denis K
  • 128
  • 4
  • Hi Denis Kolmerschlag, Thanks for the answer. But I want to show that remove or cancel button on orders page after customer ordered something. Not on shopping cart page. – Sampath Jul 06 '16 at 05:38
  • Hi, if i understand well, you are talking about the page /checkout/id ? if yes, it's a views too, so the same principle apply. The views to update is there: **admin/structure/views/view/commerce_cart_summary/edit** – Denis K Jul 07 '16 at 05:42
  • Sorry Denis, I'm talking about "user/id/orders" page where users can see their placed orders. I want to add a "cancel order" button in "user/id/orders" after user has successfully placed an order. – Sampath Jul 07 '16 at 06:27
  • Hi. Same thing, you add the delete link to the view: **admin/structure/views/view/commerce_backoffice_user_orders/edit**. – Denis K Jul 18 '16 at 00:28