Contributions

Order Total Modules (Category Index)
Search: 

Extra Attribute Prefix's

Hi there,

You all know about the + or - attribute prefixes so you can add or minus some amount of money from a product if a certain attribute it selected. But what if you wanted to do some more changes like multiply it or possibly divide it?

The original idea of this came about when I wanted to make a rental contrib. How I used this was the I input the price per day of an item into osC. Then I make an attribute and call it Days, and set values 1,2,3,4 etc. etc.
Depending on how many days they order, then the product price is multiplied.

Expand All / Collapse All

Extra Attribute Prefix's 8 May 2008

This is a note only. Please note that the below version DOES contain some errors and only adds multiplication this far. Fixes are to be released and a division prefix will also be added.

The same package is attached here.

Extra Attribute Prefix's 8 May 2008

Note: Contributions are used at own risk.