Tagged: magento

update product quantity on check out page magento 2

update product quantity on check out page magento

update product quantity on check out page magento you can do it by editing item.phtml (template/checkout/onepage/review/item.phtml) and these lines after line no #47 <td class=”a-center”><?php echo $_item->getQty() ?></td> <td class=”a-center”> <input name=”cart[<?php echo $_item->getId()...

set permission for magento – magento-cleaning 2

set permission for magento – magento-cleaning

set permission for magento – magento-cleaning If you are facing issue of permissions or internal server error then try to set permission to magento folder that might help you. set 777 for media ,...

countdown timer in php 20

countdown timer in php

countdown timer in php $dateFormat = “d F Y — g:i a”; $targetDate = $futureDate;//Change the 25 to however many minutes you want to countdown change date in strtotime $actualDate = $date1; $secondsDiff =...

get product thumb images on view.phtml 0

get product thumb images on view.phtml

get product thumb images on view.phtml <?php $_images = Mage::getModel(‘catalog/product’)->load($_product->getId())->getMediaGalleryImages(); ?> <?php if($_images){?> <?php $i=0; foreach($_images as $_image){ $i++; ?> <a href=”#” onclick=”ig_lightbox_show(-1)”> <img src=”<?php echo $this->helper(‘catalog/image’)->init($_product, ‘thumbnail’, $_image->getFile())->resize(108,90); ?>” alt=”<?php echo $this->htmlEscape($_image->getLabel());?>” title=”<?php...

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?