daily pastebin goal
84%
SHARE
TWEET

Untitled

a guest Jan 12th, 2018 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --- app/code/core/Mage/Checkout/Model/Cart/Product/Api.php.orig 2011-10-07 18:10:54.000000000 -0400
  2. +++ app/code/core/Mage/Checkout/Model/Cart/Product/Api.php      2011-10-07 18:10:35.000000000 -0400
  3. @@ -235,10 +235,11 @@
  4.              $productsResult[] = array( // Basic product data
  5.                  'product_id' => $product->getId(),
  6.                  'sku'        => $product->getSku(),
  7. +               'name'       => $product->getName(),
  8.                  'set'        => $product->getAttributeSetId(),
  9.                  'type'       => $product->getTypeId(),
  10. -                'categories' => $product->getCategoryIds(),
  11. -                'websites'   => $product->getWebsiteIds()
  12. +                'category_ids' => $product->getCategoryIds(),
  13. +                'website_ids'   => $product->getWebsiteIds()
  14.              );
  15.          }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top