Contributions
Add Weight To Product Attributes v0.1
This patch will allow you to add a product attribute to a product, not only altering that product's price but also altering that product's weight. For example, if you define an attribute named "Size" and you apply that to a cooking pot where the price is + $2.00 you can also specify that the weight is + 2 lbs (or minus x lbs). It actually took only very few modifications to do this.
Expand All / Collapse All
This is a modified version of v0.1, only catalog/admin/products_attributes.php included, download full copy below.
This modification allow v0.1 to work with PCA.
I spent 3 days trying to get the proper product weight to appear at check out and to be sent to UPS for a proper shipping rate to be returned. Thanks to falsedawn and JanZ in helping to get these two great contributions to function correctly. This may work for other shippers as well.
v0.2 |
Didier Debbaut |
23 Jul 2004 |
|
Just a small correction to the size of the new database field so that it is the same as the products weight (decimal 5.3 instead of decimal 15.4)
Full package included. Works perfect with 2.2MS2.
Remark : if you have the "Attributes Copier" contribution installed, do not forget to update /catalog/admin/products_attributes_copier.php.
Didier.
This patch will allow you to add a product attribute to a product, not only altering that product's price but also altering that product's weight. For example, if you define an attribute named "Size" and you apply that to a cooking pot where the price is + $2.00 you can also specify that the weight is + 2 lbs (or minus x lbs). It actually took only very few modifications to do this.
Note: Contributions are used at own risk.