Saturday, 8 April 2017

INTENSO MAGENTO QUICK VIEW BUTTON

INTENSO





----------------------------------------------------------------------------------------------------------------


Apr 9, 2017 1:44 PM

READ MORE:
Magento. How To Remove The "Quick View" Button
------------------------------------------------------------------------------------------------------------------
REMOVE QUICK VIEW BUTTON IN ONLY FEATURED PRODUCTS
USE THIS METHOD
-------------------------------------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------------------------------------------
REMOVE QUICK VIEW BUTTON IN MAGENTO
FEATURED PRODUCTS
--------------------------------------------------------------------------------------------------------------------------
 REMOVE QUICK VIEW BUTTON IN ONLY FEATURE PRODUCT 
GO INSIDE TEMPLATE FOLDER THIS FILE view.phtml 
Theme Files\Theme\app\design\frontend\intenso\default\template\itactica_featuredproducts\
view.phtml
----------------------------------------------------------------------------------------------------------------------------------------
LINE NO 38, 58

 <?php if (Mage::helper('itactica_quickview')->isEnabled()): ?>
 <a href="<?php echo $this->getUrl('itactica_quickview/product/view/id/' . $product->getId()) ?>" title="<?php echo $this->htmlEscape($product->getName()) ?>" class="quickview-button button"><?php echo $this->__('Quick View') ?></a>
<?php endif; ?>

     <?php if (Mage::helper('itactica_quickview')->isEnabled()): ?>
                                    <a href="<?php echo $this->getUrl('itactica_quickview/product/view/id/' . $product->getId()) ?>" title="<?php echo $this->htmlEscape($product->getName()) ?>" class="quickview-button button"><?php echo $this->__('Quick View') ?></a>
                                <?php endif; ?>


--------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------
<?php /** * Intenso Premium Theme * * @category Itactica * @package Itactica_FeaturedProducts * @copyright Copyright (c) 2014-2015 Itactica (http://www.itactica.com) * @license http://getintenso.com/license */ ?> <?php $_productCollection=$this->getProductCollection(0,false,true); ?> <?php $_slider = $this->getCurrentSlider(); ?> <?php $categories = $this->getCategories(); ?> <?php if ($_slider) :?> <section class="row featured-slider featured-slider-section<?php if ($_slider->getCustomClassname()) echo ' ' . $_slider->getCustomClassname() ?><?php if ($_slider->getDisplayType() == 0): ?> grid-type<?php endif; ?>" data-options="animation_speed:<?php echo $_slider->getAnimationSpeed(); ?>; min_item_width:<?php echo $_slider->getMinimumWidth(); ?>; swipe:<?php echo $_slider->getSwipe(); ?>"> <h3><?php echo $_slider->getTitle(); ?></h3> <?php foreach ($categories as $id => $category): ?> <ol class="clearfix" <?php if($id > 0) echo ' data-featured-cat-name="'.$category.'"'?>> <?php $productCollectionByCategory = $this->getProductCollection($id); ?> <?php foreach ($productCollectionByCategory as $product): ?> <li class="item"> <div class="item-content"> <div class="item-images<?php if (!$_slider->getHasPadding()): ?> flush<?php endif; ?>"> <?php if (Mage::getStoreConfig('intenso/catalog/lazy_loading')): ?> <a class="product-image" href="<?php echo $product->getProductUrl(); ?>" <?php echo $this->getPictureStyle();?>> <img id ="product-collection-image-<?php echo $product->getId(); ?>" class="item-image" alt="<?php echo $this->stripTags($product->getName(), null, true); ?>" src="<?php echo $this->getSkinUrl('images/clear.png'); ?>" data-echo="<?php echo $this->getProductImage($product); ?>" width="430" height="<?php echo $_slider->getImageHeight(); ?>"> </a> <?php else: ?> <a class="product-image" href="<?php echo $product->getProductUrl(); ?>"> <img id ="product-collection-image-<?php echo $product->getId(); ?>" class="item-image" src="<?php echo $this->getProductImage($product); ?>" alt="<?php echo $this->stripTags($product->getName(), null, true); ?>" width="430" height="<?php echo $_slider->getImageHeight(); ?>"> </a> <?php endif; ?> <div class="product-label-placeholder" data-productid="<?php echo $product->getId(); ?>" data-labelurl="<?php echo Mage::getBaseUrl(); ?>itactica-productlabel"></div> <?php if (Mage::helper('itactica_quickview')->isEnabled()): ?> <a href="<?php echo $this->getUrl('itactica_quickview/product/view/id/' . $product->getId()) ?>" title="<?php echo $this->htmlEscape($product->getName()) ?>" class="quickview-button button"><?php echo $this->__('Quick View') ?></a> <?php endif; ?> </div> <div class="item-info"> <h6 class="item-title"> <a href="<?php echo $product->getProductUrl(); ?>" class="truncate"><span><?php echo $this->stripTags($product->getName(), null, true); ?></span></a> </h6> <?php if($_slider->getShowRating()): ?> <?php $reviewHelper = $this->getLayout()->createBlock('review/helper'); ?> <?php echo $reviewHelper->getSummaryHtml($product, 'short', false); ?> <?php endif; ?> <?php if($_slider->getShowPriceTag()): ?> <?php echo $this->getPriceHtml($product, true); ?> <?php endif; ?> <?php if (Mage::helper('itactica_intenso')->isConfigSwatchesEnabled()) { echo $this->getLayout()->createBlock('core/template')->setTemplate('configurableswatches/catalog/product/list/swatches.phtml')->setProduct($product)->toHtml(); } ?> <?php if (Mage::helper('itactica_quickview')->isEnabled()): ?> <a href="<?php echo $this->getUrl('itactica_quickview/product/view/id/' . $product->getId()) ?>" title="<?php echo $this->htmlEscape($product->getName()) ?>" class="quickview-button button"><?php echo $this->__('Quick View') ?></a> <?php endif; ?> </div> <?php if($_slider->getShowAddToCartButton() || $_slider->getShowCompareButton() || $_slider->getShowWishlistButton()): ?> <div class="actions clearfix"> <?php if(!$product->canConfigure() && $product->isSaleable() && $_slider->getShowAddToCartButton()): ?> <button class="btn-cart" title="<?php echo $this->__('Add to Cart') ?>" type="button" onclick="setLocation('<?php echo $this->helper('checkout/cart')->getAddUrl($product) ?>')"><?php echo $this->__('Add to Cart') ?></button> <?php elseif($product->getStockItem() && $product->getStockItem()->getIsInStock() && $_slider->getShowAddToCartButton()): ?> <button type="button" title="<?php echo $this->__('View Details') ?>" class="button btn-cart preview" onclick="setLocation('<?php echo $product->getProductUrl() ?>')"><span><span><?php echo $this->__('View Details') ?></span></span></button> <?php elseif($_slider->getShowAddToCartButton()): ?> <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p> <?php endif; ?> <ul class="add-to-links"> <?php if($this->helper('wishlist')->isAllow() && $_slider->getShowWishlistButton()): ?> <li><a class="link-wishlist" href="<?php echo $this->helper('wishlist')->getAddUrl($product) ?>" title="<?php echo $this->__('Add to Wishlist') ?>"><?php echo $this->__('Add to Wishlist') ?></a></li> <?php endif; ?> <?php $_compareUrl=$this->helper('catalog/product_compare')->getAddUrl($product); ?> <?php if($_compareUrl && $_slider->getShowCompareButton()): ?> <li><a id="compare-id-<?php echo $product->getId(); ?>" class="link-compare" href="<?php echo $_compareUrl ?>" title="<?php echo $this->__('Add to Compare') ?>"><?php echo $this->__('Add to Compare') ?></a></li> <?php endif; ?> </ul> </div> <?php endif; ?> </div> </li> <?php endforeach; ?> </ol> <?php endforeach; ?> </section> <?php echo $this->getChildHtml('compare-js'); ?> <?php if (Mage::helper('itactica_intenso')->isConfigSwatchesEnabled()) { echo $this->getLayout()->createBlock('configurableswatches/catalog_media_js_list')->setTemplate('configurableswatches/catalog/media/js.phtml')->setProductCollection($_productCollection)->toHtml(); } ?> <?php endif;?>


