Backoffice - max cost margin #31

Merged
bilal.catic merged 22 commits from backoffice-max-cost-margin into master 2018-10-15 00:24:34 +02:00
Showing only changes of commit 63c1ee945f - Show all commits

View File

@@ -135,6 +135,11 @@ class Wiaas_Cart {
return false;
}
//Check if package is available for adding to cart
if (Wiaas_Package_Status::get_package_status($package_id) !== Wiaas_Package_Status::AVAILABLE){
return false;
}
// Retrieve package country
$country = Wiaas_Countries::get_package_country($package);