Created
October 7, 2013 15:58
-
-
Save Vinai/6870299 to your computer and use it in GitHub Desktop.
Set Product Group Price using setData()
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$product->setData('group_price', array( | |
array( | |
'website_id' => 0, | |
'cust_group' => $customerGroupId, | |
'price' => 19.99 | |
) | |
)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://gist.github.com/ironizm/4a4d3a053b4bf71fdde9
https://gist.github.com/ironizm/2b2dd07fa77ec14c6300
Am not sure what I am doing wrong. Tried both these and couldn't get it correct.