Hello!
My client has requested that on the Shopping cart page, the product’s SKU number be displayed along with the photo, product name, unit price, quantity & subtotal fields. Could you please help me in figuring out how to do this? I am new to Magento and am not familiar enough with the core code structure to know what to edit or where.
Thanks in advance.
The store I’m currently working on has a mixture of configurable products and simple products and I found that to output the SKU with the product name in the cart I needed a combination of both the contributions above, specifically:
if (is_object($this->getChildProduct())): echo $this->getChildProduct()->getSku(); else: echo $_item->getSku(); endif;
The store I’m currently working on has a mixture of configurable products and simple products and I found that to output the SKU with the product name in the cart I needed a combination of both the contributions above, specifically:
if (is_object($this->getChildProduct())): echo $this->getChildProduct()->getSku(); else: echo $_item->getSku(); endif;