Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.400.563 Times

Reorder button for Ubercart 6.x-1.2

  Date Added: May 26, 2013  |  Visits: 440

Reorder button for Ubercart

Report Broken Link
Printer Friendly Version


Product Homepage
Download (54 downloads)



Repeat customers are your best customers; you can rely on them to keep coming back to your store so long as you provide the goods or services they need. They are a steady revenue stream, an easy sell. But to quickly close the sale you need to make it easier for them to find and purchase more of the same stuff they've ordered previously.This module lets your customer (or you, the admin) duplicate a previously placed order. It works by modifying the user order history page (e.g. user/4/orders) to display a "Re-Order" button for each previous order. The user can click on the link to have all the items from that previous order added to his or her current cart. Items added to the cart in this manner will have the current price, but will otherwise preserve all the same attributes as in the previous order.When stock tracking (using the Inventory API) is enabled, products are only added to the current cart if they are in stock.To Use:Install uc_reorder module. Enable it at admin/build/modules.Implementation details:There is no way to hook into the Ubercart core uc_order_history() function to change what is on the order history page. So to add the Re-Order button I had to employ a trick. The trick is to override the user/#/orders menu, defined in uc_order_menu(), to call my uc_reorder_order_history() function instead of the core uc_order_history() function. Note that in the Drupal 6 version this override is considerably easier, because of the new hook_menu_alter(). In the Drupal 5 version this involved defining a dynamic menu override in uc_reorder then ensuring uc_reorder loads after uc_order. Because of this trick, you can't have uc_reorder and uc_tracking enabled at the same time.The code is commented throughout. Comments and enhancements welcome.Revision notes:A change in Ubercart versions 6.x-2.0-beta6 through 6.x-2.0-rc2 renamed the menu path for the user order history. As a result, this module will not work properly with those versions. Please ensure you are using Ubercart 6.x-2.0-rc3 or higher.A change in Ubercart 6.x-2.0-rc5 modified the way attribute options are stored in an order, breaking this module. Use the 6.x-1.1 release of this module for Ubercart 6.x-2.0-rc3 and below, and use the 6.x-1.2 release of this module with newer versions of Ubercart.

Requirements: No special requirements
Platforms: PHP
Keyword: Added Button Change Current Drupal Easier Function History Module Order Order History Override Previous Release Reorder Trick Ubercart Version Versions
Users rating: 0/10

License: Freeware Size: 10 KB
USER REVIEWS
More Reviews or Write Review


REORDER BUTTON FOR UBERCART RELATED
Modules  -  microcontent 4.7.x-1.x-de
Basically you can think of this project as "making drupal easier by making more stuff nodes". * Every microcontent entry is a node. * Every microcontent entry is available as a block * You can also choose "special" microcontent subtypes. For now:...
10 KB  
Multimedia  -  Rollover background-color button for Graphics and Animations 1.1
Rollover background-color button javascript makes any form button change background color as the mouse moves over it.
2.95 MB  
Modules  -  Suppress Teasers 6.x-1.1
ConceptThe current Drupal core defines two content types, page and story. Anyone with 'access content' permissions is able to see both the nodes these content types define, as well as the teasers that they provide.When creating modules that define...
10 KB  
Modules  -  Contact attach 1.0
This functionality is added to the core Drupal Contact module.InstallationUnpack in your modules folder (usually /sites/all/modules/) and enable under Administer > Site Building > Modules. Requirements: - Drupal 5.x/6.x
 
