Closed (fixed)
Project:
Ubercart Affiliate v2
Version:
5.x-2.1
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
16 May 2009 at 22:31 UTC
Updated:
24 May 2009 at 15:16 UTC
What would be the best way to disable the product-specific affiliate links? I'd like to be able to just refer people to the main page of my site instead of the particular product.
Comments
Comment #1
bojanz commentedComment out the following from uc_affiliate2_menu():
$items[] = array(
'path' => join('/', array('user', $account->uid, 'affiliate', 'links')),
'title' => t('Generate Links'),
'access' => $access,
'callback' => 'uc_affiliate2_links',
'type' => MENU_LOCAL_TASK,
'weight' => 1
);
And clear your cache.
Comment #2
royerd commentedthanks.