1REQUIREMENT
At the basic level, this module will require the following condition:
- Compatible with Magento Community Edition 2.0: Please follow Magento 2.0 Installation Guide to install if you do not have one.
- Composer (latest stable version)
- Apache 2.2 or late
- PHP: 5.5.x,5.6.x and Memory_limit no less than 256Mb)
- In the future if the conditions change, please check the Magento 2 documentation
2INSTALLATION
- Step 1: Download and extract the extension’s package on your computer and navigate inside the folder.
- Step 2: Upload the folder named as app from the package to the root of your Magento site on your server
- Step 3: On your server, right click and select ‘Use composer here’ to open Command Prompt
-
1. Please type the following command into the dialog to clear the compiled code and cache:
1php bin\magento setup:upgrade -
2. After running successfully the first command, type the following command into the dialog to set up fresh static content to deploy on our Magento store
1php bin/magento setup:static-content:deploy - Step 4: Go to Administration page to configure the extension
- After installing extension, you should logout first and then login Admin Panel to ensure all functions work normally.
- You should disable all caches in cache management in the installation and configuration process.
Important Note:
3CONFIGURATION
3.1 Layout Demo
You could see the appearance of SM Listing Deals module as following:
3.2 Module Configuration
Notes: We used the images of module’s installation on Magento 2.0.x to illustrate
In the Administrator Page, navigate to Stores -> Settings -> Configuration and find SM Listing Deals to configure.
The parameters are divided into the following groups:
- General settings
- Source Options
- Tabs Options
- Product Options
- Image Options
- Effect Options
- Advanced Options
Let’s look at the parameters in detail:
General Options
- Enable Extensions - Allow to enable/disable the module.
- Display Title - Allow to enable/disable the title.
- Title - Enter the title of the module.
- Target - Allow to display the target link in Same Window/ New Window/ Popup Window
- Show Type - Allow to choose type: Loadmore/ Slider.
- For devices have screen width from 1200px up to greater.
- For devices have screen width from 992px up to 1199px.
- For devices have screen width from 768px up to 991px.
- For devices have screen width from 480px up to 767px.
- For devices have screen width less than or equal 479px.
Source Options
- Select Source - Allow you to select Catalog or Field Product.
- Select Category - Allow you to select Category.
- Product Field to Order By: Set Product Field to Order By.
- Field Preload: Set Field to preload.
- Child Category Products: Include or Exclude Products from Child Categories.
- Category Depth: Allow to choose the number of child category levels to return.
- Featured Products: Allow to Show/Hide/Only Featured Products.
- Ordering Direction: Allow to order ascending/descending direction.
- Product Limitation: Allow to set product limitation.
Tabs Options
- Tab All Display - Allow to choose tab all display OR not.
- Category title max length - Allow to set the max length of category title.
- Categories Order By: - Set Categories Order By: Name/Position/Random.
- Categories Ordering Direction: - Allow to order ASC(ascending)/ DESC(descending) direction.
- Display Icon: - Allow to choose display icon OR not.
- Get Image From Category Image: - Allow to display Image of Category or NOT.
- Get Image From Category Description: - Allow to display Description of Category or NOT.
- Order to get: - Allow to order to get image with options such as category_description,category_image.
- Resize: - Allow you resize category image or NOT.
- Image Width: - Allow to set image width of category.
- Image Height: - Allow to set image height of category.
- Background Color: - Allow to set background color.
- Image Replacement: - Only when the categories has no image, the module will take photos from placeholder to replace.
Product Options
Product Title
- Display - Allow to display title of product OR not.
- Max Length - Allow to set the max length of title.
Product Description
- Display - Allow to display title of description OR not.
- Max Length - Allow to set the max length of description.
Others
- Display Price - Allow to display price OR not.
- Display Reviews Summary - Allow to display reviews summary OR not.
- Display Add To Cart - Allow to display Add To Cart OR not.
- Display Add Wishlist - Allow to display Wishlist OR not.
- Display Add Compare - Allow to display Add Compare OR not.
- Display Countdown - Allow to display Countdown OR not.
- Display Readmore Link - Allow to display Readmore link OR not.
- Readmore Text - Allow to input name of Readmore text. For example: Details.
Image Options
Product Image
- Display - Allow to display Product Image or NOT.
Get Image from Product Image
- Get From Product Image - Allow to display image of product or NOT.
Get Image from Product Description
- Get Image from Product Description - Allow to display Product Description or NOT.
- Order to Get - Allow to order to get image with options such as “product_image, product_description”.
- Resize - Allow you resize image detail or NOT.
- Image Width - Allow to set image width.
- Image Height - Allow to set image height.
- Background Color: Allow to set background color.
- Image Replacement: Only when the product has no image, the module will take photos from placeholder to replace.
Effect Options
- Effect - Allow to select effect.
- Speed - Allow to set speed of slide.
- Interval - Allow to set interval timer.
Config When Type Module is Slider
- Auto Play - Allow you to set for slideshow auto play OR NOT.
- Auto Play Speed: Allow to set speed of timer (larger = slower).
- Start - Allow to set page that is displayed at first when you run slideshow.
- Step - Set the number of items for each slide transition.
- Pause On Hover: Allow to Pause effects when users hover Or not.
- Navigation - Allow to Enable/Disable the next/previous button.
- Loop - Allow to Enable/Disable to loop products.
- Dots - Allow to Enable/Disable one page scroll with dot navigation style.
- Margin Right - Allow to set right margin of the image.
- Nav Speed: Allow to set the speed of Navigation.
- Dots Speed: Allow to set the speed of dot navigation style.
- Mouse Drag: Allow to Enable/Disable Mouse Drag.
- Touch Drag: Allow to Enable/Disable Touch Drag.
Advanced Options
- Pre-text - The content to show at the top of module
- Post-text - The content to show at the end of module
- Caching - Allow to choose to cache the content of module
3.3 Page Configuration
To display this module on front page, go to Content >>Elements >> Pages.
Create a new page in Page Management section, go to
Content>> Elements>> Pages
- Page Information Tab: Please click to see the Backend Settings.
- Content Tab: Please click to see the Backend Settings.
Copy and paste the following code into the Content field:
1
|
<p>{{block class="Sm\ListingDeals\Block\ListingDeals" name="dealsslider" template="Sm_ListingDeals::default.phtml"}}</p>
|
- Design Tab: Please click to see the Backend Settings .
3.4 How To Configure Product With Sale Price
To configure Prduct with Sale Price, go to Products >>Catalog.
And find “featured Joust Duffle” >>Edit.
Choose “Advanced Pricing” to configure Product With Sale Price
4SUPPORT
Thank you so much for using this module, your support is truly appreciated. If you have any questions that are beyond the scope of this document, please feel free to contact us via our Support Tickets System