Tagged: kapil sharma

Magento: How to get product rating and review 23

Magento: How to get product rating and review

Magento: How to get product rating and review code for getting ratings and reviews for any particular product. /* Getting reviews collection object */ $productId = $product->getId(); $reviews = Mage::getModel(‘review/review’) ->getResourceCollection() ->addStoreFilter(Mage::app()->getStore()->getId()) ->addEntityFilter(‘product’, $productId)...

get attribute of xml in php 3

get attribute of xml in php

get attribute of xml in php this is the attribute structure of xml [ForecastDay0] => SimpleXMLElement Object ( [@attributes] => Array ( [FDay] => 0 [Date] => 2008-11-11T00:00:01.930 [Name] => Tuesday ) And this...

Add module in artical in joomla 0

Add module in artical in joomla

Add module in artical in joomla To insert a module inside an article, use the {loadposition xx} command, as follows: Create a module and set its position to any value that doesn’t conflict with...

wysiwyg editor Magento Custom Module 5

wysiwyg editor Magento Custom Module

wysiwyg editor Magento Custom Module Step 1 – Go to app/code/local/Webkul/Faq/Block here webkul is namespace and faq is module name , under your _prepareLayout() function add this code public function _prepareLayout() { if (Mage::getSingleton(‘cms/wysiwyg_config’)->isEnabled()...

finding mac address 0

finding mac address

finding mac address finding mac address <?php /* * Getting MAC Address using PHP *Kapil sharma */ ob_start(); // Turn on output buffering system(‘ipconfig /all’); //Execute external program to display output $mycom=ob_get_contents(); // Capture...

joomla default error message popup 0

joomla default error message popup

joomla default error message popup, joomla error message popup , joomla username password not matching error message joomla add script and css in module ADD in head <?php JHTML::_(‘behavior.mootools’); JHTML::_(‘behavior.modal’); ?> <?php if ($this->getBuffer(‘message’))...

Creating a Shopify App using Laravel How to Create Custom WordPress Plugin? How to Build a Telegram Bot using PHP How to Convert Magento 2 into PWA?