Title: Magento 2 Custom Promo Conditions
1Custom Promo Conditions for Magento 2 User Guide
- Table of Content
- Extension Installation Guide
- Configuration
- Set Custom Promo Conditions
- Custom Promo Conditions in frontend
Custom Promo Conditions for Magento 2
Meetanshi
2- Extension Installation
- For Magento Marketplace Customers
- Find the Composer name and version of the
extension in the extensions composer.json file. - Login to your SSH and run
- composer require meetanshi/magento-2-custom-promo-
conditions - Enter your authentication keys. Your public key
is your username your private key is your
password. - Wait for Composer to finish updating your project
dependencies and make sure there - arent any errors.
- To verify that the extension installed properly,
run the command - php bin/magento modulestatus Meetanshi_CustomProm
oConditions - By default, the extension is probably disabled.
- Enable the extension and clear static view files
- php bin/magento moduleenable Meetanshi_CustomProm
oConditions --clear-static- content - php bin/magento setupupgrade
- For Magento version 2.0.x to 2.1.x - php
bin/magento setupstatic-contentdeploy - For Magento version 2.2.x above - php
bin/magento setupstatic-contentdeploy f - php bin/magento cacheflush
- For Meetanshi Customers
Custom Promo Conditions for Magento 2
Meetanshi
3- Configuration
- To configure the extension, login to Magento 2
backend, move to Stores ? Configuration ?
Meetanshi ? Custom Promo Conditions where you can
find various settings to configure the
extension. - Custom Promo Conditions Enable the Custom Promo
Conditions extension from here.
- Set Custom Promo Conditions
- After saving the configuration, you have to set
custom promo conditions based on purchase
history, customer attributes and advanced
attributes. Move to Marketing ? Cart Price Rules,
click to add new rule. Under the conditions tab,
you can set conditions to offer promotion based
on purchase history, customer attributes and
advanced attributes. - Custom Promo Conditions based on Purchase History
- The extension facilitates to offer discount and
set custom promotion conditions based on
purchase history attributes like number of
completed order and total sales amount. Select
one of the attributes to offer discount and
configure other cart price rule settings.
Custom Promo Conditions for Magento 2
Meetanshi
4- Custom Promo Conditions based on Customer
Attributes - The extension facilitates to offer discount and
set custom promotion conditions based on
customer attributes like gender, first name,
membership days, customer group and many - others. Select one of the attributes to offer
discount and configure other cart price rule
settings. - Note For Date of Birth customer attribute, use
dd/mm/yyyy format.
Custom Promo Conditions for Magento 2
Meetanshi
5- Custom Promo Conditions based on Advanced
Attributes - The extension facilitates to offer discount and
set custom promotion conditions based on
advanced attributes like weight, quantity in
stock, billing address country, shipping address - line, city and store view currency. Select one of
the attributes to offer discount and configure
other cart price rule settings. - Note For Shipping Address Line advanced
attribute, use street1, street2, street3 format.
Custom Promo Conditions for Magento 2
Meetanshi
64. Custom Promo Conditions in frontend After the
successful configuration of Custom Promo
Conditions, whenever a user adds a product to
cart, he can see the discount applied based on
the custom promo condition his order satisfies.
Custom Promo Conditions for Magento 2
Meetanshi