Skip to content

Set prices on product attributes to automatically calculate the total prive for a given variable product.

Notifications You must be signed in to change notification settings

m4olivei/woocommerce-attribute-pricing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Woocommerce Attribute Pricing

Add the ability for administrators to affect variable product pricing by attributes.

Installation

  • Woocommerce 1.6.x users should apply the patch to woocomerce found in woocommerce_patches/1690_add_action_product_variation_linked.patch. This patch made it into Woocommerce 2.0.x (see woocommerce/woocommerce#1690)
  • Enable the plugin in the usual way

Usage

  • Enable the plugin in the usual way.
  • Once enabled you will find two new fields on each Attribute term labeled 'Attribute Price' and 'Apply to current variations?'. Read the descriptions there to use them properly.
  • There is also a post meta box added to the Product add/edit screen labeled 'Base Price'. This will allow you to set a starting price point for a product, which the attribute prices will add to to end up at the price for the variable product.

Current Limitations

  • Build on Woocommerce 1.6.5.1. I make no guarantees about it working with other versions as this module is extreamly tightly coupled to Woocommerce.
  • When using the simple 'Add Variation' button, the attributes are not known when the corresponding product_variation is inserted into the database. Thus the initial attribute pricing cannot be set, and will need to be set manually. A workaround would be to just always use Link All Variations.
  • Slightly awkward is when a user sets a Base Price and then goes to Link All Variations without a Save in between. The base price is not incorporated on Link All Variations. Only on the next save is the base price incorporated. Might be nice to update the base price on that text field changing.

Credits

Built by the fine people at Peapod Studios (http://peapod.ca). Sponsored by The Fairtrade Jewellery Company (http://ftjco.com).

About

Set prices on product attributes to automatically calculate the total prive for a given variable product.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published