Attribute Calculator

Plugin Banner

Attribute Calculator

by UsusIpse

Download
Description

Multiply price by definable product attribute

To Do

Use attribute term description or other field to hold the multiplier.

After activation you will have a new submenu under Plugins. Follow that to enable and set your attribute name.
Make sure you have an attribute terms with a number. ex: 1 Foot, 2 Feet, 4 Feet, ect
This is designed to work with the attribute term’s slug and will multiply by that number.
You then need to add this attribute to your variable products along with it’s terms, click use for variations and then you can avoid making variations for products that are sold in length, ect.

  1. Enable calculator and define attribute

    Enable calculator and define attribute

  2. Create attribute and add terms

    Create attribute and add terms

  3. Add variation to product

    Add variation to product

  4. Price will be reflected on the product page

    Price will be reflected on the product page

1.2

  • Better use of JSON object

    • Initial Revision

1.0

  • Push to GitHub and Automatic

0.1

  • addded front end Js function to update the price as the variations are updated. No changes are made to the actual price and theme support may vary.
Back to top