[Modification] I ship hard goods along with my egoods. How can I charge shipping even when there is an egood set?
Created
As long as the product has a weight above 0, or freight set above $0 you can use the following modification:
include/func/func.cart.php
Find this code:
After insert:
include/func/func.cart.php
Find this code:
if ($products_array["fulldescr"] == strip_tags($products_array["fulldescr"]))
$products_array["fulldescr"] = str_replace("\n", "", $products_array["fulldescr"]);
After insert:
// Charge shipping for egoods customization //
if ($products_array['weight'] >0||$products_array['freight']){
$products_array['distribution'] ='';
}
// End customization //