Adrian Badowski

my code library

Skip to content
Menu
  • Commercetools
  • Elixir and Phoenix
  • Magento 2
  • Shopware 6
  • Others
    • Magento
    • Prestashop
    • Linux
    • jQuery
    • PHP
    • MySQL
  • Contact

Category: Magento

MagentoPosted on18 January 201217 April 2019

Load correct product breadcrumb from front page in Magento

Change in app\code\core\Mage\Catalog\controllers\ProductController.php After: $categoryId = (int) $this->getRequest()->getParam(‘category’, false); add code: if($categoryId == 0){ $_product = Mage::getModel(‘catalog/product’)->load($productId); $cat_ids = $_product->getCategoryIds(); $categoryId = $cat_ids[0]; }

Read More
MagentoPosted on13 December 201117 April 2019

Switch stylesheet

Simple way to change stylesheet:

Read More

Posts navigation

Previous Page Page 1 Page 2 Page 3
  • POPULAR POSTS
  • The JVM could not be started. The maximum heap size (-Xmx) might be too large or... 3.7k views | posted on October 3, 2013
  • Magento admin grid column is ambiguous – filter index 2.9k views | posted on June 1, 2013
  • Magento custom filter on column in admin grid filter_condition_callback 2.8k views | posted on January 21, 2014
  • Add to cart with quantity in category product-list PRESTASHOP 2.6k views | posted on January 20, 2012
  • Add features to shopping cart prestashop 2.4k views | posted on January 24, 2012
  • SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry ‘1’ for ke... 2k views | posted on July 31, 2013
  • Prestashop – add ajax show prices without VAT in block cart 1.8k views | posted on January 15, 2012
  • Magento Events List 1.4k views | posted on October 19, 2012
  • Simple Configurable Products index price error 1.3k views | posted on June 1, 2013
  • Magento can’t login to admin Warning: Header may not contain more than a s... 1k views | posted on November 6, 2013

© Copyright 2025 – Adrian Badowski
Allium Theme by TemplateLens ⋅ Powered by WordPress