DailyDeal

https://github.com/magesuite/daily-deal

The Daily Deal feature is an extensive marketing tool that in contrast to a simple product discount (catalog price rule)  promotes a discount for a limited amount of products (“15 items left”) and for a limited amount of time (“limited time offer, 61 days, 0 hours, 53 mins, 42 sec”)

 

Installation

This module is a part of MageSuite metapackage.

composer require "creativestyle/magesuite-daily-deal" ^2.0.0

User guide

This document covers developer documentation, for the user guide refer to:

3.1. Daily Deal

2.1.17. Daily Deal Teaser

Admin settings

Base settings

Stores -> Configuration -> MageSuite -> Daily Deal

 

Name

Values

Note

Name

Values

Note

Enabled

 Yes/No 

 

Use Qty limitation

 Yes/No 

Choose to apply Daily Deals only for a limited quantity of products in stock

Show on product tile

  • None 

  • Compact (as badge) 

  • Full (with countdown) 

  • “None”: There will be no hint on product tiles concerning Daily Deals

  • “Compact (as badge)”: There will be a small badge pointing out Daily Deal products (similar to the “NEW” and “SALE” badge)

  • “Full (with countdown”): There will be a prominent overlay on product tiles pointing out Daily Deal products 

Product settings

Catalog -> Products -> [product]

 

Settings

Name

Options

Note

Name

Options

Note

Offer price

 

 

Daily deal offer price. This price will be displayed prominently which the old price will be displayed strike-through.

Offer from

 

Daily deal offer from. Use 5 min interval when setting time e.g. 8:30, 8:35, 9:40.

Offer to

 

Daily deal offer to. Use 5 min interval when setting time e.g. 8:30, 8:35, 9:40.

Offer limit

 

Amount of products with applied Daily Deal for. E.g. if the stock quantity is 100 and the OFFER LIMIT is set to 50, only 50 items will be sold as Daily Deals (during the Daily Deal period set in OFFER FROM and OFFER TO). The OFFER LIMIT is limited by the stock quantity contained in Magento.

Initial Amount of products

 

Daily deal initial amount. Value is used to show progress like 3 of 10 left. If empty, progres bar will not be visible.

Enabled

Not editable

Daily deal currently works only for simple products. If the Daily Deal is active the ENABLED checkbox will be ticked.

 

Backend

TODO BE part is needed.

Frontend

 

Deal products can be used on the following CC components and pages:

  • Product Detail pages 

  • Product tiles

  • Content Constructor Daily Deal Teaser component

 

Content Constructor Daily Deal teaser

The CC Daily Deal Teaser component allows including existing Daily Deal products to be displayed on CMS pages. Both simple products and configurable products can be displayed in this component.

Select and configure the daily deal component in the admin panel:

The above options are described in: 2.1.17. Daily Deal Teaser

 

ProductDetailed Page (buybox, badges)

Product tile

 

 

 

 

Texts on badges can be configured by xmls. See: magesuite-daily-deal/view/frontend/layout/product_tile.xml and magesuite-daily-deal/view/frontend/layout/catalog_product_view.xml

<argument xsi:type="string" translate="true" name="header_title">Limited time offer</argument> <argument xsi:type="string" translate="true" name="availability_text_after">items left</argument>
<argument xsi:type="string" name="label" translate="true">Limited offer</argument> <argument xsi:type="string" name="amount_presentation_format">(%1/%2)</argument>

Styling

Daily deal styles and scripts are provided in:

theme-creativeshop/src/components/dailydeal/index.ts

theme-creativeshop/src/components/dailydeal-teaser/index.ts

Daily deal badge on product tile can be configured and style in: theme-creativeshop/src/components/badge/mixin.scss