Modules  -  Drupal 7 driver for SQL Server 7.x-1.0-alpha1
A Drupal 7 driver for Microsoft SQL Server (version 2008 and later).Installation instructions * Set up your IIS server in the configuration recommended by Drupal (using the URLRewrite module). Drupal 7 now ships with a web.config file, which...
20.48 KB  
Modules  -  Page Array 5.x-1.x-de
The pagearray module is a small (single function) helper module that can be used whenever there is a need to load the output of any Drupal path in data form. Based on the code in index.php, Page Array bypasses the theme('page') call, instead...
10 KB  
Modules  -  Node Form Template 6.x-1.0-beta3
The editing form of a node is themed using theme('node_form'), which is implemented by the theme_node_form() function in Drupal core's node module and can be overridden by adding a _node_form() function in the theme's template.php file. However,...
10 KB  
Modules  -  CiviNode And Civinode CCK 1.0
This module aims at making CiviCRM integration with Drupal easier and expose it to popular Drupal features.Installation Unpack in your modules folder (usually /sites/all/modules/) and enable under Administer > Site Building > Modules. Key...
 
Miscellaneous  -  SQL-like ORDER BY function for lists 1.0
This script contains a function that allows you to easily sort a list by multiple columns in ascending and descending order similar in function to the ORDER BY clause in SQL.
 
Modules  -  Git Browser 7.x-1.0-alpha1
This module provides view cvs style integration to allow a user to view a git repository. This module has been split into 2 parts so that the git browser can be embedded within another module to allow access to any git repository.Included is a...
102.4 KB  
NEW DOWNLOADS IN SCRIPTS, MODULES
Scripts  -  Free Ecommerce website creator 1.2
Free Ecommerce website creator is a free PHP shop creating script. This allows you to put a online shop on your own website. Create your own free ecommerce website for Your Business. Create an online shop using easyGUI online shop creator. The...
1.44 KB  
Scripts  -  MochiGames PHP Script ZDR 1.00
MochiGames PHP Script ZDR is web site, ready for use, for flash games. These flash games are downloaded automatically by "MochiGames PHP Script ZDR" from MochiGames media. The use of the games is free, you can use your own Mochi Publisher ID and...
368.54 KB  
Scripts  -  Php Chat 2.0
Add a free php site, single sign-on and multiple skins, 100% free 1. Server Modes: The chat server has paid mode and free mode. If the free chat mode, a free chat room will be assigned to your website with your domain as the room name. 2....
938.87 KB  
Scripts  -  Nibbleblog 3.0.1
Nibbleblog it's a powerful engine for creation and manipulation of BLOG's completely free. Very simple to install and configure (Only 1 step). The database used is based on XML files and this way it is not necessary to use MySQL or similar DBMS....
371.09 KB  
Scripts  -  PHP File Manager | CloudOsys 2.9b8
CloudOsys is a PHP file manager, a tool that allows your visitors upload files such as media content directly to your website. Your visitors will upload files directly to your website, where they can share and comment on them. Through cloud...
1.41 MB  
Modules  -  TinyMCE Node Picker 6.x-2.1
This module will de discontinued and replaced with Node Picker as soon as a stable release is available.TinyMCE Node Picker provides a button in TinyMCE that displays a list of links to content. Choosing a link inserts it into the editor.The...
20.48 KB  
Modules  -  Fapilicious 5.x-1.x-de
Fapilicious is a collection of FormAPI goodies.I hope to make it a repository of reusable FormAPI trickery and short cuts. Currently it has small collection of powerful FormAPI element validators.Please submit your favorite tricks as patches so we...
10 KB  
Modules  -  Donation Goals 6.x-1.x-de
The Donation Goals module lets you create nodes of the type "Donation Goal." These goals allow you to set an amount of money you'll need for whatever you're saving up for. Visitors of the site can then donate money through PayPal. Once the target...
20.48 KB  
Modules  -  Plica Twitter 1.0.1
Plica TwitterInstallation : * Download, unzip, and install plugin dir in /wp-content/plugins * Activate * All right now
10 KB  
Modules  -  Page Array 5.x-1.x-de
The pagearray module is a small (single function) helper module that can be used whenever there is a need to load the output of any Drupal path in data form. Based on the code in index.php, Page Array bypasses the theme('page') call, instead...
10 KB