Daily Deal Collection

getDailydealEnableProduct(); $_helper = $this->helper('Magento\Catalog\Helper\Output'); // Daily deal Helper $dailydealhelper=$this->helper('Smartwave\Dailydeals\Helper\Data'); ?> count()): ?>
getToolbarHtml() ?> getAdditionalHtml() ?> getMode() == 'grid') { $viewMode = 'grid'; $image = 'category_page_grid'; $showDescription = false; $templateType = \Magento\Catalog\Block\Product\ReviewRendererInterface::SHORT_VIEW; } else { $viewMode = 'list'; $image = 'category_page_list'; $showDescription = true; $templateType = \Magento\Catalog\Block\Product\ReviewRendererInterface::FULL_VIEW; } /** * Position for actions regarding image size changing in vde if needed */ $pos = $block->getPositioned(); ?>
    recentlyDailydeal($dealproduct->getSwProductSku())) : ?> getDailyDealProduct($dealproduct->getSwProductSku()) as $_product): ?> ' : '
  1. ' ?>
    getImage($_product, $image); if ($pos != null) { $position = ' style="left:' . $productImage->getWidth() . 'px;' . 'top:' . $productImage->getHeight() . 'px;"'; } ?> toHtml(); ?>
    stripTags($_product->getName(), null, true); ?> productAttribute($_product, $_product->getName(), 'name'); ?> getReviewsSummaryHtml($_product, $templateType); ?> ".$block->getProductPrice($_product)."
    "; ?> getProductDetailsHtml($_product); ?> getPrice() == 0) : ?> getTypeId() != "bundle" && $_product->getTypeId() != "grouped") : ?> getTypeInstance()->getUsedProducts($_product); foreach ($_children as $child){ $price=$child->getPrice();} ?> getPrice(); ?> getTypeId() == "bundle" || $_product->getTypeId() == "grouped" ) : ?> getSwDiscountType() ==1) :?>
    Save: ".$dailydealhelper->getcurrencySymbol()."".number_format($dealproduct->getSwDiscountAmount(),2).""; ?>
    getSwDiscountType() ==2) : ?>
    OFF:getSwDiscountAmount(),2); ?>%
    getSwDiscountType() ==1) :?> getSwProductPrice())* 100)/ $price ; ?>
    OFF:%
    Save:getcurrencySymbol()."".number_format($dealproduct->getSwDiscountAmount(),2); ?>
    getSwDiscountType() ==2) : ?>
    OFF: ".number_format($dealproduct->getSwDiscountAmount(),2)."%"; ?>
    Save: ".$dailydealhelper->getcurrencySymbol()."".number_format($price-$dealproduct->getSwProductPrice(),2).""; ?>

    >
    > isSaleable()): ?> getAddToCartPostParams($_product); ?>
    getBlockHtml('formkey')?>
    getIsSalable()): ?>
    > getChildBlock('addto')): ?> setProduct($_product)->getChildHtml(); ?>
    productAttribute($_product, $_product->getShortDescription(), 'short_description') ?>
' : '' ?> getToolbarHtml() ?> isRedirectToCartEnabled()) : ?>