Scandal
Well-known member
Hello guys!
I want to extend this class:
XF\Purchasable\Purchase
(class Purchase implements \ArrayAccess)
Is that possible?
I didn't achieved it via XFCP system.
Basically I want to inject some code via an addon to change the cost (not the currency) for any purchasable item instead of extend each custom (non-xF2 default like User Upgrades) purchasable item class. Maybe on both displayable and purchaserequest cost.
I want to extend this class:
XF\Purchasable\Purchase
(class Purchase implements \ArrayAccess)
Is that possible?
I didn't achieved it via XFCP system.
Basically I want to inject some code via an addon to change the cost (not the currency) for any purchasable item instead of extend each custom (non-xF2 default like User Upgrades) purchasable item class. Maybe on both displayable and purchaserequest cost.