How to delete orders in Prestashop

December 4th, 2009

Most of you have created few test transactions with your ecommerce website (Prestashop) when building it. By the time you decided to delete / clear all test orders in Back Office but wonder how as no “delete button” available.

The solutions is very simple

Option 1:

Click on one of the order and replace the parameters “vieworder” by “deleteorder” from the url

For example

http://yourdomain.com/admin/index.php?tab=AdminOrders&id_order=7&vieworder&token=798dfd720021761c80d828eb3f2a8621

Change it to:

http://yourdomain.com/admin/index.php?tab=AdminOrders&id_order=7&deleteorder&token=798dfd720021761c80d828eb3f2a8621

Option 2: For the sake of PHP

Go to AdminOrders.php class in webroot\admin\tabs\AdminOrders.php

At line 25 look for

global $cookie, $currentIndex;

And add this code below it…

$this->delete = true;

That’s it.. when you click on “Order” main tab you will see the delete button “X” next to each order (screenshot)

add-delete-button-prestashop-orders

Categories: PHP, Prestashop | Tags: , , | No Comments

Prestashop: just an other open source e-commerce system

November 12th, 2008

Has anyone heard of an open source e-commerce system “Prestashop“? I bumped into it from business forum and it really inspired me. It does support multiple languages, multiple currencies and very friendly backend system. I’m now planning to use it for my future e-commerce projects.

Why don’t you check it out yourself and who know you might benefit from it.

Don’t forget to checkout their forum where thousand of developers all round the world developed some amazing plugins and modules such as: Protx payment gateway, Google Checkout etc

prestashop front endprestashop backend

Back-office
comprised of your administrator panel
  • Unlimited categories & subcategories
  • Full-featured WYSIWYG text editor
  • Unlimited product attribute combinations
  • Unlimited product specs
  • Unlimited images with automatic resizing & file optimization
  • Unlimited currencies
  • Unlimited tax settings
  • Unlimited carriers & destinations
  • Tax by state, country, both, zones, or no taxes
  • Digressive pricing (Quantity discounts)
  • Real-time currency exchange rates
  • Inventory management
  • SMS/Text-message alerts
  • Add/delete function modules
  • Bar codes
  • Contextual help
  • Attribute Combo Generator
  • Delivery status notification e-mails (customizable)
  • Unlimited languages & dialects
  • Import/export language translations
  • 13 default language translations
  • Search Engine Optimization (SEO)
  • Friendly URLs / Permalinks
  • 100% modifiable graphic themes
  • Back Office users & permissions (ACL )
  • Maintenance Mode
  • Minimum order amount
  • Newsletter contact export
  • Alias search
  • Bulk lister/import .CSV files
  • SSL (Secure Sockets Layer) encryption
Front-office
comprised of your business Website
  • Special deals (price reductions, gift vouchers)
  • Featured products on homepage
  • Top sellers on homepage
  • New items on homepage
  • ‘Free shipping’ offers
  • Cross-selling (Accessories)
  • Product image zoom
  • Order out-of-stock items
  • Customer subscription & user accounts
  • Unlimited payment methods
  • Payment by bank wire
  • Cash-On-Delivery (COD)
  • Preconfigured for Paypal™
  • Multiple-recipient contact form
  • Product tagging & tag cloud
  • Search
  • Merchandise return (RMAs) & credit slips
  • Package tracking
  • Offer gift-wrapping & recycled packaging
  • PDF customer invoice
  • Shopping Cart recall
  • Sale of services & virtual goods
  • Custom Favicon
  • RSS feed
  • Newsletter opt-in
  • ‘Pick up in-store’ option

Categories: E-commerce, Web development | Tags: , , , , | 1 Comment