How to edit an existing order

How to edit an existing order

Monday 26 June 2006 3:15:54 am - 4 replies

Author Message

Łukasz Serwatka

Monday 26 June 2006 11:24:10 pm

Hi Mario,

You can remove order. Click "Webshop" tab, then click order id. In next view you can remove it by clicking "Remove" button. Unfortunately you can't edit edit/update order/customer info with new information. You can write an extension which will update customer data. You can re-use code from kernel/shop/userregister.php.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Lars Bratli

Sunday 09 July 2006 3:11:42 am

Hi everybody! (My first post :)

Removing an order does not work for me. When I click remove it posts back to the list of orders without removing it. Is there any other way to delete orders? Running on 3.8.0 btw.

Łukasz Serwatka

Sunday 09 July 2006 11:29:14 pm

Hello Lars, and welcome to eZ publish Community.

In 3.8.x remove functionality was replaced with archive. However according to PHP code it should be possible to remove the order (backward compatibility). I think bug is in the template design/admin/templates/shop/orderview.tpl

Line 109:
replace

<input type="hidden" name="DeleteIDArray[]" value="{$order.id}" />

with

<input type="hidden" name="OrderIDArray[]" value="{$order.id}" />

I will post bug report about this and commit the fix.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Lars Bratli

Monday 10 July 2006 12:53:57 am

Thank you so much Lukasz, that did the job :D

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.