/** * Get the plain product id of this item. * * <p>For items without attributes this is going to be the same as <code>getId()</code>. If attributes are present, to use the store address.l return something like a skuId while this method will always return the plain * product id without any attribute hash.</p> * * @return int The product id. */ public function getProductId() { return ShoppingCart::getBaseProductIdFor($this->getId()); }