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
Free Spire.PDF for Java 2.2.2
CSFreeDB 1.0
Udemy Clone Script | Online Course Learning Script 2.00
Crowdfunding donate 1.019
GoferEats - UberEats Clone 1.0
CADViewX: ActiveX for DWG, DXF, PLT, CGM 14
CADEditorX: ActiveX DWG/DXF, STP, PLT 14
Database Workbench Pro 5.7.2
ASP. NET C# PDF Software 2020.3.2
C# HTML to PDF 2020.3.2
dbForge Schema Compare for MySQL 5.0.191
dotConnect for Dynamics CRM 1.9
dotConnect for MailChimp 1.9
dbForge Query Builder for MySQL 4.5.254
The C# Excel Library 2020.5
Top Code
dbForge Studio for MySQL 8.1
dbForge Studio for Oracle 3.10
dbForge Schema Compare for Oracle 2.7
dbForge Data Compare for Oracle 3.7
IP2Location Geolocation Database 2020.5
Database Workbench Pro 5.7.2
dbForge Schema Compare for MySQL 3.1
dbForge Query Builder for MySQL 4.4
Availability Booking Calendar PHP 1.0
ATN Site Builder 3.0
ICPennyBid Penny Auction Script 4.0
Invoice Manager by PHPJabbers 3.0
ATN Resume Finder 2.0
PHP Review Script 1.0
Aglowsoft SQL Query Tools 8.2
Top Rated
phpEnter 5.1.
Single Leg MLM 1.2.1
Azizi search engine script PHP 4.1.10
Paste phpSoftPro 1.4.1
Extreme Injector 3.7
Deals and Discounts Website Script 1.0.2
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
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