I've been working on trying to make the add to cart form display the price based on what value is entered in the Quantity field on the add to cart form, after the ajax refresh. With the attributes module enabled, changing attributes that alter the price will reload the form to show the correct price, but change the quantity has no action to check for the price table's price.

I've managed to get the form to refresh on quantity change, but
$line_item_wrapper->quantity->value() in commerce_price_table_groups_set_price is "1" regardless of what the quantity input is set to. Anyone have any pointers of where to look for that fix? Thanks

Comments

pcambra’s picture

Status: Active » Closed (duplicate)