-----------------------------------------------------------------------------------------------------------------
REMOVE QUICK VIEW BUTTON  BY config.xml
1) GO INSIDE  config.xml FILE AND CHANGE ENABLE VALUE CHANGE
ONE TO ZERO
------------------------------------------------------------------------------------------------------------------
1) REMOVE YELLOW FRONTEND PART IN config.xml
0) GO INSIDE IN THIS FILE
1) CHANGE THIS LINE 
<enable>1</enable> INTO <enable>0</enable>
IT ALSO REMOVE intenso.quickview.js JS FILE IN VIEW PAGE SOURCE
Intenso.Advanced.Magento.Theme.v1.5.0\Theme Files\Theme\app\code\local\Itactica\QuickView\etc\config.xml
-----------------------------------------------------------------------------------------------------------------
<?xml version="1.0"?> <!-- /** * Intenso Premium Theme * * @category Itactica * @package Itactica_QuickView * @copyright Copyright (c) 2014-2015 Itactica (http://www.itactica.com) * @license http://getintenso.com/license */ --> <config> <modules> <Itactica_QuickView> <version>1.0.0</version> </Itactica_QuickView> </modules> <global> <blocks> <itactica_quickview> <class>Itactica_QuickView_Block</class> </itactica_quickview> </blocks> <helpers> <itactica_quickview> <class>Itactica_QuickView_Helper</class> </itactica_quickview> </helpers> <events> <!-- observe the post dispatch for adding to compare list --> <controller_action_postdispatch_catalog_product_compare_add> <observers> <itactica_quickview_addtocompare_observer> <type>singleton</type> <class>Itactica_QuickView_Model_Observer</class> <method>addToCompareRedirect</method> </itactica_quickview_addtocompare_observer> </observers> </controller_action_postdispatch_catalog_product_compare_add> <!-- observe the post dispatch for adding to cart --> <controller_action_postdispatch_checkout_cart_add> <observers> <itactica_quickview_addtocart_observer> <type>singleton</type> <class>Itactica_QuickView_Model_Observer</class> <method>addToCartRedirect</method> </itactica_quickview_addtocart_observer> </observers> </controller_action_postdispatch_checkout_cart_add> </events> </global> <frontend> <routers> <itactica_quickview> <use>standard</use> <args> <module>Itactica_QuickView</module> <frontName>itactica_quickview</frontName> </args> </itactica_quickview> </routers> <layout> <updates> <itactica_quickview> <file>itactica_quickview.xml</file> </itactica_quickview> </updates> </layout> </frontend> <default> <intenso> <quickview> <enable>0</enable> <disable_for_mobile>0</disable_for_mobile> </quickview> </intenso> </default> </config>
------------------------------------------------------------------------------------------------------------------









0 comments:

Post a Comment

FB Gadgets | Template Designed by Fatakat PhotosCoolBThemes.com
Code by : paid web directory

https://www.google.co.uk/search?q=site%3Ablogspot.com+fbgadgets