Closed (fixed)
Project:
Ubercart Price Per Role
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
24 Feb 2010 at 23:13 UTC
Updated:
28 Mar 2010 at 22:20 UTC
Jump to comment: Most recent file
Comments
Comment #1
fenstratAttached patch implements uc_price().
It also standardises the use of "Default price" when referring to the normal Ubercart sell_price field (rather than "Standard price" as it was called sometimes.
Comment #2
fenstratUpdated patch - only change is to add array_filter() when checking if the uc_price_per_role_enabled variable is empty.
Comment #3
fenstratHmm, always test patches no matter how trivial the change!
Attached is the correct fix for checking for the empty uc_price_per_role_enabled variable.
Comment #4
longwaveCommitted with a minor change to hook_uninstall, thanks.
Comment #5
fenstratThanks longwave.