cancel
Showing results for 
Search instead for 
Did you mean: 

Programatically delete tier price

Programatically delete tier price

How can I programatically delete a tier price for a specified customer group?

Do I just call setTierPrice like so?

$product->setTierPrice(array(
                        'website_id'    => '1',
                        'cust_group'    => $groupId,
                        'price'         => '0',
                        'price_qty'     => '0'
                   )
				   };
    			   try {
    			       $product->save();
				   }
				   catch(Exception $e) {
        		       Mage::logException($e);
				   }