1
В функцииКак получить super_attribute от оформления заказа/корзина
$cart = Mage::getModel('checkout/cart')->getQuote();
foreach ($cart->getItems() as $item) {
$productId = $item->getProduct()->getId();
$productPrice = $item->getProduct()->getPrice();
}
Теперь я могу получить
$product_id = $item->getProduct()->getId();/product
$quote_id = $item->getId();/cart
$quote_qty = $item->getQty();/cart
Но, как я могу получить super_attribute от $ пункта
http://i.stack.imgur.com/79sXX.png
Я хочу получить Supper_attribute для Url checkout/cart/add/produc т/$ PRODUCTID /? super_attribute [attribute_ID] = option_id &qty; = $ quote_qty
Спасибо.
print_r ($ super_attribute); возвращается ** 1 ** – meteew