Closed (won't fix)
Project:
Ubercart Affiliate v2
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
11 Nov 2009 at 15:51 UTC
Updated:
14 Dec 2009 at 19:09 UTC
Through a form alter (attached) I have added a field to the product form so that the admin can set up a destination that they want the affiliate link to use. I have submitted a patch (following the format given I put issue #5 on it) for the affiliate module that checks the uc_products table for a value in this field. If there is a value it uses cart links to add the product to the cart and then go to the destination given (directly to the checkout for example). I also added a line to format the price of the product for the link as currency.
| Comment | File | Size | Author |
|---|---|---|---|
| affiliate_alter.info_.txt | 164 bytes | mattdirk | |
| affiliate_alter.install.txt | 410 bytes | mattdirk | |
| affiliate_alter.module.txt | 1.1 KB | mattdirk |
Comments
Comment #1
mattdirk commentedComment #2
bojanz commentedI'm not really comfortable with altering uc_products.