Search
Code Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Development
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Tools
 Visual Basic & VB.NET
 XML
New Code
C# QR Code Generator 4.0.2.2
Salesforce WordPress Customer Portal 3.2.0
Single Leg MLM 1.2.1
OzGIS 14.6
Quick Maps For Dynamics CRM 3.1
Job Board Software 4.2
PHP Real Estate Script 1.3.2
IP2Location Geolocation Database April.2019
dbForge Data Generator for Oracle 2.1
VisualNEO Web 2018.12.15
SentiMask SDK Trial 1.0.0
OrgChart JS 4.6.4
dotConnect for BigCommerce 1.8
FedEx Smart Shipping For Magento 1.0.0
Database Workbench Pro 5.6.2.311
Top Code
MATLAB Support Package for Arduino (aka ArduinoIO Package) 1.0
Job Board Software 4.2
MLM Unilevel Plan Script 1.0.4
Easynews PHP for Scripts 1.7.1
MLM Unilevel Plan Software 1.0.2
AppControls 3.7.4
Comag Channel List Editor 1.0
Hangman Game 1.1
HTMLPad 2007 Pro 8.3
Tree data structure as a MATLAB class 1.0
FlowChartX 2.2
Travel Agency Script 2.0.1
Gif4J Light 1.0
riskcalc 1.0
DBSync for MS Access & MSSQL 2.0.0
Top Rated
VisualNEO Web 2018.12.15
Paste phpSoftPro 1.4.1
Deals and Discounts Website Script 1.0.2
ADO.NET Provider for ExactTarget 1.0
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Invoice Manager by PHPJabbers 3.0
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
Availability Booking Calendar PHP 1.0
PHP GZ Blog Script 1.1
ATN Jobs Software 4.0
Coupon as a Product 6.x-1.0
File ID: 100740






Coupon as a Product 6.x-1.0
Download Coupon as a Product 6.x-1.0http://drupal.orgReport Error Link
License: Freeware
File Size: 10.0 KB
Downloads: 4
Submit Rating:
Coupon as a Product 6.x-1.0 Description
Description: There are a couple of coupon modules that I found and tried for Ubercart 2.x. However, I found that they are either too fancy, or hard to understand. Normally, a coupon (as advised by Ubercart) are relying on line items, here I take a different approach.

In this module I treat a coupon as a product node with a negative price. This gives several good things:

* Since a coupon is a node (because products are nodes), you can have a themable page for a coupon, so you can print it out
* Stock can be used to check if the coupon is (un)available
* The coupon is attached directly to the order, so you don't need to mess around with the line items - the sum that goes to Paypal is already discounted (somehow with the line items the order lifecycle was quite obscure to me)

License: Freeware

Related: coupon, items, ubercart, Found, Order, Check, unavailable, Stock, attached, themable, Products, Nodes, directly, Print, don, lifecycle, obscure

O/S:BSD, Linux, Solaris, Mac OS X

File Size: 10.0 KB

Downloads: 4



More Similar Code

Happy as a Lark is a classic arcade game that has a total of ten levels. Each level has its own level editors, to check the scores of the players. This game can be played by anybody right from kids to the aged. This game has the score listings for each and every level. Webmasters can include this game on their websites for their website visitors.



Perl as a command line utility is an article that explains to programmers who use Perl that it is a useful and quick scripting engine for command line operations. Through command line, Perl can accomplish in just a single line, tasks that require...



PAR: as a VOLUME in READ mode using Python 1.4 onwards on Classic AMIGAs...

Many years ago Irmen de Jong ported Python to the Classic AMIGA range of
computers, (many thanks Irmen for your time in doing so). The versions were



This recipe shows how to build an xmlrpc multithread server that exposes a Pyro remote object as a web service. Be careful to the remote object state: two different ways (a global and a thread local) are shown.



This recipe shows how to build an xmlrpc multithread server that exposes a COM component as a web service.



This simple m-file plots the Soft Handover probability as a function of the Soft Handover Threshold value used in the UTRA Soft Handover Algorithm. The relationship has been dertived by taking the ratio between the Cell area where Soft Handovers...



This simple m-file plots the Soft Handover probability as a function of the Soft Handover Threshold value used in the UTRA Soft Handover Algorithm. The relationship has been dertived by taking the ratio between the Cell area where Soft Handovers...



UC Product Triggers provides triggers for the Conditional Actions module bundled with Ubercart for common product related tasks, such as adding or removing a product from the cart.



This file serves as a replacement for Matlab's kron.m. It contains a more efficient implementation of the Kronecker product for dense, sparse and logical matrices.



This function treats a matrix as a column-wise set of signals and circularly shifts each column so that it aligns with the first column of data so that the inner product between those columns is maximized with respect to all other shifts.
...

User Review for Coupon as a Product
- required fields
     

Please enter text on the image