Advertisement
johncarlson21

Untitled

Jan 6th, 2017
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.39 KB | None | 0 0
  1. $buyRequestArr = array();
  2.                     if ($buyRequest = $item->getProduct()->getCustomOption('info_buyRequest')) {
  3.                         $buyRequestArr = unserialize($buyRequest->getValue());
  4.                     }
  5.                     Mage::log(print_r($buyRequestArr,true));
  6.                     $buyRequestArr['options'][$optionId] = $actualSqFt;
  7.                     $buyRequest->setValue(serialize($buyRequestArr)); //->save();
  8.                     Mage::log(print_r($buyRequestArr,true));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement