Archive: catalog product

 

Posts Tagged ‘catalog product’


I need to get the parent configurable product from a simple product, even if the parent product is marked as disabled. I also need to get the status of the configurable product (enabled or disabled). Right now I’m getting the parent product like this: $parentIds = Mage::getResourceSingleton(‘catalog/product_type_configurable’)->getParentIdsByChild($product->getId()); if (isset($parentIds[0])) { $product = Mage::getModel(‘catalog/product’)->load($parentIds[0]); } This [...]



 

we have one of the famous “product not visible in frontend” problems, but this one seems to be a bit harder. we certainly worked the checklist (like this one http://www.aschroder.com/2010/07/why-are-my-magento-products-not-showing-up/) but still: this product 404s: http://www.in-due.de/hochzeitsshop/catalog/product/view/id/15034 this one is a clone and 404s: http://www.in-due.de/hochzeitsshop/catalog/product/view/id/15745 this product is new and works perfectly: http://www.in-due.de/hochzeitsshop/catalog/product/view/id/15746 what is the [...]



 

How can I get the products’ visibility on a loaded product? <?php $Product = Mage::getModel(‘catalog/product’); $Product->load($_item->getId()); var_dump($product_visibility = $Product->getData(‘visibility’)); ?> I’ve tried this as well: var_dump($product_visibility = $Product->getVisibility()); But always just returns NULL Magento: Get Product Visibility Possibly Related Posts: Magento admin route extension resulting in 404 Sort algorithm: Magento totals sorted wrongly causing wrong [...]



 

RT @tobi_pb: fodcamp created an alternative save method of #magento catalog/product : 5000 products » 30 seconds www.github.com/fodcamp RT @tobi_pb: fodcamp created an alternative save method of #magento catalog/product : 5000 products » 30 seconds www.github.com/fodcamp Possibly Related Posts: New #Job: Fix Our Magento Store http://t.co/2s5I0S9F そうやったmagentoはxmlやった. Magento lovers, there’s still a good chance to [...]



 

by Dx3Webs (Posted Wed, 12 Oct 2011 11:56:59 GMT)Hi there Bassically yes, require_once(MAGENTO . ‘/app/Mage.php’); $app = Mage::app(); now you can access objects / classes as if you are in your store $product = Mage::getModel(‘catalog/product’)->load(1234);$product->getSku();$product->getYourCustomAttribute(); Good tutorial here http://www.exploremagento.com/magento/r … agento.php http://magento-forum.co.uk/viewtopic.php?f=5&t=907#p2986 Magento Forum Possibly Related Posts: New #Job: Fix Our Magento Store http://t.co/2s5I0S9F そうやったmagentoはxmlやった. [...]



 

If you are getting a little bit frustrated trying to figure out why the admin configuration for the number of products to display on a page and the options in the products per page drop down are not working then this is quite possibly your soluiton. The template file in question is in catalog/product/list/toolbar.phtml You [...]



 

I’m trying to display all tier prices on category listing page (catalog/product/list.phtml) but only getting the basic price for a single product. print_r($_product->getTierPrice()); returns: Array ( [0] => Array ( [price] => 0.5000 [website_price] => 0.5000 [price_qty] => 1 [cust_group] => 32000 ) ) for each product. On the product info page it works w/o [...]



 

I want to make a custom collection query to load the products that have the same custom attribute “art_nr”. I have done this : $art_nr = Mage::getModel(‘catalog/product’)->load($_product->getId())->getArt_nr(); to load my attribute in the current product page, and now I want to use it in my request. Thanks for help to do that Magento – custom [...]



 

<?php $this->setProduct(Mage::getModel('catalog/product')->setStoreId(Mage::app()->getStore()->getId())->load($_product->getId()))?> <?php echo $this->getTierPriceHtml() ?> Magento – 1.3.2.2 Tier Price at product listing not show after upgraded to 1.3.2.2 – Magento Upgrades – eCommerce Software for Growth Possibly Related Posts: Mochila Grad – Deuter CMS Pages in Top Navigation, Magento Blog and E-Commerce Magento Issues – 10 most common Magento problems CREATIVE DISTRICT » Customizing invoices in Magento. [...]



 

Any help on getting the images folder of magento 1.5.1.0 ? Is it located in media/catalog/product ? Thanks. Magento 1.5.1.0 images folder Possibly Related Posts: Magento admin route extension resulting in 404 Sort algorithm: Magento totals sorted wrongly causing wrong shipping tax calculation Create a WYSIWGY field in magento backend Magento is writing Server Path [...]