cancel
Showing results for 
Search instead for 
Did you mean: 

Programatically delete tier price

   Did you know you can see the translated content as per your choice?

Translation is in progress. Please check again after few minutes.

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);
				   }