Lab of Team Net World

how to fetch shopping cart items details in magento

July 6, 2016 | Magento 2 | Comments Off

To get individual item details in the shopping cart use the following code. <?php //load shopping cart $shopping_cart = Mage::getModel("checkout/cart"); $cart_items = $shopping_cart->getItems(); foreach($cart_items as $item) { echo $item->getQty(); echo $item->get...

[ read more ]

How to get Product ID and Product Name in Magento

July 6, 2016 | Magento 2 | Comments Off

In Magento eCommerce while working with catalog model, There arise the need to fetch product details from product id. We can get all product details if we have product id. But sometimes we only have product name, so we need to get product id for getting product details. I am listing her...

[ read more ]

Remove P tag from Excerpt WordPress

July 6, 2016 | Magento 2 | Comments Off

So you want to know how to remove TAG from WordPress Excerpt (the_exceprt) or WordPress Post Content Function (the_content). Yes it is tooo simple. You just need to add the following line of code your functions.php in themes folder. Path to functions.php is wp-content –> themes –> {YOU...

[ read more ]

Tag: the_excerpt-wordpress, wordpress-as-cms, wordpress-developer, wordpress-developer-india, wordpress-developers, wordpress-excerpt-function, wordpress-expert, wordpress-expert-canada

Idc1998.com
This domain has recently been listed in the marketplace. Please click here to inquire.