rental prices
This commit is contained in:
@@ -50,6 +50,9 @@ class WooCommerceBeforeAddToCartButtonAction extends RadAction
|
|||||||
$rentalRates["monthly"] = $attribute->get_options()[0];
|
$rentalRates["monthly"] = $attribute->get_options()[0];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
echo site()->render("product_rental_rates", $rentalRates);
|
|
||||||
|
if (count($rentalRates)) {
|
||||||
|
echo site()->render("product_rental_rates", $rentalRates);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user