Magento is a pretty flexible platform. That flexibility comes with a price though; You have to be knowledgeable of the functions that are available to you to utilize. Finding or knowing them is a challenge though. Here is one of those such functions that you may need to display the product Sku on a category page.
1 |
<?php echo($_product->getSku()); ?> |
Try this
In the shopping cart. I want to retrieve the SKU of a configurable product. The code you show here returns the SKU of the base configurable product. I want the SKU of the product after the options have been specified by the user. How do I get that?