Fix assigment order issues
This commit is contained in:
@@ -48,7 +48,7 @@ class Wiaas_Pricing {
|
||||
$bundled_items = $package->get_bundled_items();
|
||||
foreach ($bundled_items as $bundled_item) {
|
||||
|
||||
$product = $bundled_item->product;
|
||||
$product = wc_get_product($bundled_item->get_product_id());
|
||||
$product_cat = Wiaas_Product_Category::get_category($product);
|
||||
|
||||
if (!isset($total_cost_per_category[$product_cat])) {
|
||||
|
||||
Reference in New Issue
Block a user