2

I am currently using a modification on a certain product. It's set up basically as a price modifier however, the weight on one of the products has changed.

Is possible to modify the weight on a selected modifier without creating a separate product?

$('modifiers[10]').change(function(){
if($(this).val() == '42'){ 
$('.store_product_weight').text(' 44<small>lb.</small>/ 5<small>Gal</small>Pails'); // Change Text
}
});

I'm pretty sure I can modify the text but what about the actual value?

Thanks

  • What was your final solution to this? – Bryant Dec 3 '13 at 15:37
3

To modify the actual weight of the item so that it adjust things like shipping weight you would need to write an extension (available hooks) that would adjust the actual values for calculations.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.