[SOLVED] i need module that i can delete order from the orders page
Started by tomer, Apr 07 2009 02:16 AM
open ....admin/tabs/AdminOrders.php
Find
and include "$this->delete = true;"
now you have this feature enable in the admin/orders page
Find
$this->table = 'order';
$this->className = 'Order';
$this->view = 'noActionColumn';
$this->colorOnBackground = true;
and include "$this->delete = true;"
$this->table = 'order';
$this->className = 'Order';
$this->view = 'noActionColumn';
$this->colorOnBackground = true;
$this->delete = true;
now you have this feature enable in the admin/orders page
thanks very much
[Shoes-ID]http://www.myshoesid.com
great little modification.. thanks...
PetsRight.com
http://www.petsright.com
http://www.twitter.com/petsright
My Interview In Practical Ecommerce Magazine
http://www.practical...ime-s-The-Charm
http://www.petsright.com
http://www.twitter.com/petsright
My Interview In Practical Ecommerce Magazine
http://www.practical...ime-s-The-Charm
Thanck, is very necesare modification
Pentru mamici - Informati utile si produse pentru pentru burstici si mamici de bebelusi, comunica pe noi pe forum.
tks! very good
[Shoes-ID]http://www.myshoesid.com
you are a greate genius little smartas,
biiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiig hug
one line of code, gigantic result, every ps user will need.
you get a personal oscar, emmy and the Nobel award from me.
the community is asking for a way to automaticly attach files to the emails, like the invoice, can you get this done for us.
I mean if not you, the hell who else will get this to work, i´m impressed
sd
biiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiig hug
one line of code, gigantic result, every ps user will need.
you get a personal oscar, emmy and the Nobel award from me.
the community is asking for a way to automaticly attach files to the emails, like the invoice, can you get this done for us.
I mean if not you, the hell who else will get this to work, i´m impressed
sd
i would think it would need to be added here somehow
in classes/order php, lets say we want to ad a pdf with the terms of use for example
/* Join PDF invoice */
if (intval(Configuration::get('PS_INVOICE')) AND Validate::isLoadedObject($orderStatus) AND $orderStatus->invoice)
{
$fileAttachment['content'] = PDF::invoice($order, 'S');
$fileAttachment['name'] = sprintf('FAd.pdf', intval($order->id));
$fileAttachment['mime'] = 'application/pdf';
sd
in classes/order php, lets say we want to ad a pdf with the terms of use for example
/* Join PDF invoice */
if (intval(Configuration::get('PS_INVOICE')) AND Validate::isLoadedObject($orderStatus) AND $orderStatus->invoice)
{
$fileAttachment['content'] = PDF::invoice($order, 'S');
$fileAttachment['name'] = sprintf('FAd.pdf', intval($order->id));
$fileAttachment['mime'] = 'application/pdf';
sd
As said in french forum in this post this modification shouldn't be 100% safe and clean.
Hallo SD,
jetzt hab ich das nochmals gemacht, mit Resultat =0, siehe pic.
Die Seite ist nun aber definitiv online, mit kleinen Schönheitsfehlern halt noch, aber damit können wir leben.
www.swiss-umbrella.com
Gruss
Bruno
jetzt hab ich das nochmals gemacht, mit Resultat =0, siehe pic.
Die Seite ist nun aber definitiv online, mit kleinen Schönheitsfehlern halt noch, aber damit können wir leben.
www.swiss-umbrella.com
Gruss
Bruno



Back to top










