Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $buyRequestArr = array();
- if ($buyRequest = $item->getProduct()->getCustomOption('info_buyRequest')) {
- $buyRequestArr = unserialize($buyRequest->getValue());
- }
- Mage::log(print_r($buyRequestArr,true));
- $buyRequestArr['options'][$optionId] = $actualSqFt;
- $buyRequest->setValue(serialize($buyRequestArr)); //->save();
- Mage::log(print_r($buyRequestArr,true));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement